@uipath/skills 1.207.0-preview.2188 → 1.207.0-preview.2232
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODEOWNERS +1 -0
- package/package.json +1 -1
- package/skills/uipath-agents/SKILL.md +1 -1
- package/skills/uipath-agents/references/coded/lifecycle/setup.md +1 -1
- package/skills/uipath-coded-apps/references/commands-reference.md +2 -2
- package/skills/uipath-coded-apps/references/pack-publish-deploy.md +1 -1
- package/skills/uipath-functions/SKILL.md +1 -1
- package/skills/uipath-governance/SKILL.md +1 -1
- package/skills/uipath-insights/SKILL.md +1 -1
- package/skills/uipath-maestro-bpmn/SKILL.md +1 -0
- package/skills/uipath-maestro-bpmn/references/bpmn-runtime.md +16 -7
- package/skills/uipath-maestro-bpmn/references/connectors.md +5 -5
- package/skills/uipath-maestro-bpmn/references/draft-skeleton.md +6 -2
- package/skills/uipath-maestro-bpmn/references/final-report-template.md +3 -1
- package/skills/uipath-maestro-bpmn/references/gate-reply-template.md +3 -3
- package/skills/uipath-maestro-case/references/case-runtime.md +17 -0
- package/skills/uipath-maestro-flow/examples/SeedPacketReader.flow.ts +2 -6
- package/skills/uipath-maestro-flow/references/CLI-LOOP.md +1 -1
- package/skills/uipath-maestro-flow/references/agent.md +5 -1
- package/skills/uipath-maestro-flow/references/agentic-process.md +6 -2
- package/skills/uipath-maestro-flow/references/api-workflow.md +6 -2
- package/skills/uipath-maestro-flow/references/brownfield.md +2 -1
- package/skills/uipath-maestro-flow/references/document-pipeline.md +30 -11
- package/skills/uipath-maestro-flow/references/extract-document-taxonomy.md +17 -3
- package/skills/uipath-maestro-flow/references/or-processes.md +29 -0
- package/skills/uipath-maestro-flow/references/published-function.md +6 -2
- package/skills/uipath-maestro-flow/references/rpa-workflow.md +5 -1
- package/skills/uipath-platform/SKILL.md +2 -0
- package/skills/uipath-platform/references/data-fabric/data-fabric.md +1 -1
- package/skills/uipath-platform/references/data-fabric/local-entities.md +1 -1
- package/skills/uipath-platform/references/integration-service/activities.md +2 -2
- package/skills/uipath-platform/references/integration-service/activity-generation/standard-resource.md +2 -2
- package/skills/uipath-platform/references/integration-service/activity-generation.md +1 -1
- package/skills/uipath-platform/references/integration-service/triggers.md +2 -2
- package/skills/uipath-review/SKILL.md +1 -1
- package/skills/uipath-solution/SKILL.md +2 -2
- package/skills/uipath-troubleshoot/SKILL.md +2 -2
- package/version-manifest.json +1 -1
package/CODEOWNERS
CHANGED
|
@@ -303,4 +303,5 @@
|
|
|
303
303
|
# Vertical Solutions skill (uip vss deploy)
|
|
304
304
|
/skills/uipath-vertical-solutions/ @sandeeprao-uipath @UiPath/vertical-service-approvers
|
|
305
305
|
/tests/tasks/uipath-vertical-solutions/ @sandeeprao-uipath @UiPath/vertical-service-approvers
|
|
306
|
+
/tests/tasks/activation/uipath-vertical-solutions.jsonl @sandeeprao-uipath @UiPath/vertical-service-approvers
|
|
306
307
|
/skill-flavors/studioweb/uipath-vertical-solutions/ @sandeeprao-uipath @UiPath/vertical-service-approvers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/skills",
|
|
3
|
-
"version": "1.207.0-preview.
|
|
3
|
+
"version": "1.207.0-preview.2232",
|
|
4
4
|
"description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "UiPath"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-agents
|
|
3
|
-
description: "
|
|
3
|
+
description: "UiPath Agents of all types — end-to-end work: build, integrate with UiPath Products (e.g., Orchestrator, Flow, Maestro), design with UiPath Tools (e.g., Agent Builder/Studio Web), deploy, and configure/validate. Covers Coded Agents (e.g., LangGraph, LlamaIndex, OpenAI Agents) and Low-Code Agents (`agent.json` / Agent Builder). For deterministic Coded Functions — Python or JS/TS (`uip function`, `uipath.json` functions map, no agent runtime/LLM)→uipath-functions."
|
|
4
4
|
when_to_use: "Must use when user mentions or implies any Agent lifecycle phase - e.g., auth, design, scaffold, Studio Web sync, flow integration, editing, pack/deploy/version bump, eval, debug, tracing, guardrails, memory spaces, bindings, attachments. Example requests: 'create/build a UiPath agent', 'build a low-code / Agent Builder agent', 'add agent memory spaces', 'build a coded / Python agent (LangGraph / LlamaIndex / OpenAI Agents)', 'scaffold an agent project', 'run / debug / evaluate / deploy my agent'."
|
|
5
5
|
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion, WebFetch
|
|
6
6
|
user-invocable: true
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
python --version # 3.11, 3.12, or 3.13
|
|
7
|
-
which uv > /dev/null 2>&1 || echo "install uv:
|
|
7
|
+
which uv > /dev/null 2>&1 || echo "install uv: python -m pip install uv (externally-managed Python: pipx install uv)"
|
|
8
8
|
which uip > /dev/null 2>&1 || echo "install uip/runtimes: curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash"
|
|
9
9
|
```
|
|
10
10
|
|
|
@@ -117,7 +117,7 @@ uip codedapp pack <dist> [options]
|
|
|
117
117
|
| `<dist>` | Path to build output directory | **Required** |
|
|
118
118
|
| `-n, --name <name>` | Package name | Prompted interactively |
|
|
119
119
|
| `-v, --version <version>` | Package version | `1.0.0` |
|
|
120
|
-
|
|
|
120
|
+
| `--output-dir <dir>` | Output directory for `.nupkg` | `./.uipath` |
|
|
121
121
|
| `--author <author>` | Package author | `UiPath Developer` |
|
|
122
122
|
| `--description <text>` | Package description | Prompted |
|
|
123
123
|
| `--main-file <file>` | Main entry file | `index.html` |
|
|
@@ -134,7 +134,7 @@ uip codedapp pack dist
|
|
|
134
134
|
uip codedapp pack dist -n my-webapp --version 2.0.0
|
|
135
135
|
|
|
136
136
|
# Pack to a custom output directory
|
|
137
|
-
uip codedapp pack dist -
|
|
137
|
+
uip codedapp pack dist --output-dir ./packages
|
|
138
138
|
|
|
139
139
|
# Preview packaging without creating the file
|
|
140
140
|
uip codedapp pack dist --dry-run
|
|
@@ -39,7 +39,7 @@ uip codedapp pack dist -n my-webapp --version 1.0.0 --author "My Team" --descrip
|
|
|
39
39
|
| `<dist>` | Path to build output directory | **Required** |
|
|
40
40
|
| `-n, --name <name>` | Package name | Prompted |
|
|
41
41
|
| `-v, --version <version>` | Package version | `1.0.0` |
|
|
42
|
-
|
|
|
42
|
+
| `--output-dir <dir>` | Output directory for `.nupkg` | `./.uipath` |
|
|
43
43
|
| `--author <author>` | Package author | `UiPath Developer` |
|
|
44
44
|
| `--description <desc>` | Package description | Prompted |
|
|
45
45
|
| `--main-file <file>` | Main entry file | `index.html` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-functions
|
|
3
|
-
description: "UiPath Coded Functions — deterministic Python or TypeScript/JavaScript units built with the `uip function` CLI (`new -l py|ts|js`, `init`, `serve`, `run`, `pack`, `publish`); the `functions` map in `uipath.json` marks the project. Python: Pydantic Input/Output models, lazy `UiPath()` SDK singleton. JS/TS: `defineFunction` + `defineSchema
|
|
3
|
+
description: "UiPath Coded Functions — deterministic Python or TypeScript/JavaScript units built with the `uip function` CLI (`new -l py|ts|js`, `init`, `serve`, `run`, `pack`, `publish`); the `functions` map in `uipath.json` marks the project. Python: Pydantic Input/Output models, lazy `UiPath()` SDK singleton. JS/TS: `defineFunction` + `defineSchema()` contracts typed by a TS interface, HTTP endpoints for Coded App backends or run-as-job, `FunctionError`. Rule-based logic, data transforms, ERP/Integration Service calls — invoked as Maestro Service Tasks, from agents, via Orchestrator `POST /Jobs/StartJobs`, or HTTP triggers; no LLM reasoning or agent loop. For LLM/agentic projects (LangGraph, LlamaIndex, OpenAI Agents, `agent.json`)→uipath-agents. For the Coded App frontend itself (React app code, PKCE setup, app deploy)→uipath-coded-apps."
|
|
4
4
|
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-governance
|
|
3
|
-
description: "UiPath governance via `uip gov` — author, deploy, and diagnose policies on three layers. AOps product policies (`uip gov aops-policy`): block/restrict/enforce features in Studio, StudioX, Assistant, Robot, AI Trust Layer, Agent Builder; deploy to user/group/tenant. Access ToolUsePolicy (`uip gov access-policy`): allow/deny when one workflow invokes another as a tool (Agent→Agent/Maestro/Flow/RPA/API/Case), gated by tag, caller, or actor (User/Group). Compliance Standards (ISO 42001, ISO 27001): check posture and configure recommended settings across products in one operation. Operate: deploy/undeploy, query effective deployed policy. Diagnose: policy not taking effect, deployment precedence (user
|
|
3
|
+
description: "UiPath governance via `uip gov` — author, deploy, and diagnose policies on three layers. AOps product policies (`uip gov aops-policy`): block/restrict/enforce features in Studio, StudioX, Assistant, Robot, AI Trust Layer, Agent Builder; deploy to user/group/tenant. Access ToolUsePolicy (`uip gov access-policy`): allow/deny when one workflow invokes another as a tool (Agent→Agent/Maestro/Flow/RPA/API/Case), gated by tag, caller, or actor (User/Group). Compliance Standards (ISO 42001, ISO 27001): check posture and configure recommended settings across products in one operation. Operate: deploy/undeploy, query effective deployed policy. Diagnose: policy not taking effect, deployment precedence (user overrides group overrides tenant), blocked tool invocations. For platform ops→uipath-platform."
|
|
4
4
|
allowed-tools: Bash, Read, Write, Edit, Grep, Glob
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-insights
|
|
3
3
|
description: "UiPath Insights historical monitoring via `uip insights`: job metrics, failure analysis, and process performance; queue totals, SLA risk, timelines, and failure drill-down; machine availability, fault ranking, and runtime minutes; filter discovery of scope; alert definition, history, delivery, and entitlement reads; Insights user, role, and group reads; Maestro process dashboard reads and writes; export destination checks; Looker dashboard lists and embed URLs. For live Orchestrator records or job start/stop/logs→uipath-platform, root-cause analysis→uipath-troubleshoot, workflow authoring→uipath-rpa, org identity→uipath-admin."
|
|
4
|
-
when_to_use: "User says 'job failures', 'automation health', 'job success rate', 'processing time', 'which processes fail the most', 'failure reasons', 'job trends', 'how many jobs ran', 'job metrics or KPIs', 'job timeline', 'process details', 'discover queues', 'which machines reported', 'queue backlog', 'queue SLA', 'why are queue items failing', 'queue retry success', 'machine utilization, availability, or status', 'process dashboard', 'create, update, delete, or copy a dashboard', 'Insights alert', 'which alerts exist', 'alert history or delivery', 'did an alert fire', 'alerting entitlement', 'who has Insights access', 'Insights roles or groups', 'export destination', 'is our export working', 'which Looker dashboards',
|
|
4
|
+
when_to_use: "User says 'job failures', 'automation health', 'job success rate', 'processing time', 'which processes fail the most', 'failure reasons', 'job trends', 'how many jobs ran', 'job metrics or KPIs', 'job timeline', 'process details', 'discover queues', 'which machines reported', 'queue backlog', 'queue SLA', 'why are queue items failing', 'queue retry success', 'machine utilization, availability, or status', 'process dashboard', 'create, update, delete, or copy a dashboard', 'Insights alert', 'which alerts exist', 'alert history or delivery', 'did an alert fire', 'alerting entitlement', 'who has Insights access', 'Insights roles or groups', 'export destination', 'is our export working', 'which Looker dashboards', 'embed URL', 'uip insights', or 'insights queues'. NOT for alert/RBAC/export writes; live job lists or resource CRUD→uipath-platform; debugging one job/item→uipath-troubleshoot."
|
|
5
5
|
allowed-tools: Bash, Read
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -29,6 +29,7 @@ need, then let TypeScript and `bpmn check` provide the detailed contract.
|
|
|
29
29
|
9. Retry a failing activity with its `retry` option ([Retry](references/bpmn-runtime.md#events-and-timers)), never a drawn loop of gateways, timers or `.goto()`.
|
|
30
30
|
10. Pick an Orchestrator node by the target's `ProcessType`, never by its label ([Orchestrator work](references/bpmn-runtime.md#http-and-orchestrator-work)).
|
|
31
31
|
11. A process returns only what its end event maps: compute into a `.var()` and map it onto each `.output()` in the `BPMN.Variables` payload of every end event that finishes the process (root scope, not a sub-process body); a task that writes an `.output()` directly returns `null` to the caller, and every check passes. Likewise a step reads an `.input()` only through the start event: read the `.var()` that event's `BPMN.Variables` payload maps it into (add the row and a `.var()` scoped to the start event when none exists); a later `vars.<inputId>` read is "A variable is unresolved" on the canvas and at most a `VARIABLE_NOT_SET` warning in `validate` ([Process contract](references/bpmn-runtime.md#variables-and-the-process-contract)).
|
|
32
|
+
12. Fix every `validate` warning whose cause is in the process, in the same edit as its errors; never add a step, or change an input, default or path, only to silence one. Fix each warning once: when the next `validate` still prints it, keep it, and never edit or rerun for it again. An `[(xml)] unknown attribute` line on compiled output gets no edit and no report; report every other kept warning as the [final report](references/final-report-template.md#the-reply) says; never call one non-blocking or optional. A draft skeleton follows [its own rule](references/draft-skeleton.md#expected-findings--do-not-chase-them) until *Build it*.
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
## Workflow
|
|
@@ -153,6 +153,10 @@ make from syntax alone. Exact signatures remain in the generated API.
|
|
|
153
153
|
`.activity(id, 'BPMN.ScriptTask', …)` is refused too (`BPMN_ACTIVITY_SCRIPT_TASK_TYPE`); write the script with `.scriptTask()`.
|
|
154
154
|
Needs `@uipath/maestro-builder-sdk` 6.93.8 or later; an older SDK writes whatever `type` says, so upgrade with `npm install -g @uipath/maestro-builder-sdk@latest`.
|
|
155
155
|
|
|
156
|
+
<!-- RULE:bpmn.script.ts-string-escapes -->
|
|
157
|
+
- A `script` (and any `=js:` value) is a TypeScript string, so TypeScript reads its escapes before the runtime does, whatever the quotes: `\n` inside a quoted (`'…'`/`"…"`) string in the script becomes a real newline and the run faults `300501` "Invalid or unexpected token" though `check` and `validate` pass; `\d` in a regex silently becomes `d`.
|
|
158
|
+
Double every backslash the script needs (`\\n`, `\\d`); inside backticks also escape `\${` and `` \` ``.
|
|
159
|
+
|
|
156
160
|
<!-- RULE:bpmn.script.error-row -->
|
|
157
161
|
- "Typed error handling" on a script task means the task-scoped `Error` output row: `source: '=Error'`, type `jsonSchema`, writing a variable whose schema is the platform error envelope.
|
|
158
162
|
It is not an error boundary or a second end event, which change the graph.
|
|
@@ -433,24 +437,29 @@ binding half, which is the same for every connector-backed node.
|
|
|
433
437
|
With no `folder`, `prepare` searches every folder: it records a single match and names the folder to pin, and lists several without picking one.
|
|
434
438
|
- `entity.folder` is the folder holding the ENTITY; the `folder` option stays the folder holding the CONNECTION.
|
|
435
439
|
They are often the same folder and are still two options.
|
|
436
|
-
- The record operations
|
|
437
|
-
|
|
440
|
+
- The record operations then write the connector's `_V3` operation (`CreateEntityRecord_V3`, …), the only one that takes a folder.
|
|
441
|
+
`create`, `update`, `get` and `query` are the V2 task Studio Web's connector panel saves: `folderEntityName` is a solution-resource picker on the entity's two `resource="entity"` bindings, which the task reads, so a deploy can re-point the entity.
|
|
442
|
+
`delete` is a V1 task with `entityScope=folder`, `folderEntityName` and `folderEntityName_folderKey` query rows, the two bindings beside it; its V2 form cannot be built yet.
|
|
443
|
+
Needs `@uipath/maestro-builder-sdk` 6.122.0 or later; an older SDK writes every record operation on a folder entity as a V1 task, which still validates and runs, so upgrade with `npm install -g @uipath/maestro-builder-sdk@latest` and compile again when a V2 task is asked for; do not hand-convert its rows.
|
|
438
444
|
A tenant entity's record operations are V2 tasks on the curated operations (`CreateEntityRecordCurated`, `UpdateEntityRecordV2`, `GetEntityRecordByIdCurated`, `QueryEntityRecordsCurated`, `DeleteEntityRecordCurated`), with the entity in the `pathParameters` row.
|
|
439
445
|
Run `uip maestro bpmn refresh <project>` after `compile`, then, when the project has a solution, `uip solution resources refresh --solution-folder <SolutionDir>` (the folder holding the `.uipx`, `<Name>Solution/` in the default scaffold): the first turns the two bindings into the entity's row in `bindings_v2.json`, and the second declares the entity in the solution.
|
|
440
446
|
Do not hand-fill the task through `.activity()`, and do not pass a folder entity's name as a plain `entity` string: that writes the tenant-scope operation, which validates but does not address the folder entity.
|
|
441
447
|
- `entity: { name, folderKey }` is for a folder key already in hand.
|
|
442
|
-
It
|
|
443
|
-
|
|
448
|
+
It resolves the same way: `check` prints `uip maestro registry prepare --entity <name> --folder-key <key>`, which records the entity's own key; run it, then `check` again.
|
|
449
|
+
If `uip` answers `unknown option '--folder-key'`, the `uip` in use predates the flag: run the same command as `npx flow-sdk registry prepare --entity <name> --folder-key <key>`.
|
|
450
|
+
If `uip` says `--folder-key` needs a builder SDK release that supports it, or `npx flow-sdk` answers `unknown option '--folder-key'`, the SDK predates the flag: name the folder by path with `{ name, folder }` instead, which needs no `--folder-key`.
|
|
451
|
+
A folder key written as an `=`-expression cannot be recorded, so it writes the V1 task and declares nothing in the solution; prefer `{ name, folder }`.
|
|
452
|
+
A decompiled process shows a folder-entity task as an `.activity()` with its rows and the entity's two bindings, with or without the connector library: a `.connector()` call would drop the picker, so decompile keeps the task as it is, and it compiles back unchanged.
|
|
444
453
|
- The file operations (`downloadFile`, `uploadFile`, `deleteFile`) refuse a folder-scoped entity; there is no SDK form for them yet.
|
|
445
454
|
Tell the user the file operation is not supported on a folder-scoped entity; do not fall back to a plain entity name, which addresses a tenant-level entity instead, or hand-fill `.activity()`.
|
|
446
|
-
-
|
|
447
|
-
|
|
455
|
+
- Do not add entity bindings by hand: compile writes the pair.
|
|
456
|
+
A V2 task reads it, so its entity can be re-pointed per environment at deploy; a `delete` task's entity is fixed at compile time.
|
|
448
457
|
|
|
449
458
|
<!-- RULE:bpmn.connector.parameter-rows -->
|
|
450
459
|
- `.connector()`, `.dataService()`, `.eventTrigger()` and `.waitForEvent()` write a V2 task (`activityConfigurationVersion: v2`), the shape Studio Web's connector panel saves and `uip maestro bpmn registry get --input-details` builds.
|
|
451
460
|
Needs `@uipath/maestro-builder-sdk` 6.84.0 or later; an older SDK writes a new `.connector()` task with one `target="path"` / `target="query"` row per parameter and an `operation` context row, so upgrade with `npm install -g @uipath/maestro-builder-sdk@latest` and compile again; do not hand-convert its rows.
|
|
452
461
|
Its path parameters are one json row, `pathParameters` (`target="pathParameters"`), and its query parameters another, `queryParameters` (`target="queryParameters"`), each keyed by the library's own parameter names (`send_as`, not `sendAs`); the request body is the one json `target="body"` row, and a multipart file part is its own `target="file"` row.
|
|
453
|
-
`.dataService()`
|
|
462
|
+
`.dataService()` still writes V1 tasks for the file operations (`downloadFile`, `uploadFile`, `deleteFile`), and on a folder-scoped entity for `delete` and for a folder key written as an `=`-expression (see the folder-entity rule above).
|
|
454
463
|
- An imported process can also carry V1 tasks, with one `target="path"` / `target="query"` row per parameter and an `operation` context row.
|
|
455
464
|
Leave them as they are: a task you add beside them is V2, and a file may mix the two.
|
|
456
465
|
Leave the process-level `uipath:intsvcActivityConfig` marker as you found it, as `registry get --input-details` instructs: a new workflow from `bpmn init` has it, and an existing workflow without it needs none.
|
|
@@ -123,10 +123,10 @@ uip is connections ping <CONNECTION_ID> --output json # Data.Sta
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
- With several Enabled matches, `prepare` refuses and lists them; re-run it with `--connection-id <CONNECTION_ID>` (or `--connection <CONNECTION_NAME>`, `--connection-folder <FOLDER>`). It never picks the default connection for you. Ask the user which one when the request does not say; when the request says nobody will answer, bind the Enabled match in the folder the process runs in, else the one with `IsDefault: Yes`, else the first one listed, skipping every connection the next bullet rules out (including the requester's own personal one), and name it on the final report's `Assumed:` line.
|
|
126
|
-
- A connection is a sender's identity. Never bind, or offer on an outline,
|
|
127
|
-
|
|
128
|
-
mailbox, channel or account the request names (`ar@…`) that has no connection.
|
|
129
|
-
only when they say to.
|
|
126
|
+
- A connection is a sender's identity. Never bind, or offer on an outline, another person's personal connection (its folder is `<USER_NAME>'s workspace`).
|
|
127
|
+
A connection in a shared folder belongs to the team whoever its `Owner` is, even when its Name is an email: it is a normal candidate, chosen by the bullet above. "Use whatever exists" means nobody will answer which one.
|
|
128
|
+
Never bind any connection as a stand-in for a mailbox, channel or account the request names (`ar@…`) that has no connection.
|
|
129
|
+
Bind the requester's own personal connection only when they say to, or pick *Build it* on a draft gate that named it. When no connection is left to bind, leave the step unbound (§7) and name the missing connection on `Needs:`.
|
|
130
130
|
- `prepare` refuses a connection that is not Enabled; `check`, `compile` and `refresh` do not. `validate` reports it as `MISSING_BINDING`, and `debug` faults with `[102002] Integration Services operation failed`. Never bind one: ask the user to re-authenticate it.
|
|
131
131
|
- `prepare`'s JSON `Message` keeps only the last line of its explanation; read stderr for the full refusal.
|
|
132
132
|
- Report the bound connection by Name and Folder, from the `connections list` row whose `Id` is `prepare`'s `Data.ConnectionId` (`Owner` is a user id, not a name).
|
|
@@ -199,7 +199,7 @@ For a generic record verb (`Create Record`, `Delete Record`), the catalog row's
|
|
|
199
199
|
## 5. Data Fabric is not this
|
|
200
200
|
|
|
201
201
|
Data Fabric (Data Service) records and file fields are `.dataService(id, { entity, connection, folder, op, … })`, one of eight operations.
|
|
202
|
-
A folder-scoped entity is `entity: { name, folder: '<folder path>' }`, which writes the connector's `_V3` operation once `check`'s `prepare` has recorded its keys; see [the folder-entity rule](bpmn-runtime.md#connectors-and-bindings).
|
|
202
|
+
A folder-scoped entity is `entity: { name, folder: '<folder path>' }`, which writes the connector's `_V3` operation once `check`'s `prepare` has recorded its keys: `create`, `update`, `get` and `query` as the V2 task Studio Web saves, `delete` as a V1 task; see [the folder-entity rule](bpmn-runtime.md#connectors-and-bindings) for these and the other V1 cases.
|
|
203
203
|
The library ships one Data Service operation, so `.connector()` cannot author the rest, and a hand-filled `.activity()` gets `objectName`, the parameter targets and the folder binding wrong in ways `validate` does not report.
|
|
204
204
|
See [Connections and bindings](bpmn-runtime.md#connectors-and-bindings) and `examples/ContractRegistry.bpmn.ts`.
|
|
205
205
|
|
|
@@ -235,7 +235,8 @@ It is the turn's last tool call: before it, read [gate-reply-template.md](gate-r
|
|
|
235
235
|
Prefer `State: Enabled`; among those, the folder the step names, then `IsDefault: Yes`.
|
|
236
236
|
An empty result for a box's service marks the box `none yet`; never say the tenant has no such connection.
|
|
237
237
|
- **Business rules:** `uip rules list --all-folders --limit 10000 --output-filter "[].{Name:Name,FolderPath:FolderPath}" --output json`, matched on name and folder path.
|
|
238
|
-
- **Data Fabric entities:** `uip df entities list --include-folders --output-filter "[].{Name:Name,FolderId:FolderId}" --output json`, matched on `Name` alone; the row carries a folder id, not a folder name, so name no folder on the box's line.
|
|
238
|
+
- **Data Fabric entities:** `uip df entities list --include-folders --output-filter "[?contains(Name,'<KEYWORD>') || contains(Name,'<keyword>')].{Name:Name,FolderId:FolderId}" --output json`, matched on `Name` alone; the row carries a folder id, not a folder name, so name no folder on the box's line.
|
|
239
|
+
A tenant holds hundreds of entities, so never list them unfiltered. `contains` is case-sensitive: test each keyword from the box's label as written, capitalized and lowercase, and a plural by its stem (`Compan` for `companies`, matching `Company` and `Companies`), all joined with `||`.
|
|
239
240
|
The box also needs the `UiPath Data Fabric` connection from the connections lookup.
|
|
240
241
|
|
|
241
242
|
Run each lookup exactly as written, adding no flag: `uip` rejects `--output-filter` on `uip solution resources list` without `--limit`, and rejects `--limit` on every `uip is` and `uip df` list.
|
|
@@ -277,7 +278,10 @@ Before you edit it again, download the cloud copy and compare it, as [Check the
|
|
|
277
278
|
When this turn's source was decompiled from the current target (the user's canvas copy), or an earlier `merge` wrote the target, finish through `merge` as for any existing process. Only a skeleton that reached the target through `compile` alone is compiled and formatted again as the loop does: its source carries the `init` stub's decompile stamp, so `merge` refuses it (`MERGE_ORIGINAL_CHANGED`).
|
|
278
279
|
An Action app box becomes an inline-form `.humanTask`, as [Human task outcomes](bpmn-runtime.md#human-task-outcomes) says, never `.humanTask(id, { app })`.
|
|
279
280
|
When the user named an Action App, say under `Assumed` that the task is an inline form, not their app, and that Studio Web can switch it to the app.
|
|
280
|
-
A box the gate marked `none yet` gets a placeholder binding: the
|
|
281
|
+
A box the gate marked `none yet` that runs a process (an RPA workflow, an agent, an API workflow, a function, or a Maestro BPMN, Case or Flow process) gets a placeholder binding pair shaped as [RULE `bpmn.orchestrator.in-solution-process`](bpmn-runtime.md#http-and-orchestrator-work) shows: `value` and `resourceKey` are a short name taken from the box's label (`PilotEmailExtractor`), `resourceSubType` is its `ProcessType` from [RULE `bpmn.orchestrator.process-type`](bpmn-runtime.md#http-and-orchestrator-work) (`Process`, `Agent`, `Api`, `Function`), and the folder binding carries no value.
|
|
282
|
+
Every other `none yet` box (a connector, Data Fabric, Business rule or queue box) stays a bare `.task()`, because `refresh` refuses a connection binding that is not a connection id: a connector or Data Fabric box is named as the second bullet of [Draft with an unresolved connector](connectors.md#7-draft-with-an-unresolved-connector) says, and a Business rule or queue box keeps its gate label.
|
|
283
|
+
The final report lists them under `Needs:` and reads `built, not runnable yet`.
|
|
284
|
+
A connection the gate named is the user's choice once they pick *Build it*, their own personal one included, unless it is another person's or not `State: Enabled` ([connection rules](connectors.md#3-the-loop-author--check--prepare--check--compile)): treat that box as `none yet`.
|
|
281
285
|
An unanswered which-of-two takes the first resource named, reported under `Assumed`.
|
|
282
286
|
A `not checked` box is looked up now, with the commands of [Find the resources](#find-the-resources).
|
|
283
287
|
A real start trigger, a renamed start event or a new entry point now needs `uip maestro bpmn refresh` before `validate`, as [SKILL.md](../SKILL.md#workflow) step 7 says.
|
|
@@ -34,9 +34,11 @@ Never write `(auto mode)` after a draft gate.
|
|
|
34
34
|
Write `, uploaded` only when this turn's upload succeeded, and `, run` only when this turn ran the process with the user's consent.
|
|
35
35
|
When the upload failed, say so in the first line's one sentence.
|
|
36
36
|
|
|
37
|
-
When
|
|
37
|
+
When a tenant resource is missing (no connection, agent, process or queue to bind), even when `validate` passes, the first line writes `not runnable yet` in place of `validated`, and `Needs:` names each missing resource in the user's words, such as `a Slack connection` or `the ticket triage agent`.
|
|
38
38
|
Drop `Needs:` when nothing is missing.
|
|
39
39
|
|
|
40
|
+
Report each `validate` warning you kept as one clause in the user's words that names its input, step or path: on `Needs:` as the tenant resource it needs, on `Assumed:` only with a reason you can point to in the process, otherwise on `Unverified:`. Warnings on the same input or step share one clause. No warning codes or variable ids, and no word about warnings anywhere else in the reply.
|
|
41
|
+
|
|
40
42
|
The path line belongs to this final message.
|
|
41
43
|
A Studio Web link shown earlier in the turn, before a tool call, does not count: write it again here, on its own line.
|
|
42
44
|
When the path line is the local path, write the plain path, such as InvoiceIntake/InvoiceIntake.bpmn, not a Markdown link with the file name as its text and not in backticks.
|
|
@@ -35,8 +35,8 @@ When the path line is the local path, write the plain path, such as InvoiceIntak
|
|
|
35
35
|
|
|
36
36
|
List every task box, in order, including a box that needs no resource, and nothing else: not the start event, a timer, a gateway or the end event.
|
|
37
37
|
A box line is the box's label exactly as its `.task()` name spells it, `→ variable` suffix included, and never a branch condition, an arm label or a route: `- Manager review [Action app]`, not `- Manager review [Action app] (amount 1000 or more)`.
|
|
38
|
-
After the label, write `: ` and exactly one status: the resource's name with its folder, the two candidates
|
|
39
|
-
Give each box one short clause: no element type ids, no build-time plans, and no alternatives for the kind.
|
|
38
|
+
After the label, write `: ` and exactly one status: the resource's name with its folder, the two candidates and the default *Build it* takes (`<A> in <folder> or <B> in <folder>, which one? Build it takes the first`, leaving out ` in <folder>` for a row with no folder name), or one of the fixed phrases `none yet, create it or name one`, `not checked` and `no resource needed`, word for word.
|
|
39
|
+
Give each box one short clause (the which-of-two status is the one two-part form): no element type ids, no build-time plans, and no alternatives for the kind.
|
|
40
40
|
Write `not checked` only for a box whose lookup ran and failed, or when this run found no `uip login`; a box you have not looked up is not a reply line yet, so run its lookup first.
|
|
41
41
|
When a lookup failed, say why once, in the first line's one sentence, not on the box lines.
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ Do not describe the shape in any other form.
|
|
|
46
46
|
Send no `Flow:` or `The shape:` line, no drawn diagram or code block, no line about a gateway, its condition or the variable it reads, no table, no heading and no step log.
|
|
47
47
|
The canvas, or the box lines when there is no upload, already shows the shape, and Autopilot's chat panel is narrow: anything extra pushes the question out of view.
|
|
48
48
|
That also rules out an explanation of a validation warning, a note about a default you chose (beyond the first line's one sentence), and a question of your own (a time zone, which app); anything the user should settle waits for *Change it*.
|
|
49
|
-
A which-of-two resource question is the exception: it goes on its box line, in this same message.
|
|
49
|
+
A which-of-two resource question, with the default *Build it* takes, is the exception: it goes on its box line, in this same message.
|
|
50
50
|
|
|
51
51
|
Before you send it, compare the message with the template line by line and delete every line the template does not have.
|
|
52
52
|
|
|
@@ -35,6 +35,23 @@ make from syntax alone. Exact signatures remain in the generated API.
|
|
|
35
35
|
error. Write the complementary condition explicitly, even when the negative
|
|
36
36
|
arm only routes to a close-out.
|
|
37
37
|
|
|
38
|
+
<!-- RULE:case.action.names-app -->
|
|
39
|
+
- An action task opens an Action App, and `.action({ ... })` with no `app`
|
|
40
|
+
names none. In a plan that binds any other resource, `case check`
|
|
41
|
+
(SDK 6.121.1+) warns `STRICT_BINDINGS_TASK_ABSENT` on it and
|
|
42
|
+
`case validate --strict` fails: the task cannot run. Name the app:
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
.action({ title: 'Approve', recipient: 'approver@corp.com', app: { name: 'ApprovalApp', folder: 'Shared' } })
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
If the app is not published yet, write `t.unresolved('action')` instead and
|
|
49
|
+
fill the task in once it is; do not invent an app name. Brownfield: a
|
|
50
|
+
decompiled quick form (an inline form, no app) is fine as is. `case check`
|
|
51
|
+
does not warn on it, but `case validate --strict` still reports
|
|
52
|
+
`STRICT_BINDINGS_TASK_ABSENT` there (a CLI false positive): keep the quick
|
|
53
|
+
form and do not add an app to silence it.
|
|
54
|
+
|
|
38
55
|
## Action recipients and the go-live trap
|
|
39
56
|
|
|
40
57
|
<!-- RULE:case.recipient.externalize -->
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* It takes no `model` argument: compile gives the step its IDP processor, named after the
|
|
10
10
|
* step's label, and writes the processor's resource file into the solution
|
|
11
|
-
* (references/document-pipeline.md). The taxonomy
|
|
12
|
-
*
|
|
11
|
+
* (references/document-pipeline.md). The taxonomy carries no ids: compile
|
|
12
|
+
* gives every field group and field its stable id.
|
|
13
13
|
*
|
|
14
14
|
* Generic scenario: read the sowing details off a scanned seed packet.
|
|
15
15
|
*/
|
|
@@ -27,22 +27,18 @@ const sowingTaxonomy = {
|
|
|
27
27
|
description: 'The sowing table printed on the back of the packet.',
|
|
28
28
|
additionalProperties: false,
|
|
29
29
|
required: ['Variety', 'Sow Depth Mm', 'Days To Germinate'],
|
|
30
|
-
'x-uipath-field-group-id': '0b6f2e5e-8d1a-4a53-9b2e-6a4a1c2d7f31',
|
|
31
30
|
properties: {
|
|
32
31
|
'Variety': {
|
|
33
32
|
$ref: '#/$defs/ft-exact-text',
|
|
34
33
|
description: 'The variety name as printed on the front.',
|
|
35
|
-
'x-uipath-field-id': '6a1d9c0a-2f4b-4e3c-8a7d-5b9e0c1f2a43',
|
|
36
34
|
},
|
|
37
35
|
'Sow Depth Mm': {
|
|
38
36
|
$ref: '#/$defs/ft-number',
|
|
39
37
|
description: 'The sowing depth in millimetres.',
|
|
40
|
-
'x-uipath-field-id': '9c3b7a51-4d2e-4f60-b18a-7e5d2c0b9f64',
|
|
41
38
|
},
|
|
42
39
|
'Days To Germinate': {
|
|
43
40
|
$ref: '#/$defs/ft-number',
|
|
44
41
|
description: 'How many days germination takes; the upper bound where a range is printed.',
|
|
45
|
-
'x-uipath-field-id': '2e8f4b63-7c1d-4a95-8d02-1a6b3e9c5d87',
|
|
46
42
|
},
|
|
47
43
|
},
|
|
48
44
|
},
|
|
@@ -73,7 +73,7 @@ Both need `@uipath/maestro-builder-sdk` 6.101.0 or later (UiPath/builder-sdk#200
|
|
|
73
73
|
|
|
74
74
|
## Local authoring hard gates
|
|
75
75
|
|
|
76
|
-
Use this section only with emit-only disabled. Use source `check` as the fast no-output loop; with a library and `.flow-sdk/bindings.json` beside the source it reports every connector-input and binding refusal that `compile` would raise. Compile to emit, then run product static check on the artifact. There is no compiled-artifact `check`; `validate` is that rung. `validate`
|
|
76
|
+
Use this section only with emit-only disabled. Use source `check` as the fast no-output loop; with a library and `.flow-sdk/bindings.json` beside the source it reports every connector-input and binding refusal that `compile` would raise. Compile to emit, then run product static check on the artifact. There is no compiled-artifact `check`; `validate` is that rung. `validate` judges connector and other tenant nodes against the node cache `registry pull` wrote for your login (CLI 1.206 and earlier judge built-in nodes against that cache too); after a stale-handle error, run `uip maestro flow registry pull --force` once and validate again. `compile` does not run `check` and writes any serializable flow, so never compile with a `check` error. Ignore only an error whose own message says to ignore it, when applicable (for example `INLINE_AGENT_PROMPT_JSON_TEXT` when JSON is mentioned only as data). For a brownfield edit, add `--baseline <original.flow>` ([brownfield.md](brownfield.md#check-only-what-you-changed-check---baseline)).
|
|
77
77
|
|
|
78
78
|
Run this sequence in order; run `registry prepare` only when `check` names it:
|
|
79
79
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Start a coded or low-code agent and wait for its output. It may be published in Orchestrator or registered as a sibling project in this solution.
|
|
6
6
|
|
|
7
|
-
Signature: `agent({ key?, name, folderPath?, location?, projectId?, inputs, returns?, flavour? })`
|
|
7
|
+
Signature: `agent({ key?, name, folderPath?, location?, projectId?, inputs, inputSchema?, returns?, flavour? })`
|
|
8
8
|
|
|
9
9
|
For a published process, leave `key` and `returns` out: `check` prints the `registry prepare --kind Process` command that records them, and `compile` fills both in ([Orchestrator Processes](or-processes.md#getting-the-inputs-and-outputs)). An in-solution sibling still takes `key`.
|
|
10
10
|
|
|
@@ -161,6 +161,10 @@ instead of copying the two ids:
|
|
|
161
161
|
- An older SDK ignores `project` and refuses the step for its missing key
|
|
162
162
|
(`AGENT_NO_KEY`, `RPA_NO_KEY`, …). Then use the id recipe above.
|
|
163
163
|
|
|
164
|
+
To type an argument differently from its value (for example an object filled
|
|
165
|
+
from an expression), add `inputSchema`; keep one a decompiled step carries. See
|
|
166
|
+
[Orchestrator Processes](or-processes.md#argument-types-inputschema).
|
|
167
|
+
|
|
164
168
|
## Evidence boundary
|
|
165
169
|
|
|
166
170
|
A green live run proves only that a real job received inputs and returned the declared shape, not that the model answer is correct. Preserve the job identity, input/output witnesses, and a scenario-specific semantic assertion; offline seeds should also rule out a hard-coded answer.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Invoke a deployed Maestro agentic process.
|
|
6
6
|
|
|
7
|
-
Signature: `agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, returns? })`
|
|
7
|
+
Signature: `agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, inputSchema?, returns? })`
|
|
8
8
|
`folderPath` is required for a published process; a sibling project of the same solution takes `location: 'in-solution'` and `projectId` instead ([below](#in-solution-sibling)).
|
|
9
9
|
For a published process, leave `key` and `returns` out: `check` prints the `registry prepare --kind Process` command that records them, and `compile` fills both in ([Orchestrator Processes](or-processes.md#getting-the-inputs-and-outputs)). An in-solution sibling still takes `key`.
|
|
10
10
|
|
|
@@ -23,7 +23,7 @@ See [Orchestrator Processes](or-processes.md) and use the `ProcessOrchestration`
|
|
|
23
23
|
|
|
24
24
|
Run a deployed Maestro agentic process synchronously.
|
|
25
25
|
|
|
26
|
-
Signature: `agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, returns?, form?, completion? })`.
|
|
26
|
+
Signature: `agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, inputSchema?, returns?, form?, completion? })`.
|
|
27
27
|
|
|
28
28
|
```ts
|
|
29
29
|
.step('intake', agenticProcess({ name: 'ProcurementProcess', folderPath: 'Shared',
|
|
@@ -57,6 +57,10 @@ through `.onError(...)`. Local replay treats it as dispatch-only.
|
|
|
57
57
|
inputs: { claimId: input('claimId') } }))
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
To type an argument differently from its value (for example an object filled
|
|
61
|
+
from an expression), add `inputSchema`; keep one a decompiled step carries. See
|
|
62
|
+
[Orchestrator Processes](or-processes.md#argument-types-inputschema).
|
|
63
|
+
|
|
60
64
|
## In-solution sibling
|
|
61
65
|
|
|
62
66
|
To call a sibling project of the SAME solution — for example another Flow,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
Run a coded API workflow, deployed or a sibling in the same solution, as a
|
|
6
6
|
serverless Orchestrator job.
|
|
7
7
|
|
|
8
|
-
Signature: `apiWorkflow({ key?, name, folderPath, inputs?, returns? })`, or
|
|
9
|
-
`apiWorkflow({ key, name, location: 'in-solution', projectId, inputs?, returns? })`
|
|
8
|
+
Signature: `apiWorkflow({ key?, name, folderPath, inputs?, inputSchema?, returns? })`, or
|
|
9
|
+
`apiWorkflow({ key, name, location: 'in-solution', projectId, inputs?, inputSchema?, returns? })`
|
|
10
10
|
for an API workflow in the same solution (see [In the same solution](#in-the-same-solution)).
|
|
11
11
|
For a published process, leave `key` and `returns` out: `check` prints the `registry prepare --kind Process` command that records them, and `compile` fills both in ([Orchestrator Processes](or-processes.md#getting-the-inputs-and-outputs)). An in-solution sibling still takes `key`.
|
|
12
12
|
Orchestrator often leaves an API workflow's contract blank, so `prepare` prints `Outputs (not recorded …)`; then keep `returns`, as below.
|
|
@@ -36,6 +36,10 @@ shared, pagination-safe resource-discovery procedure.
|
|
|
36
36
|
`.onError(...)` is supported on API workflow steps. Choose a handler only when
|
|
37
37
|
the scenario wants recovery; otherwise a faulted job may need to fault the Flow.
|
|
38
38
|
|
|
39
|
+
To type an argument differently from its value (for example an object filled
|
|
40
|
+
from an expression), add `inputSchema`; keep one a decompiled step carries. See
|
|
41
|
+
[Orchestrator Processes](or-processes.md#argument-types-inputschema).
|
|
42
|
+
|
|
39
43
|
## In the same solution
|
|
40
44
|
|
|
41
45
|
An API workflow that is a sibling project of the Flow, in the same solution, is
|
|
@@ -303,7 +303,8 @@ Preserved shapes include:
|
|
|
303
303
|
- quick-form asked-field `variable` ([hitl.md](hitl.md));
|
|
304
304
|
- `{ fork }`, `.stepToRef` arms, and pass-through `rawNode` merge ([parallel-merge.md](parallel-merge.md));
|
|
305
305
|
- `core.logic.loop@1.0` `output`/`loopBack` handles through its carried definition;
|
|
306
|
-
- subflow reads of its Start node as `input('<name>')` and subflow `.onError()
|
|
306
|
+
- subflow reads of its Start node as `input('<name>')` and subflow `.onError()`;
|
|
307
|
+
- a process step's `inputSchema` (its saved argument schema; edit a `properties` entry only when you change that argument's type).
|
|
307
308
|
|
|
308
309
|
Findings the source cannot carry print on stderr as `flow-decompile: warning: …`; `--strict` turns each into an error. Edit `.flow` JSON directly only when decompile printed one of these warnings and its case below says to; otherwise edit through merge:
|
|
309
310
|
|
|
@@ -72,22 +72,41 @@ one flow: the next compile overwrites what the commands wrote.
|
|
|
72
72
|
|
|
73
73
|
Both routes need the same taxonomy, and
|
|
74
74
|
[extract-document-taxonomy.md](extract-document-taxonomy.md) is where it is designed and
|
|
75
|
-
written.
|
|
76
|
-
carry a stable id, and `nodes schema set`
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
by
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
written. Write it without ids on either route: every field group and field
|
|
76
|
+
must carry a stable id, and both `nodes schema set` and compile mint them.
|
|
77
|
+
Compile keeps an id the source carries. For an entry with none it takes the
|
|
78
|
+
id the `.flow` it overwrites has for the same name (a group by its key, a field
|
|
79
|
+
by its name within that group), else mints one from that name, so a recompile
|
|
80
|
+
or an unrelated edit keeps it. It prints what it kept and minted:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
compile: "extract" taxonomy ids: 1 group and 2 field id(s) kept, 0 group and 1 field id(s) minted
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Matching is by name, so a rename mints a new id and detaches what is stored
|
|
87
|
+
against the old one. Before a rename, copy the entry's `x-uipath-field-id`
|
|
88
|
+
(or `x-uipath-field-group-id`) from the compiled `.flow` onto the renamed entry
|
|
89
|
+
in the source; decompile prints them, so a decompiled source already has them.
|
|
90
|
+
Treat a minted count after a rename as a dropped id, as `set`'s
|
|
91
|
+
`FieldIdsMinted` ([Reading the output](extract-document-taxonomy.md#reading-the-output)):
|
|
92
|
+
restore the id and recompile. On an SDK
|
|
93
|
+
without builder-sdk#2054, the factory emits the `schema` verbatim and `flow
|
|
94
|
+
validate` warns about every missing id; author with the CLI there.
|
|
82
95
|
|
|
83
96
|
## Schema and outputs
|
|
84
97
|
|
|
85
98
|
`schema` is the extraction taxonomy: an object with `prompt` (the overall
|
|
86
99
|
instructions) and `outputSchema` (the field groups and the field types they
|
|
87
|
-
reference). It is emitted as the node's `schemaDocument`. `
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
100
|
+
reference). It is emitted as the node's `schemaDocument`. `check` refuses the
|
|
101
|
+
content problems `nodes schema set` refuses, each under its own code. A bare
|
|
102
|
+
JSON-Schema object (`properties` alone) or the legacy `{taxonomy, fieldTypes}`
|
|
103
|
+
form is only a warning there (`EXTRACT_TAXONOMY_BARE`, `_LEGACY`), as in `flow
|
|
104
|
+
validate`, but `set` refuses both and the processor gets no fields: fix either
|
|
105
|
+
warning before compiling. The codes are in
|
|
106
|
+
[When it refuses](extract-document-taxonomy.md#when-it-refuses). When `check`
|
|
107
|
+
reports none of these for a broken taxonomy, the SDK is older (no
|
|
108
|
+
builder-sdk#2055) and `flow validate` only warns about a wrong shape. The format, with a worked example, is
|
|
109
|
+
in [extract-document-taxonomy.md](extract-document-taxonomy.md).
|
|
91
110
|
|
|
92
111
|
Classification lands at `out('classify', ...)`. What the node emits at run time
|
|
93
112
|
is a processed document, with the extracted values at `result.output`, one
|
|
@@ -153,7 +153,7 @@ Here's a worked invoice taxonomy example, which illustrates the format specifica
|
|
|
153
153
|
|
|
154
154
|
Each `outputSchema.properties` entry is a group. A single-occurrence group is `"type": ["object", "null"]` with fields directly under `properties`; a repeating group is `"type": "array"` with fields under `items.properties`. Model repeating tables as arrays.
|
|
155
155
|
|
|
156
|
-
Nesting is by property name: `Invoice > Line Items` is a child of `Invoice`; both remain top-level properties, separated by space-greater-than-space. `set` derives and stores the parent back-reference, so do not write it. Start with one document-type group and put each table or section beneath it.
|
|
156
|
+
Nesting is by property name: `Invoice > Line Items` is a child of `Invoice`; both remain top-level properties, separated by space-greater-than-space. `set` derives and stores the parent back-reference, so do not write it. A top-level group names no parent. Start with one document-type group and put each table or section beneath it.
|
|
157
157
|
|
|
158
158
|
### Field types
|
|
159
159
|
|
|
@@ -170,7 +170,7 @@ Fields use `$ref` entries in `outputSchema.$defs`; the node initially provides:
|
|
|
170
170
|
|
|
171
171
|
Carry the whole `$defs` block through unchanged. `set` replaces the document; omitting an entry removes that type, and every `$ref` must resolve within the same block. Prefer a stricter type only when certain; otherwise use `ft-inferred-text`.
|
|
172
172
|
|
|
173
|
-
A Choice is the only type you add; add one only when its complete set of allowed values is small, fixed, and evident from documents or user instructions — a status column, not a description column. Use an `ft-` key with a URL-safe suffix, for example:
|
|
173
|
+
A Choice is the only type you add; add one only when its complete set of allowed values is small, fixed, and evident from documents or user instructions — a status column, not a description column. Use an `ft-` key with a URL-safe suffix (letters, digits, `.`, `_` or `-` only, so the `$ref` naming it needs no escaping) and give every entry a `title`, for example:
|
|
174
174
|
|
|
175
175
|
```json
|
|
176
176
|
"ft-payment-status": { "title": "Payment Status", "type": ["string", "null"], "enum": ["Paid", "Unpaid", "Partially paid"] }
|
|
@@ -196,7 +196,7 @@ These limits are not CLI-enforced but improve extraction:
|
|
|
196
196
|
|
|
197
197
|
## What `set` does for you
|
|
198
198
|
|
|
199
|
-
- **Stable ids:** Groups and fields carry `x-uipath-field-group-id` and `x-uipath-field-id`, used by annotations, evaluator settings, and taxonomy history. First writes mint ids; later writes preserve supplied ids and assign a missing entry the id of the same-named replaced entry.
|
|
199
|
+
- **Stable ids:** Groups and fields carry `x-uipath-field-group-id` and `x-uipath-field-id`, used by annotations, evaluator settings, and taxonomy history. First writes mint ids; later writes preserve supplied ids and assign a missing entry the id of the same-named replaced entry. An id belongs to one entry: never copy one onto a second group or field.
|
|
200
200
|
- **Model settings:** It rebuilds them from `inputs.modelConfig`.
|
|
201
201
|
- **Validation:** A non-schema or limit violation returns exit 3 and changes nothing on disk.
|
|
202
202
|
- **Draft protection:** When someone left an editing session open in Studio Web, the node carries that draft and `set` stops. `--discard-draft` proceeds and throws the draft away; pass it only when the user asked in this conversation. Headless or CI: leave the node unchanged, report the draft and `DraftIssueMessages`, and stop; the request is not done. Run no `nodes provision` either: it writes `inputs.processorKey` into the node. Report a missing processor instead. Never hand-edit `inputs.schemaDocument` to bypass this.
|
|
@@ -238,6 +238,20 @@ On an edit, check `FieldIdsMinted` and `BusinessChecksDropped` before reporting
|
|
|
238
238
|
| 1 | `Cannot read the schema file` | The `@` path is absent or unreadable; this is a path error, not malformed schema. |
|
|
239
239
|
| 1 | node not found, or wrong node type | Run `uip maestro flow nodes list <file>` for ids and types. Only Extract document nodes carry a taxonomy. |
|
|
240
240
|
|
|
241
|
+
On the SDK route, `check` reports the same content problems before compile, one code per rule, with the path and the problem in the message (SDK with builder-sdk#2055):
|
|
242
|
+
|
|
243
|
+
| Code | Rule it enforces |
|
|
244
|
+
| --- | --- |
|
|
245
|
+
| `EXTRACT_TAXONOMY_NESTING` | nesting by name: `A > B` needs a group `A`, and a top-level group names no parent ([Field groups](#field-groups)) |
|
|
246
|
+
| `EXTRACT_TAXONOMY_REF` | every field names a field type, and every `$ref` resolves inside `$defs` ([Field types](#field-types)) |
|
|
247
|
+
| `EXTRACT_TAXONOMY_LIMIT` | names within 64 characters, a nested group's whole composed key included; instructions within 4096 ([Names](#names), [Instructions](#instructions)) |
|
|
248
|
+
| `EXTRACT_TAXONOMY_DUPLICATE_ID` | no id on two groups or two fields ([What `set` does for you](#what-set-does-for-you)) |
|
|
249
|
+
| `EXTRACT_TAXONOMY_FIELD_TYPE` | a `$defs` key needs no escaping in a `$ref`; every field type has a title ([Field types](#field-types)) |
|
|
250
|
+
| `EXTRACT_TAXONOMY_STRUCTURE` | every group, field and container is the shape the Schema Editor reads |
|
|
251
|
+
| `EXTRACT_TAXONOMY_BARE`, `EXTRACT_TAXONOMY_LEGACY` (warnings) | a bare JSON Schema, or the `{taxonomy, fieldTypes}` form, in place of `{ prompt, outputSchema }`; `set` refuses both, so treat either as an error |
|
|
252
|
+
|
|
253
|
+
No code checks sibling-name uniqueness ([Names](#names)): each name is a property key, so JSON already makes siblings unique.
|
|
254
|
+
|
|
241
255
|
## Evidence boundary
|
|
242
256
|
|
|
243
257
|
Everything here is offline. `set` and `flow validate` prove schema shape, resolved references, and name/instruction limits—not extraction accuracy. Only running the node on real documents shows that; expect a round of tightening afterwards, mostly in the instructions.
|
|
@@ -84,6 +84,35 @@ Keep your `inputs`, and declare `returns` for the fields you read; to see the co
|
|
|
84
84
|
|
|
85
85
|
A record more than 24 hours old still compiles; `check` warns `PROCESS_RECORD_STALE` and prints the `prepare` that refreshes it.
|
|
86
86
|
|
|
87
|
+
### Argument types (`inputSchema`)
|
|
88
|
+
|
|
89
|
+
Compile declares each passed input with a type taken from its value: a number,
|
|
90
|
+
boolean, array or object literal by its shape, and anything else (an expression,
|
|
91
|
+
`input()`, `out()`) as `string`. When the process types an argument differently
|
|
92
|
+
(an object filled from an expression, or an argument the step does not pass),
|
|
93
|
+
write the argument JSON Schema as `inputSchema` on the step. Compile writes it
|
|
94
|
+
verbatim as the definition's `inputDefinition`:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
inputs: { payload: input('request') },
|
|
98
|
+
inputSchema: { type: 'object', properties: { payload: { type: 'object' } } },
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
- A decompiled step carries `inputSchema` when its saved definition holds more
|
|
102
|
+
than compile would infer (titles, enums, an argument the step does not pass);
|
|
103
|
+
keep it.
|
|
104
|
+
- A `prepare` record does not change what compile writes: the record drives the
|
|
105
|
+
`PROCESS_INPUT_*` checks above, and `inputSchema` (or the inference) is the
|
|
106
|
+
`inputDefinition`. Declaring an argument in `inputSchema` does not satisfy
|
|
107
|
+
`PROCESS_INPUT_MISSING`; pass the argument in `inputs`.
|
|
108
|
+
- `check` reports:
|
|
109
|
+
- `PROCESS_INPUT_SCHEMA_TYPE`: an object or array literal whose declared type
|
|
110
|
+
does not allow it (`flow validate` reports the same value as `TYPE_MISMATCH`);
|
|
111
|
+
- `PROCESS_INPUT_SCHEMA_INVALID`: an `inputSchema` that is not a plain object
|
|
112
|
+
(compile refuses it too).
|
|
113
|
+
- Needs `@uipath/maestro-builder-sdk` 6.122.6 or later. An older SDK refuses the
|
|
114
|
+
option as `FLOW_UNKNOWN_OPTION`.
|
|
115
|
+
|
|
87
116
|
## Notes
|
|
88
117
|
|
|
89
118
|
Sometimes you need to search across multiple process types.
|
|
@@ -7,8 +7,8 @@ as its own resource. `publishedFunction()` invokes one as a single step
|
|
|
7
7
|
(`uipath.core.function.<key>`, dispatched as
|
|
8
8
|
`Orchestrator.ExecuteFunctionAsync`).
|
|
9
9
|
|
|
10
|
-
Signature: `publishedFunction({ key, name, folderPath, inputs?, returns? })`, or
|
|
11
|
-
`publishedFunction({ key, name, location: 'in-solution', projectId, inputs?, returns? })`
|
|
10
|
+
Signature: `publishedFunction({ key, name, folderPath, inputs?, inputSchema?, returns? })`, or
|
|
11
|
+
`publishedFunction({ key, name, location: 'in-solution', projectId, inputs?, inputSchema?, returns? })`
|
|
12
12
|
for a coded function in the same solution (see [In the same solution](#in-the-same-solution)).
|
|
13
13
|
|
|
14
14
|
```ts
|
|
@@ -119,6 +119,10 @@ read is rejected (`FUNCTION_READ_WITHOUT_RETURNS`) — nothing here could tell a
|
|
|
119
119
|
real field from a typo. `registry get uipath.core.function.<key>` shows what the
|
|
120
120
|
platform synthesizes for a deployed one.
|
|
121
121
|
|
|
122
|
+
To type an argument differently from its value (for example an object filled
|
|
123
|
+
from an expression), add `inputSchema`; keep one a decompiled step carries. See
|
|
124
|
+
[Orchestrator Processes](or-processes.md#argument-types-inputschema).
|
|
125
|
+
|
|
122
126
|
## Which family to reach for
|
|
123
127
|
|
|
124
128
|
| The deployed thing | Factory |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Run a published robotic process and wait for its output arguments.
|
|
6
6
|
|
|
7
|
-
Signature: `rpaWorkflow({ key?, name, folderPath?, location?, projectId?, inputs?, returns? })`.
|
|
7
|
+
Signature: `rpaWorkflow({ key?, name, folderPath?, location?, projectId?, inputs?, inputSchema?, returns? })`.
|
|
8
8
|
`folderPath` is required for a published process; a sibling project of the same solution takes `location: 'in-solution'` and `projectId` instead ([below](#in-solution-sibling)).
|
|
9
9
|
For a published process, leave `key` out: `check` prints the `registry prepare --kind Process` command that records it, and `compile` fills it in ([Orchestrator Processes](or-processes.md#getting-the-inputs-and-outputs)). An in-solution sibling still takes `key`.
|
|
10
10
|
Keep `returns` for every output you read: Orchestrator usually leaves an RPA process's `ArgumentsV2` blank, so `prepare` prints `Arguments not recorded` and `compile` does not fill `returns`. Without it a read of the output is `RPA_READ_WITHOUT_RETURNS`.
|
|
@@ -69,6 +69,10 @@ Inputs and returns are that process's own argument names and exact casing; the
|
|
|
69
69
|
offline SDK cannot discover their truth. Inspect the registry/process listing
|
|
70
70
|
and the deployed contract rather than copying values from a different folder.
|
|
71
71
|
|
|
72
|
+
To type an argument differently from its value (for example an object filled
|
|
73
|
+
from an expression), add `inputSchema`; keep one a decompiled step carries. See
|
|
74
|
+
[Orchestrator Processes](or-processes.md#argument-types-inputschema).
|
|
75
|
+
|
|
72
76
|
## Where the job runs
|
|
73
77
|
|
|
74
78
|
The step starts an Orchestrator job on a robot of the process's folder, and the
|
|
@@ -233,6 +233,8 @@ uip or folders list --output json
|
|
|
233
233
|
|
|
234
234
|
Choose the appropriate operation from the Task Navigation table below. For `uip solution` ops, load [`uipath-solution`](/uipath:uipath-solution).
|
|
235
235
|
|
|
236
|
+
**Confirm the target and its key with the user before any delete, unless the user authorized that exact delete.** This covers every `delete` command in the references; Data Fabric deletes keep the stricter gate in [`data-fabric.md`](references/data-fabric/data-fabric.md) (Destructive Operations).
|
|
237
|
+
|
|
236
238
|
## Task Navigation
|
|
237
239
|
|
|
238
240
|
| I need to... | Read these |
|
|
@@ -186,6 +186,6 @@ Any error not in this table → Rule 18. Topic-specific error tables live in the
|
|
|
186
186
|
|
|
187
187
|
## Packaging into a Solution
|
|
188
188
|
|
|
189
|
-
To ship a folder-scoped entity or choice set in a deployable solution, use [`uipath-solution`](/uipath:uipath-solution). Import via `uip solution resources add --source remote` after creating the resource here — **never hand-write `configuration.json` from `uip df entities get`**; the SDK read shape breaks upgrade with per-field `EntityConflict`. Full flow, `--source local` caveats, and drift recovery
|
|
189
|
+
To ship a folder-scoped entity or choice set in a deployable solution, use [`uipath-solution`](/uipath:uipath-solution). Import via `uip solution resources add --source remote` after creating the resource here — **never hand-write `configuration.json` from `uip df entities get`**; the SDK read shape breaks upgrade with per-field `EntityConflict`. Full flow, `--source local` caveats, and drift recovery are in the `uipath-solution` skill (Data Fabric kinds).
|
|
190
190
|
|
|
191
191
|
If the entity is a **local entity** — the user explicitly asked for it to be authored inside the solution — skip the import: author it with `uip df entities <verb> --local` per [`local-entities.md`](local-entities.md). It never touches the tenant until the solution deploys.
|
|
@@ -197,7 +197,7 @@ authored.
|
|
|
197
197
|
`check` prints `uip maestro registry prepare --entity <Name>`; run it in the Flow project folder, where `check` and `compile` run and read `./.flow-sdk/resources.json`.
|
|
198
198
|
It reads the solution as well as the tenant, records the entity's resource key and the placeholder folder key, and names the folder to pin with `folder:`.
|
|
199
199
|
Do not look the entity up on the tenant yourself: it is not there until deploy.
|
|
200
|
-
|
|
200
|
+
The `uipath-maestro-flow` skill covers this (Data Fabric, an entity the solution authors itself).
|
|
201
201
|
|
|
202
202
|
**Hand-written `.flow` JSON:**
|
|
203
203
|
|
|
@@ -66,7 +66,7 @@ The **Operation** field on trigger activities indicates the trigger type:
|
|
|
66
66
|
|
|
67
67
|
Some IS activities — most notably **List All Records** and other list/query operations — accept a server-side filter expressed in **CEQL** (Connector Expression Query Language). As with trigger filters (which compile to JMESPath), CEQL filters are authored as a **structured filter tree** and the CLI compiles them to a CEQL string. Authoring as a tree keeps the CLI and Studio Web in lockstep so the activity round-trips cleanly when re-opened in SW.
|
|
68
68
|
|
|
69
|
-
**Never hand-write the CEQL string** outside a builder-SDK Flow. The tree is the only authored form; the grammar below describes what the compiler emits, so you can read a compiled query and recognize a malformed one. **A builder-SDK (`.flow.ts`) Flow is the exception:** there you write the CEQL string and the SDK derives the tree —
|
|
69
|
+
**Never hand-write the CEQL string** outside a builder-SDK Flow. The tree is the only authored form; the grammar below describes what the compiler emits, so you can read a compiled query and recognize a malformed one. **A builder-SDK (`.flow.ts`) Flow is the exception:** there you write the CEQL string and the SDK derives the tree — the `uipath-maestro-flow` skill covers writing it (structured filters, CEQL).
|
|
70
70
|
|
|
71
71
|
### Contract — three signals from IS metadata
|
|
72
72
|
|
|
@@ -212,7 +212,7 @@ Logical operators between siblings:
|
|
|
212
212
|
|
|
213
213
|
Connectors with extensible/custom fields (Jira project+issuetype → custom Jira fields, Mailchimp list_id → audience merge fields, Salesforce custom objects) expose `Api`-type entries under `objectActions[]`. Each entry's `apiConfiguration.url`/`body` carries `{token}` placeholders naming the parent fields. The runtime replays the ObjectAction with cached parent values to fetch the connector-specific custom-field schema.
|
|
214
214
|
|
|
215
|
-
**For Maestro flows**, this lives on the activity node as `essentialConfiguration.customFieldsRequestDetails`. In a builder-SDK Flow, the `registry prepare` that `check` names creates it —
|
|
215
|
+
**For Maestro flows**, this lives on the activity node as `essentialConfiguration.customFieldsRequestDetails`. In a builder-SDK Flow, the `registry prepare` that `check` names creates it — the `uipath-maestro-flow` skill covers this (schema-dynamic operations).
|
|
216
216
|
|
|
217
217
|
Shape:
|
|
218
218
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# The Standard resource (SR)
|
|
2
2
|
|
|
3
3
|
> Reached from
|
|
4
|
-
> [
|
|
5
|
-
> [
|
|
4
|
+
> [Step 5 of activity-generation.md (author the min.json)](../activity-generation.md#5-author-the-minjson) and
|
|
5
|
+
> [Step 6 of activity-generation.md (compile the metadata)](../activity-generation.md#6-compile-the-metadata) — both
|
|
6
6
|
> come **after the script has run**, because the response you observed is the only
|
|
7
7
|
> source for the output half. The contract below is the same one the platform
|
|
8
8
|
> enforces wherever the metadata is built.
|
|
@@ -301,7 +301,7 @@ $WORK/<Name>.json the compiled activity metadata
|
|
|
301
301
|
|
|
302
302
|
## Putting it in a flow
|
|
303
303
|
|
|
304
|
-
The builder-SDK Flow skill (`uipath-maestro-flow`) has no node for a generated activity: `rawNode` refuses every `uipath.connector.*` type, and `connector()` only takes catalog operations. Report that gap to the user rather than hand-editing the compiled `.flow`, and offer managed HTTP in connector mode (
|
|
304
|
+
The builder-SDK Flow skill (`uipath-maestro-flow`) has no node for a generated activity: `rawNode` refuses every `uipath.connector.*` type, and `connector()` only takes catalog operations. Report that gap to the user rather than hand-editing the compiled `.flow`, and offer managed HTTP in connector mode (the `uipath-maestro-flow` skill covers it) as the fallback.
|
|
305
305
|
|
|
306
306
|
## Keep the scripts readable
|
|
307
307
|
|
|
@@ -194,8 +194,8 @@ Trigger filters narrow which events fire the trigger (e.g. only emails from a sp
|
|
|
194
194
|
These steps assume the consuming skill has already loaded the trigger's `filterFields.fields` array (the source command varies by surface — e.g. maestro-flow uses `flow registry get`).
|
|
195
195
|
|
|
196
196
|
1. For each user-intent condition, pick a matching `name` from `filterFields.fields` — using an unknown field name will be rejected by the CLI at configure time.
|
|
197
|
-
2. Choose an operator based on the user's intent and the field type (see the operator table in the consuming skill
|
|
198
|
-
**Builder-SDK Flow (`.flow.ts`): stop after step 2.** Write `filters: [{ field: '<name>', <operator>: <value> }]` on `onEvent(...)` / `waitForEvent(...)` —
|
|
197
|
+
2. Choose an operator based on the user's intent and the field type (see the operator table in the consuming skill; for a Flow, the filter operators section of the `uipath-maestro-flow` skill).
|
|
198
|
+
**Builder-SDK Flow (`.flow.ts`): stop after step 2.** Write `filters: [{ field: '<name>', <operator>: <value> }]` on `onEvent(...)` / `waitForEvent(...)` — the `uipath-maestro-flow` skill covers the operators; `check` validates each field and operator. Steps 3–6 describe the classic structured tree.
|
|
199
199
|
|
|
200
200
|
3. Build one leaf per condition; place multiple conditions under the same `groupOperator` (`0` for AND, `1` for OR).
|
|
201
201
|
4. If you need mixed AND/OR logic, use nested `groups` (same shape as the root tree).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-review
|
|
3
|
-
description: "UiPath read-only reviewer — audit structure, quality, best practices for RPA (.xaml/.cs), agents (.py/agent.json), flows (.flow), BPMN (.bpmn), coded apps, solutions (.uipx). Does NOT edit files. For building/editing→domain skills."
|
|
3
|
+
description: "UiPath read-only reviewer — audit structure, quality, best practices for RPA (.xaml/.cs), agents (.py/agent.json), flows (.flow), BPMN (.bpmn), coded apps, solutions (.uipx). Does NOT edit files. For building/editing→domain skills: .xaml/.cs→uipath-rpa, .py/agent.json→uipath-agents, .flow→uipath-maestro-flow, .bpmn→uipath-maestro-bpmn, coded apps→uipath-coded-apps, .uipx→uipath-solution."
|
|
4
4
|
allowed-tools: Bash, Read, Glob, Grep, WebFetch, AskUserQuestion
|
|
5
5
|
user-invocable: true
|
|
6
6
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-solution
|
|
3
|
-
description: "Always invoke for `.uipx` files. UiPath Solution
|
|
4
|
-
when_to_use: "
|
|
3
|
+
description: "Always invoke for `.uipx` files. UiPath Solution via `uip solution`: init/download/restore/pack/publish/deploy/activate/upgrade/upload;projects add/import/remove;resources refresh/add/remove/edit;feeds list;`--feed`/`--personal-workspace`. Bundles RPA/Flow/Case/Agents/API Workflow/AppV2 in one `.uipx`. PDD→SDD design/task derivation→uipath-planner; non-solution Orchestrator/IS/resources/auth/traces→uipath-platform;`.xaml`/`.cs`→uipath-rpa;`.flow`→uipath-maestro-flow;`.bpmn`→uipath-maestro-bpmn;`agent.json`/`.py` agents→uipath-agents;standalone coded-app deploy→uipath-coded-apps."
|
|
4
|
+
when_to_use: "`.uipx`/`uip solution`; 'pack/publish/deploy/activate the solution';multi-project;Solution scope/Folder;Studio Web download/export;existing solution;migrate org/tenant;create solution;add project/resource/queue/asset/bucket/connection;import cloud queue/asset;edit/remove resource;change queue/asset field/value;upgrade/change deployed version keeping configuration;folder feed/Personal Workspace publish/deploy;list feeds. Diagnose: pack/publish/deploy failures;`--acknowledge-permanent-deletion`;redeploy blocked (`deploy upgrade`);feed 'not an available publish location';package not in `packages list`;stale/old bindings;resource edit no effect;refresh imports 0 bindings;deploy '[1009] Invalid argument Value';publish name+version/processKey collision;'unknown command' after `new`→`init`;coded app not packed in `.uipx`. CLI/build faults here;faulted Orchestrator JOBS runtime→uipath-troubleshoot. Architect→deploy: uipath-planner→here."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# UiPath Solution — `uip solution` lifecycle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: uipath-troubleshoot
|
|
3
|
-
description: "UiPath causal investigation across every product, runtime, and activity package. Use when the primary outcome is an explanation, diagnosis, or root cause for undesirable existing behavior: faults, hangs, regressions, slowdowns, access loss, unexpected state changes, wrong or empty results, silent no-ops, or raw errors. Diagnostic intent outranks surface ownership for runtime behavior; invoke even when the prompt names only a job, folder, queue item, connector, connection, activity, trace, flow, agent, or other resource and another UiPath skill supplies inspection commands. Correlates runtime, configuration, history, and source evidence to find the originating fault and fix. Also covers UiPath Assistant desktop-app failures from a
|
|
4
|
-
when_to_use: "Trigger when the
|
|
3
|
+
description: "UiPath causal investigation across every product, runtime, and activity package. Use when the primary outcome is an explanation, diagnosis, or root cause for undesirable existing behavior: faults, hangs, regressions, slowdowns, access loss, unexpected state changes, wrong or empty results, silent no-ops, or raw errors. Diagnostic intent outranks surface ownership for runtime behavior; invoke even when the prompt names only a job, folder, queue item, connector, connection, activity, trace, flow, agent, or other resource and another UiPath skill supplies inspection commands. Correlates runtime, configuration, history, and source evidence to find the originating fault and fix. Also covers UiPath Assistant desktop-app failures from a diagnostic archive (combined.log, Robot.log). For operating resources without causal investigation→uipath-platform; for applying a known source fix→the artifact owner; for build-time/CLI faults of a local artifact (pack, build, validate, bindings)→the artifact's skill."
|
|
4
|
+
when_to_use: "Trigger when the request is to explain or investigate undesirable existing UiPath behavior. Infer it from the goal; no exact phrase, product name, exception, or identifier is needed. A pasted raw error message, exception stack, or error code alone implies this request, as does a shared UiPath Assistant diagnostic archive (ExportDiagnoseArchive, combined.log / Robot.log). Do not trigger for pure CRUD/list/start/stop/status, aggregate monitoring, or a direct edit to a known local artifact without causal investigation."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# UiPath Troubleshooting Agent
|
package/version-manifest.json
CHANGED