Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Uipath troubleshoot/Presenting
Reference · Uipath troubleshoot

Presenting

Part of Uipath troubleshoot. Install the skill and your agent reads this page when it needs the depth.

Presenting the Resolution

Rules for the final user-facing resolution — formatting, entity naming, cross-domain fix completeness, evidence gating, and interactive fixes. Load this file when the verification checklist has passed (or a reduced-confidence / diagnostic-recommendation terminal applies) and you are ready to present.

Inputs

1. Load presentation rules

For each domain in the causal chain, read references/products/{domain}/presentation.md or references/activity-packages/{domain}/presentation.md if it exists. These define entity naming and field labels.

2. Assemble fixes across all domains

Classify each domain in the causal chain: root cause domain (failure originated) or propagation domain (failure surfaced or was relayed).

Root cause domain

  1. Matched playbook's ## Resolution — if present, use the branch keyed to the verified cause.
  2. No ## Resolution — run uip docsai ask targeted at the domain's fix. Use the result if concrete and actionable.
  3. Docsai returns nothing useful — write: "No documented fix found for the {domain} layer — check UiPath documentation or consult UiPath support."

Propagation domains

For each domain that relayed or surfaced the fault:

  1. Matched playbook's ## Resolution — if present, use it.
  2. Otherwise run uip docsai ask for that domain's error-handling / resilience patterns. Frame the query around the domain's role, not the specific root cause (e.g., "error boundary events for service tasks in Maestro", "retry policies for faulted jobs in Orchestrator", "fallback configuration for Integration Service connectors").
  3. Concrete pattern found → include as a preventive fix for that layer, citing the docsai result.
  4. Nothing useful → write: "No documented error handling pattern found for the {domain} layer — check UiPath documentation for resilience options."

Do NOT write "No configuration change needed" for a propagation domain. Every domain in the causal chain gets either a fix or an explicit no-documented-pattern note.

Source gating

Every fix step cites its source (playbook section, docsai result, or raw data file).

Discriminator carry

The final answer states the discriminating datum, not just the verdict:

3. Format

Root Cause: {description}

What went wrong: {one sentence}

Why: {root cause explanation — trace the full causal chain across all domains}

Evidence:

### {Domain} (Root Cause)
- {bullets — quote specific field values, error messages, IDs, timestamps, state, per this domain's presentation rules}

### {Domain} (Propagation)
- {bullets}

Immediate fix:

### {Domain} (Root Cause)
1. {What to do — concrete action with exact navigation path or command}
  - Why: {cite evidence that makes this step necessary}
  - Where: {exact file, UI path, setting, or command}
  - Who: {RPA developer | admin | platform team | process owner, or the owner labels the domain's presentation.md defines}
  - Source: {playbook path or docsai URL}

### {Domain} (Propagation)
1. {same structure}

Preventive fix:

1. {Domain} -- {What to change — concrete action}
  - Why: {cite specific evidence showing the gap this fix addresses}
  - Where: {exact file, UI path, setting}
  - Who: {RPA developer | admin | platform team}
  - Source: {playbook path or docsai URL}
2. {next domain, same structure}

Next action:

- Repair: {step numbers and Who:}
- Re-check (not run): `{command}`
- Later decision: {action}

Next action

When a root cause is confirmed, the resolution ends with, in this order:

  1. Repair, by owner — a change to the faulty artifact or setting: source, workflow (including migrating it to other activities or packages), config, binding, permission, connection. Name the Immediate fix steps by number, each with its Who:; Immediate fix itself lists no Later decision step. A Repair step is advice for its owner; never run it unasked. Omit this line when every fix step is a Later decision; the Re-check then leads.
  2. Re-check (not run) — one line naming one read-only command that shows the run's current state before the later decision (e.g. uip or jobs get <JOB_KEY> --no-download --output json, uip maestro <type> instance incidents <INSTANCE_ID> --folder-key <FOLDER_KEY> --output json), entity ID filled in. A faulted run stays faulted after the repair: the read shows the state the later decision acts on, not that the repair worked. Copy it in its documented form from the investigation guide or the matched playbook. Name it; do NOT run it. No run to read, or no such command documented in the investigation guide or the matched playbook (e.g. Assistant sign-in, local dev-server failures) → omit this line; never compose one.
  3. Later decision — any action that runs, publishes or deploys something (run, retry, resume, restart, instance migrate, upload, publish, deploy; first time or again), on its own line as the user's call after the re-check, unless the matched playbook's ## Resolution prescribes that action alone as the fix for the confirmed cause (transient fault) — then it is the repair. On a Maestro instance, retry, resume and migrate are always a Later decision. A run, publish or deploy that follows another fix step is a Later decision: split it out of bundled playbook text. Exception: a restart whose only purpose is to load the setting the preceding fix step changed (service, app or dev-server restart) stays in the Repair. Nothing deferred → omit this line.

The closing message and any written diagnosis file carry every Next action line that applies. In the closing message, the Later decision stays its own line after the Re-check, never an item in a numbered next-steps list.

Reduced-confidence terminal (checklist gap survived the re-fetch): present the same structure, name the gap explicitly next to the cause statement, and lead the Immediate fix with the playbook's diagnostic recommendation (e.g., a byte-compare snippet) instead of a guessed branch. In Next action, the Repair is that diagnostic; give no Later decision. Recommending the discriminating diagnostic IS the deliverable when evidence cannot separate sibling causes — never silently pick one.

No root cause found (exempt from Next action): present what was investigated and ruled out (from notes.md), and recommend providing more data or opening a UiPath support ticket.

4. Apply presentation rules

Check every entity name against the presentation guides and raw data:

5. Investigation summary table

# What was checked Verdict Key Evidence Resolution

One row per playbook/branch/candidate checked (from notes.md), including eliminated ones.

6. Interactive resolutions — the approval gate

If a matched playbook's ## Resolution is interactive — it prescribes printing concrete values and asking the user before applying a fix (the Healing Agent apply-fix flow via activity-packages/ui-automation/interpretations/healing-agent-data.md is the canonical example) — execute this protocol after presenting. This applies even when the cause label was refined or downgraded: cause label and remediation path are separable; the playbook's remediation procedure remains authoritative.

For each interactive action, in order:

  1. Print the user-facing data as plain text — NOT inside AskUserQuestion options or previews. E.g. for a selector fix:

    Failed selector:
    {failed_selector_xml from raw data}
    
    Recovered Partial selector:
    {recovered_partial_selector_xml — or "(not available)"}
    
    Recovered Fuzzy selector:
    {recovered_fuzzy_partial_selector_xml — or "(not available)"}
    
  2. Print required warnings verbatim. E.g. when OrchestratorEnableHeal=false: "Healing Agent was running in recommendation-only mode (OrchestratorEnableHeal=false) — the recovered selector was inferred from the UI tree after the failure but was not validated at runtime. There is no guarantee it will work." Analogous wording for RecoverySuccessful=false.

  3. Ask via AskUserQuestion — the exact apply/dismiss question, plus a project-path follow-up if the path is not already known.

  4. On accept: delegate the apply — never edit the artifact yourself. Spawn a subagent that loads the artifact's owning skill (.xaml/.cs→uipath-rpa, which itself drives the package-bundled selector-recovery flow) and hand it the confirmed change: the workflow file, the activity matched by ActivityRefId, the before→after value, and project_dir. The delegate edits in place at project_dir (the user's real working copy — do NOT spawn it into a fresh isolated worktree, which forks a throwaway copy the edit never reaches), applies any XML encoding, and validates (uip rpa validate --file-path "<WORKFLOW_FILE>" --output json) — you run none of those steps and no write-back CLI. After the delegate applies, the confirmation message must restate the confirmed root cause and the complete resolution — it must stand alone as the investigation's summary for a user returning to only that message; never let it read as if the applied edit were the primary or only fix.

  5. On decline, non-answer, unavailable AskUserQuestion, no usable delegate, or a delegation that fails/errors: do not modify files. Present the proposed edit as plain text and stop — a missing/failed approval or a failed delegation is never permission to edit the artifact yourself. If a delegation errored or was spawned more than once, verify whether the edit already landed by reading the target file before doing anything else; never self-edit to "finish" or redo a delegate's work.

Pull every value from raw data. A required value missing (e.g., recovered_partial_selector_xml) → do NOT fabricate; surface the action as blocked, naming the missing evidence, and offer it as a follow-up.

Boundaries

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.