@uipath/skills 1.200.0 → 1.201.0-preview.433
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +32 -0
- package/CODEOWNERS +25 -4
- package/README.md +1 -0
- package/assets/skill-status.json +8 -0
- package/assets/uip-catalog-snapshot.json +113 -41
- package/assets/uipath-icon.png +0 -0
- package/commands/install-permissions.md +1 -0
- package/package.json +3 -2
- package/skills/uipath-admin/SKILL.md +1 -1
- package/skills/uipath-admin/references/authorization/permission-catalog.md +61 -1
- package/skills/uipath-admin/references/authorization/role-management.md +3 -1
- package/skills/uipath-admin/references/diagnose/references/failure-modes.md +29 -4
- package/skills/uipath-admin/references/diagnose/references/troubleshooting-guide.md +13 -0
- package/skills/uipath-agents/SKILL.md +1 -0
- package/skills/uipath-agents/references/coded/capabilities/context-grounding.md +3 -3
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +6 -1
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +89 -1
- package/skills/uipath-agents/references/coded/embedding-in-flows.md +17 -1
- package/skills/uipath-agents/references/coded/frameworks/llamaindex-integration.md +64 -2
- package/skills/uipath-agents/references/coded/lifecycle/deployment.md +3 -0
- package/skills/uipath-agents/references/coded/lifecycle/environment-variables.md +90 -0
- package/skills/uipath-agents/references/coded/lifecycle/file-sync.md +3 -1
- package/skills/uipath-agents/references/coded/quickstart.md +10 -6
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +20 -5
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +13 -0
- package/skills/uipath-agents/references/lowcode/capabilities/inline-in-flow/inline-in-flow.md +1 -3
- package/skills/uipath-api-workflow/references/operating-published-workflows.md +17 -6
- package/skills/uipath-automationhub/SKILL.md +58 -0
- package/skills/uipath-automationhub/references/api-endpoints.md +140 -0
- package/skills/uipath-automationhub/references/get-process.md +69 -0
- package/skills/uipath-automationhub/references/publish-process.md +171 -0
- package/skills/uipath-coded-apps/SKILL.md +24 -11
- package/skills/uipath-coded-apps/references/commands-reference.md +29 -29
- package/skills/uipath-coded-apps/references/create-action-app.md +4 -0
- package/skills/uipath-coded-apps/references/create-web-app.md +10 -0
- package/skills/uipath-coded-apps/references/debug.md +16 -0
- package/skills/uipath-coded-apps/references/oauth-client-setup.md +3 -1
- package/skills/uipath-coded-apps/references/oauth-scopes.md +39 -4
- package/skills/uipath-coded-apps/references/pack-publish-deploy.md +37 -21
- package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +2 -0
- package/skills/uipath-coded-apps/references/sdk/data-fabric.md +2 -0
- package/skills/uipath-coded-apps/references/sdk/orchestrator.md +2 -0
- package/skills/uipath-coded-apps/references/widgets/conversational-agent-chat.md +90 -0
- package/skills/uipath-coded-apps/references/widgets/datatable.md +97 -0
- package/skills/uipath-coded-apps/references/widgets/external-auth.md +97 -0
- package/skills/uipath-coded-apps/references/widgets/multi-file-upload.md +98 -0
- package/skills/uipath-coded-apps/references/widgets/pdf-viewer.md +122 -0
- package/skills/uipath-coded-apps/references/widgets/validation-station.md +1 -1
- package/skills/uipath-functions/SKILL.md +11 -0
- package/skills/uipath-insights/SKILL.md +52 -247
- package/skills/uipath-insights/references/filter-discovery-guide.md +106 -0
- package/skills/uipath-insights/references/investigation-playbook-guide.md +24 -16
- package/skills/uipath-insights/references/jobs-commands-guide.md +196 -53
- package/skills/uipath-ixp/SKILL.md +10 -4
- package/skills/uipath-ixp/references/cli-reference.md +59 -5
- package/skills/uipath-ixp/references/label-documents-guide.md +12 -5
- package/skills/uipath-maestro-bpmn/SKILL.md +27 -9
- package/skills/uipath-maestro-bpmn/references/diagnose/references/failure-modes.md +6 -3
- package/skills/uipath-maestro-bpmn/references/operate/CAPABILITY.md +1 -1
- package/skills/uipath-maestro-bpmn/references/operate/references/ship.md +9 -3
- package/skills/uipath-maestro-bpmn/references/registry-workflow.md +1 -1
- package/skills/uipath-maestro-bpmn/references/shared/local-metadata-regeneration-guide.md +18 -11
- package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +13 -7
- package/skills/uipath-maestro-case/SKILL.md +138 -170
- package/skills/uipath-maestro-case/references/bindings-and-expressions.md +14 -1
- package/skills/uipath-maestro-case/references/bindings-v2-sync.md +25 -1
- package/skills/uipath-maestro-case/references/brownfield.md +7 -3
- package/skills/uipath-maestro-case/references/case-commands.md +63 -8
- package/skills/uipath-maestro-case/references/case-editing-operations.md +11 -8
- package/skills/uipath-maestro-case/references/case-schema.md +5 -3
- package/skills/uipath-maestro-case/references/case-spec-input-details.md +4 -0
- package/skills/uipath-maestro-case/references/connector-integration.md +3 -1
- package/skills/uipath-maestro-case/references/connector-trigger-impl.md +236 -0
- package/skills/uipath-maestro-case/references/connector-trigger-planning.md +300 -0
- package/skills/uipath-maestro-case/references/entry-points-sync.md +2 -0
- package/skills/uipath-maestro-case/references/evals/evals.json +33 -40
- package/skills/uipath-maestro-case/references/implementation.md +58 -13
- package/skills/uipath-maestro-case/references/phased-execution.md +87 -20
- package/skills/uipath-maestro-case/references/placeholder-tasks.md +3 -1
- package/skills/uipath-maestro-case/references/planning.md +26 -16
- package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +2 -5
- package/skills/uipath-maestro-case/references/plugins/case/planning.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/impl-json.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/planning.md +5 -3
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/impl-json.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +6 -4
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +6 -4
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +6 -4
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +42 -3
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +6 -4
- package/skills/uipath-maestro-case/references/plugins/logging/impl-json.md +50 -32
- package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +2 -4
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +1 -4
- package/skills/uipath-maestro-case/references/plugins/stages/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/action/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/agent/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +5 -3
- package/skills/uipath-maestro-case/references/plugins/tasks/case-management/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +43 -13
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +10 -7
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +5 -3
- package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/process/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/rpa/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/impl-json.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +9 -6
- package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +5 -3
- package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +1 -4
- package/skills/uipath-maestro-case/references/plugins/triggers/manual/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +1 -4
- package/skills/uipath-maestro-case/references/plugins/triggers/timer/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +40 -2
- package/skills/uipath-maestro-case/references/plugins/variables/global-vars/planning.md +12 -2
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +8 -6
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +17 -3
- package/skills/uipath-maestro-case/references/registry-discovery.md +9 -5
- package/skills/uipath-maestro-case/references/sla-response-shapes.md +3 -1
- package/skills/uipath-maestro-case/references/troubleshooting-guide.md +2 -0
- package/skills/uipath-maestro-case/scripts/audit_plan.py +231 -0
- package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +8 -4
- package/skills/uipath-maestro-flow/references/author/references/editing-operations-cli.md +5 -3
- package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +14 -4
- package/skills/uipath-maestro-flow/references/author/references/editing-operations.md +3 -3
- package/skills/uipath-maestro-flow/references/author/references/greenfield.md +12 -3
- package/skills/uipath-maestro-flow/references/author/references/planning-arch.md +17 -13
- package/skills/uipath-maestro-flow/references/author/references/planning-impl.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +49 -4
- package/skills/uipath-maestro-flow/references/author/references/plugins/connector/impl.md +59 -17
- package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md +3 -3
- package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-connector.md +3 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-manual.md +3 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl.md +5 -2
- package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +31 -16
- package/skills/uipath-maestro-flow/references/author/references/plugins/ixp/impl.md +13 -4
- package/skills/uipath-maestro-flow/references/author/references/plugins/loop/impl.md +185 -25
- package/skills/uipath-maestro-flow/references/author/references/plugins/loop/planning.md +18 -10
- package/skills/uipath-maestro-flow/references/author/references/plugins/rpa/impl.md +9 -3
- package/skills/uipath-maestro-flow/references/author/references/plugins/terminate/impl.md +6 -3
- package/skills/uipath-maestro-flow/references/diagnose/references/failure-modes.md +68 -0
- package/skills/uipath-maestro-flow/references/shared/cli-commands.md +2 -1
- package/skills/uipath-maestro-flow/references/shared/file-format.md +36 -9
- package/skills/uipath-maestro-flow/references/shared/node-output-wiring.md +1 -1
- package/skills/uipath-maestro-flow/references/shared/ux-narration-and-todos.md +1 -1
- package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +77 -20
- package/skills/uipath-planner/SKILL.md +30 -12
- package/skills/{uipath-maestro-case/assets/templates/sdd-template-examples.md → uipath-planner/assets/templates/case-sdd-examples.md} +18 -32
- package/skills/uipath-planner/assets/templates/case-sdd-template.md +289 -309
- package/skills/uipath-planner/references/case-design-lane-guide.md +288 -0
- package/skills/uipath-planner/references/multi-skill-patterns-guide.md +1 -1
- package/skills/uipath-planner/references/package-selection-guide.md +2 -2
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +5 -1
- package/skills/uipath-planner/references/product-selection-guide.md +2 -2
- package/skills/uipath-planner/references/sdd-generation-guide.md +16 -15
- package/skills/uipath-planner/scripts/audit_sdd.py +437 -0
- package/skills/uipath-platform/SKILL.md +7 -2
- package/skills/uipath-platform/references/data-fabric/choice-sets.md +1 -1
- package/skills/uipath-platform/references/data-fabric/data-fabric.md +1 -1
- package/skills/uipath-platform/references/data-fabric/entity-schema.md +37 -21
- package/skills/uipath-platform/references/data-fabric/file-attachments.md +1 -1
- package/skills/uipath-platform/references/guardrails/byo-configurations.md +205 -0
- package/skills/uipath-platform/references/traces/feedback.md +4 -2
- package/skills/uipath-platform/references/uip-commands.md +2 -2
- package/skills/uipath-review/SKILL.md +55 -52
- package/skills/uipath-review/references/agents/agent-grading-rubric.md +62 -40
- package/skills/uipath-review/references/agents/agents-coded-rules.md +7 -1
- package/skills/uipath-review/references/agents/agents-lowcode-rules.md +21 -2
- package/skills/uipath-review/references/agents/guardrails/coded-guardrails-review.md +78 -13
- package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +11 -4
- package/skills/uipath-review/references/architecture-assessment-guide.md +1 -1
- package/skills/uipath-review/references/review-workflow-guide.md +19 -10
- package/skills/uipath-review/references/rule-catalog-workflow.md +6 -6
- package/skills/uipath-review/references/rule-format.md +1 -1
- package/skills/uipath-rpa/SKILL.md +1 -1
- package/skills/uipath-solution/SKILL.md +4 -4
- package/skills/uipath-solution/references/solution-overview.md +7 -2
- package/skills/uipath-tasks/SKILL.md +27 -1
- package/skills/uipath-tasks/references/task-catalogs.md +79 -0
- package/skills/uipath-tasks/references/task-data.md +45 -0
- package/skills/uipath-tasks/references/task-metadata.md +69 -0
- package/skills/uipath-test/SKILL.md +3 -3
- package/skills/uipath-test/references/test-result-report-guide.md +16 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/ambiguous-selector.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/verify-execution-failure.md +2 -2
- package/skills/uipath-troubleshoot/references/products/agents/playbooks/guardrail-violation.md +12 -0
- package/version-manifest.json +2 -2
- package/skills/uipath-maestro-case/assets/templates/sdd-template.md +0 -667
- package/skills/uipath-maestro-case/references/connector-trigger-common.md +0 -511
- package/skills/uipath-maestro-case/references/phase-0-interview.md +0 -279
- package/skills/uipath-maestro-case/references/sdd-generation-rules.md +0 -1026
- package/skills/uipath-review/references/agents/agent-common-issues.md +0 -401
- package/skills/uipath-review/references/agents/agent-review-checklist.md +0 -379
- /package/skills/{uipath-maestro-case → uipath-planner}/assets/templates/sdd-viewer.html +0 -0
|
@@ -229,7 +229,7 @@ Use this when defining edges. Every edge requires a `sourcePort` and `targetPort
|
|
|
229
229
|
| `core.logic.delay` | `input` | `output` |
|
|
230
230
|
| `core.logic.decision` | `input` | `true`, `false` |
|
|
231
231
|
| `core.logic.switch` | `input` | `case-{id}` (dynamic per case), `default` |
|
|
232
|
-
| `core.logic.loop` | `input
|
|
232
|
+
| `core.logic.loop` | `input` (outer), `continue` / `break` (inner) | `success`, `error` (outer), `start` (inner) |
|
|
233
233
|
| `core.logic.merge` | `input` (multiple) | `output` |
|
|
234
234
|
| `core.control.end` | `input` | — |
|
|
235
235
|
| `core.logic.terminate` | `input` | — |
|
|
@@ -249,7 +249,7 @@ Use this when defining edges. Every edge requires a `sourcePort` and `targetPort
|
|
|
249
249
|
| `uipath.human-in-the-loop.quick-form` | `input` | `completed` |
|
|
250
250
|
| `uipath.core.human-task.{key}` | `input` | `output` |
|
|
251
251
|
|
|
252
|
-
> **`error` is an implicit source port** on every action node (any node with `supportsErrorHandling: true`)
|
|
252
|
+
> **`error` is an implicit source port** on every action node (any node with `supportsErrorHandling: true`), and it is **off by default**. Wire it only when the requirements state what should happen if that node fails — a failed HTTP call, script exception, transform error, agent fault. With no error edge the node faults the flow, which is the correct default: a faulted run is visible, a swallowed failure is not. This is a **different mechanism** from content-based `inputs.branches` on HTTP. See [Implicit error port on action nodes](../../shared/file-format.md#implicit-error-port-on-action-nodes) for the default-off rule, wiring, when it fires, and the decision matrix vs branches/decision/switch.
|
|
253
253
|
|
|
254
254
|
---
|
|
255
255
|
|
|
@@ -264,11 +264,11 @@ Apply these when defining edges in the topology:
|
|
|
264
264
|
5. Every non-terminal node must have at least one outgoing edge
|
|
265
265
|
6. Decision nodes produce exactly two outgoing edges: one from `true`, one from `false`
|
|
266
266
|
7. Switch nodes produce one outgoing edge per case + optionally one from `default`
|
|
267
|
-
8. Loop nodes: the `
|
|
267
|
+
8. Loop nodes: the inner `start` port feeds the first body node, the inner `continue` port receives the edge returning from the last body node; the outer `success` port fires after all iterations
|
|
268
268
|
9. Merge nodes accept multiple incoming edges (one per parallel path being synchronized)
|
|
269
|
-
10. Do not create cycles except through Loop's `
|
|
269
|
+
10. Do not create cycles except through Loop's `continue` handle
|
|
270
270
|
11. **No dangling nodes** — every node must be connected by at least one edge. A node with no incoming and no outgoing edges is invalid. Verify every node in the node table appears in the edge table as either a source or target.
|
|
271
|
-
12. **Wire the `error` source port
|
|
271
|
+
12. **Wire the `error` source port only when the requirements specify a failure fallback** — e.g., "if the call fails", "return X for invalid input", "if the article doesn't exist", "handle timeouts". Without an `error` edge the failure faults the whole flow, which is what should happen when the requirements say nothing about handling it. **Do not add error edges the requirements never asked for, and never set `inputs.errorHandlingEnabled: true` on a node with no error edge** — the flag suppresses the fault, so the run reports success while the work failed. When an error edge does exist, the source node must also have `inputs.errorHandlingEnabled: true`; CLI edge-add/format commands set it automatically, but direct JSON edits must include it. Applies to every action node in the Standard Port Reference with `error` listed. See [Error Handling](#error-handling-implicit-error-port) and [Implicit error port on action nodes](../../shared/file-format.md#implicit-error-port-on-action-nodes).
|
|
272
272
|
|
|
273
273
|
---
|
|
274
274
|
|
|
@@ -303,23 +303,27 @@ Trigger -> Prepare
|
|
|
303
303
|
|
|
304
304
|
```
|
|
305
305
|
Trigger -> Fetch List -> Loop
|
|
306
|
-
|-- [loop body] Process Item -> (
|
|
306
|
+
|-- start -> [loop body] Process Item -> (continue)
|
|
307
307
|
|-- success -> Summarize -> End
|
|
308
308
|
```
|
|
309
309
|
|
|
310
310
|
### Error Handling (implicit `error` port)
|
|
311
311
|
|
|
312
|
-
|
|
312
|
+
**Default: no error edge, and `inputs.errorHandlingEnabled` left unset.** An unhandled node failure should fault the flow — that is the visible, correct outcome. Add error handling only where the requirements say what the failure should do.
|
|
313
|
+
|
|
314
|
+
When they do, wire the action node's implicit `error` source port directly to a handler — this catches node-level failures (network errors, timeouts, non-2xx HTTP responses, script exceptions, transform faults). Do NOT put a Decision downstream to check for errors — by the time execution reaches the Decision, a failing node has already faulted the flow.
|
|
313
315
|
|
|
314
316
|
```
|
|
315
317
|
Trigger -> HTTP Request
|
|
316
|
-
|-- default -> Process -> End (success)
|
|
317
|
-
|-- error -> Log Error -> End (
|
|
318
|
+
|-- default -> Process -> End (success — status: "ok")
|
|
319
|
+
|-- error -> Log Error -> End (failure — status: "failed", descriptive output)
|
|
318
320
|
```
|
|
319
321
|
|
|
322
|
+
**The error path must end somewhere the caller can tell apart from success.** Routing `error` into the next happy-path node, or into the same End node the success path reaches, makes every failure look like a completed run — the flow "always looks successful" while the API call it depended on never succeeded. Terminal options: a distinct End node mapping an error/status `out` variable, a `core.logic.terminate` when recovery is impossible, or a recovery branch that rejoins the happy path only after obtaining valid data (a retry that succeeded, a fallback source that returned data).
|
|
323
|
+
|
|
320
324
|
Use a downstream Decision/Switch only for **content-based routing on a successful response** (e.g., `items.length > 0`), not as a failure detector. HTTP also supports `inputs.branches` for that. See [Implicit error port on action nodes](../../shared/file-format.md#implicit-error-port-on-action-nodes) — the `Error port vs other branching` table spells out when to use each.
|
|
321
325
|
|
|
322
|
-
**Plan the error edge in Phase 1.** If the requirements mention "if the call fails", "invalid input", "article not found", or any failure fallback, add an edge from the action node's `error` port to a handler in the edge table — don't leave it to the build step.
|
|
326
|
+
**Plan the error edge in Phase 1.** If the requirements mention "if the call fails", "invalid input", "article not found", or any failure fallback, add an edge from the action node's `error` port to a handler in the edge table — don't leave it to the build step. If they mention none of that, plan no error edges at all.
|
|
323
327
|
|
|
324
328
|
### Orchestration (Mixed Resources)
|
|
325
329
|
|
|
@@ -348,7 +352,7 @@ Here Maestro holds the case across the agent call and the human wait; RPA does t
|
|
|
348
352
|
|
|
349
353
|
```
|
|
350
354
|
Scheduled Trigger -> HTTP (fetch batch) -> Loop
|
|
351
|
-
|-- Queue Create (per item) -> (
|
|
355
|
+
|-- start -> Queue Create (per item) -> (continue)
|
|
352
356
|
|-- success -> Script (summary) -> End
|
|
353
357
|
```
|
|
354
358
|
|
|
@@ -463,7 +467,7 @@ graph LR
|
|
|
463
467
|
| 4 | checkHasOrders | true | processOrder | input | Has orders |
|
|
464
468
|
| 5 | checkHasOrders | false | logSkip | input | No orders |
|
|
465
469
|
|
|
466
|
-
> **
|
|
470
|
+
> **Include an `error`-port edge in the edge table whenever — and only when — the requirements describe a failure fallback** (e.g., "return X if the API fails", "route to Y if the article doesn't exist", "handle timeouts gracefully"). Without the edge, the flow faults on failure instead of routing to the handler; that fault is the right outcome when no fallback was specified. Every error edge you do add must reach a terminal the caller can distinguish from success — never the next happy-path node or the success End node. See [Error Handling (implicit `error` port)](#error-handling-implicit-error-port).
|
|
467
471
|
|
|
468
472
|
**Rules:**
|
|
469
473
|
|
|
@@ -524,7 +528,7 @@ LLM-generated mermaid frequently contains syntax errors. After generating the di
|
|
|
524
528
|
2. **Edge directions must match the flow** — trigger at the top, End at the bottom (for TB layouts)
|
|
525
529
|
3. **Decision nodes must show both branches** — `true` and `false` edges, each labeled
|
|
526
530
|
4. **Switch nodes must show all case edges** — one per case plus optional default
|
|
527
|
-
5. **Loop structures**: show the loop body and the
|
|
531
|
+
5. **Loop structures**: show the loop body and the `continue` edge returning to the loop node
|
|
528
532
|
6. **Parallel branches** must visually fork from one node and converge at a Merge node
|
|
529
533
|
|
|
530
534
|
### Validation Procedure
|
|
@@ -249,7 +249,7 @@ $vars.rollDice.output.roll // Script return value
|
|
|
249
249
|
$vars.fetchData.output.body // HTTP response body
|
|
250
250
|
$vars.fetchData.output.statusCode // HTTP status code
|
|
251
251
|
$vars.someNode.error.message // Error information
|
|
252
|
-
|
|
252
|
+
$vars.<loopId>.currentItem // Loop item (inside loop body)
|
|
253
253
|
````
|
|
254
254
|
|
|
255
255
|
**Expression prefixes:**
|
|
@@ -47,7 +47,7 @@ Confirm from `registry get`:
|
|
|
47
47
|
- `model.serviceType` — `Orchestrator.StartAgentJob`
|
|
48
48
|
- `model.bindings.resourceSubType` — `Agent`
|
|
49
49
|
- `model.bindings.resourceKey` — the `<FolderPath>.<AgentName>` string used to scope binding resolution
|
|
50
|
-
- `inputDefinition` —
|
|
50
|
+
- `inputDefinition` — the agent's typed input schema, one property per input field (mirrors the agent's `entry-points.json`). Each property gets one `inputs.<field>` entry on the node instance — see [Wiring Inputs](#wiring-inputs). Empty only when the agent declares no typed inputs (free-form)
|
|
51
51
|
|
|
52
52
|
## Adding / Editing
|
|
53
53
|
|
|
@@ -65,7 +65,13 @@ The instance carries only per-instance data (`inputs`, `outputs`, `display`). BP
|
|
|
65
65
|
"type": "uipath.core.agent.ffa33d88-8a85-4570-933c-9a69aa2dfbb5",
|
|
66
66
|
"typeVersion": "<DEFINITION_VERSION>",
|
|
67
67
|
"display": { "label": "Classify Intent" },
|
|
68
|
-
"inputs": {
|
|
68
|
+
"inputs": {
|
|
69
|
+
"<INPUT_FIELD>": {
|
|
70
|
+
"type": "jsExpression",
|
|
71
|
+
"expression": "$vars.<UPSTREAM_NODE_ID>.output.<FIELD>",
|
|
72
|
+
"fieldType": "<FIELD_TYPE>"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
69
75
|
"outputs": {
|
|
70
76
|
"error": {
|
|
71
77
|
"type": "object",
|
|
@@ -101,7 +107,7 @@ Confirm all three from `registry get` before wiring.
|
|
|
101
107
|
}
|
|
102
108
|
```
|
|
103
109
|
|
|
104
|
-
**Declare `error` only — `output` is derived.** Authoring it makes the converter copy your `source` verbatim; `"=result.response"` then resolves to null at runtime while `flow validate` passes. See [file-format.md § Node outputs](../../../../shared/file-format.md#node-outputs).
|
|
110
|
+
**Declare `error` only — `output` is derived.** Authoring it makes the converter copy your `source` verbatim; `"=result.response"` then resolves to null at runtime while `flow validate` passes. Exception: `output` MAY be declared with exactly `source: "=this"` plus the agent's output schema — that form is safe; the hazard is any other hand-authored `source`. See [file-format.md § Node outputs](../../../../shared/file-format.md#node-outputs).
|
|
105
111
|
|
|
106
112
|
`<AGENT_ICON>` depends on the agent's implementation type: `"coded-agent"` for Python-coded agents, `"autonomous-agent"` for low-code (`agent.json`) agents. Detect the type by inspecting the sibling agent project directory: if `agent.json` exists at its root, use `"autonomous-agent"`; otherwise use `"coded-agent"`. Do NOT copy `.display.icon` from `uip maestro flow registry get --local` — that manifest returns `"coded-agent"` for every in-solution agent regardless of implementation type, and the value must be corrected here.
|
|
107
113
|
|
|
@@ -144,6 +150,45 @@ Same shape as the published variant — no `model` on the instance.
|
|
|
144
150
|
|
|
145
151
|
> For the resolution mechanics and why these entries are required, see [file-format.md — Bindings](../../../../shared/file-format.md#bindings--orchestrator-resource-bindings-top-level-bindings).
|
|
146
152
|
|
|
153
|
+
## Wiring Inputs
|
|
154
|
+
|
|
155
|
+
One `inputs.<field>` entry per property in the definition's `inputDefinition.properties`. Two valid value shapes, same binding:
|
|
156
|
+
|
|
157
|
+
1. **`jsExpression`** — bare `$vars...` expression, NO `=js:` prefix:
|
|
158
|
+
|
|
159
|
+
```json
|
|
160
|
+
"inputs": {
|
|
161
|
+
"<INPUT_FIELD>": {
|
|
162
|
+
"type": "jsExpression",
|
|
163
|
+
"expression": "$vars.<UPSTREAM_NODE_ID>.output.<FIELD>",
|
|
164
|
+
"fieldType": "<FIELD_TYPE>"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
2. **`literal`** — text template; static text mixable with `{{ }}` interpolations: `{ "type": "literal", "expression": "{{ $vars.<UPSTREAM_NODE_ID>.output.<FIELD> }}", "fieldType": "<FIELD_TYPE>" }`.
|
|
170
|
+
|
|
171
|
+
NEVER a plain `"=js:..."` string value — it ships verbatim to the agent activity and fails at runtime with `Cannot find name '<identifier>'`. `<FIELD_TYPE>` is the property's JSON-schema type from the definition's `inputDefinition.properties` (e.g. `string`, `boolean`, `number`) — read it from there, do not invent it.
|
|
172
|
+
|
|
173
|
+
Worked example: trigger → agent → end, flow input surfaced through the trigger. The flow declares the input as a global bound to the trigger, and the agent reads it from the trigger's output:
|
|
174
|
+
|
|
175
|
+
```json
|
|
176
|
+
"variables": {
|
|
177
|
+
"globals": [
|
|
178
|
+
{ "id": "<INPUT_FIELD>", "direction": "in", "type": "string", "defaultValue": "", "triggerNodeId": "trigger1" }
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
```json
|
|
184
|
+
"edges": [
|
|
185
|
+
{ "id": "e1", "sourceNodeId": "trigger1", "sourcePort": "output", "targetNodeId": "agent1", "targetPort": "input" },
|
|
186
|
+
{ "id": "e2", "sourceNodeId": "agent1", "sourcePort": "output", "targetNodeId": "end1", "targetPort": "input" }
|
|
187
|
+
]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
The agent node's `inputs.<INPUT_FIELD>` then references `$vars.trigger1.output.<INPUT_FIELD>` (shape 1 above). Upstream values always read as `$vars.<nodeId>.output.<field>`; flow-level globals read as `$vars.<global>`.
|
|
191
|
+
|
|
147
192
|
## Accessing Output
|
|
148
193
|
|
|
149
194
|
The agent's response is available downstream:
|
|
@@ -181,4 +226,4 @@ For the resource file format and wiring details, see the `uipath-agents` skill:
|
|
|
181
226
|
| In-solution node doesn't resolve | `resourceKey` was hand-invented rather than read from the resource file, or `uip solution projects add` was never run for the agent project | Run `uip maestro flow registry list --local` and use the returned `resourceKey` (same value as `resource.key` in `resources/solution_folder/process/agent/<CodedAgentProject>.json`) |
|
|
182
227
|
| Agent execution failed | Underlying agent errored | Check `$vars.{nodeId}.error` for details. For coded agents, test locally first with `uip codedagent run` |
|
|
183
228
|
| Empty `output.content` | Agent returned no response | Verify the agent is configured correctly (published: in Orchestrator; in-solution: in Studio Web) |
|
|
184
|
-
| `inputDefinition` is empty |
|
|
229
|
+
| `inputDefinition` is empty | Agent declares no typed input schema (free-form) | Wire upstream data via `jsExpression` inputs — see [Wiring Inputs](#wiring-inputs) |
|
|
@@ -43,7 +43,7 @@ To classify a node, read `Node.form.sections[0].fields[0].componentProps.connect
|
|
|
43
43
|
If you cannot run `node configure` (no live connection, sandbox forbids it, the user asked for planning only):
|
|
44
44
|
|
|
45
45
|
1. Confirm the connector operation exists: `uip maestro flow registry search <keyword>` and `registry get <node-type>` (see [cli-commands.md — registry](../../../../shared/cli-commands.md#uip-maestro-flow-registry) for the `search` output shape).
|
|
46
|
-
2. Add the connector node with `uip maestro flow node add <file> <node-type> --output json`. This is still required — it inserts the node and copies the definition into `definitions[]`.
|
|
46
|
+
2. Add the connector node with `uip maestro flow node add <file> <node-type> --output json`. This is still required — it inserts the node and copies the definition into `definitions[]`. **Inside a loop body?** Add `--parent <LOOP_NODE_ID>` — see [loop/impl.md](../loop/impl.md).
|
|
47
47
|
3. Write the planned `--detail` payload to a separate file (e.g. `<nodeId>.detail.json`) with placeholder values for missing connection/folder UUIDs. Do **not** put a partial `inputs.detail` on the node.
|
|
48
48
|
4. **The node will not pass `flow validate` until `node configure` is run.** Surface this explicitly in your completion report under "Missing connections" or "Open questions" — do not let the user discover it via a validation failure later.
|
|
49
49
|
|
|
@@ -137,6 +137,8 @@ cat <metadataFile path from response>
|
|
|
137
137
|
>
|
|
138
138
|
> **Sequence, don't parallelize, the objectName-dependent calls.** `<objectName>` is an OUTPUT of `node add` (it lands in `definitions[]`). Read that value before calling `is resources describe` — do not place `describe` in the same parallel Bash batch as `node add` or `registry get`, or you'll have nothing to pass but a guess. This is the failure mode behind the snake-case 404 above.
|
|
139
139
|
|
|
140
|
+
> **Pass `--operation` = the node definition's `model.context[].method` value verbatim** (from `registry get`, or `definitions[]` after `node add`). E.g. Jira `curated_get_issue` → `GETBYID` → `--operation GETBYID`; Data Service `QueryEntityRecordsCurated` → `POST` → `--operation POST`. Do NOT use `connectorMethodInfo.operation` or `connectorMethodInfo.method` — both can point at the wrong key and fail the lookup.
|
|
141
|
+
|
|
140
142
|
The full metadata contains:
|
|
141
143
|
- **`availableOperations[].method`** and **`availableOperations[].path`** — HTTP method and API endpoint path. Same value as `connectorMethodInfo.method` / `.path` from `registry get`.
|
|
142
144
|
- **`parameters`** — query and path parameters (may include required params not in `requestFields`, e.g. `send_as` for Slack). Parameters carry `reference` objects too — scan them in Step 4 exactly like body fields.
|
|
@@ -238,23 +240,48 @@ For every match:
|
|
|
238
240
|
- **Pass a structured filter tree under `--detail.filter`** — the CLI compiles it into both halves of the contract: the runtime CEQL string at `inputs.detail.queryParameters.<name>` *and* the design-time tree at `inputs.detail.configuration.essentialConfiguration.savedFilterTrees.<name>`. Studio Web reads the latter to render the FilterBuilder UI; only `--detail.filter` populates that side.
|
|
239
241
|
- **Do not pass a raw CEQL string under `--detail.queryParameters.<name>`.** It populates only the runtime half — debug runs succeed but the FilterBuilder UI shows `undefined` when the activity is reopened in SW. The CLI rejects this at configure time.
|
|
240
242
|
- **A dynamic operand in the tree works**: `"value": {"value": "=js:$vars...", "isLiteral": false}` — the CLI compiles it to a `{var_…}` placeholder plus `inputs.detail.filterVariables` the runtime resolves.
|
|
241
|
-
- **When a CEQL string is authored anyway** (e.g. a `queryExpression` written directly into the `.flow`): field names bare, values single-quoted — `` `accountNumber = '${$vars...}'` ``, never `'accountNumber' = '...'`. The whole value MUST start with `` =js:` `` and end with `` ` `` when it interpolates: `` "=js:`invoiceNumber = '${$vars...}'`" ``. A plain string containing `${…}` is never resolved — the query silently matches nothing.
|
|
243
|
+
- **When a CEQL string is authored anyway** (e.g. a `queryExpression` written directly into the `.flow`): field names bare, values single-quoted — `` `accountNumber = '${$vars...}'` ``, never `'accountNumber' = '...'`. The whole value MUST start with `` =js:` `` and end with `` ` `` when it interpolates: `` "=js:`invoiceNumber = '${$vars...}'`" ``. A plain string containing `${…}` is never resolved — the query silently matches nothing. Copy-paste template, operator aliases, and the error→fix table → [Hand-authored CEQL strings](#hand-authored-ceql-strings) below.
|
|
242
244
|
- Tree shape, operator table, examples → [uipath-platform — Filter Trees (CEQL)](../../../../../../uipath-platform/references/integration-service/activities.md#filter-trees-ceql).
|
|
243
245
|
|
|
244
246
|
If the operation has no FilterBuilder parameter, server-side filtering is not supported — pass no `filter` and filter downstream (e.g. with a Script node).
|
|
245
247
|
|
|
246
|
-
**Dynamic-entity connectors (e.g.
|
|
248
|
+
**Dynamic-entity connectors (e.g. Data Service).** Their FilterBuilder params take `--detail.filter` like every other connector. Always set the entity name in the same `node configure` call (`pathParameters.entityName` on Data Service) — the CLI runs the connector's schema-fetch action from it and resolves the entity's real fields. Field ids in the tree must match that schema exactly. Matching is case-sensitive: `InvoiceNumber` does not match `invoiceNumber`. Read the exact names from `uip df entities list --output json` (entity `Id`) plus `uip df entities get <entity-id> --output json` (field names). An unmatched leaf is dropped without an error — `node configure` reports Success and the filter is lost or malformed. See [Common Errors](#common-errors).
|
|
249
|
+
|
|
250
|
+
##### Hand-authored CEQL strings
|
|
251
|
+
|
|
252
|
+
Preference order. Do not skip step 1.
|
|
253
|
+
|
|
254
|
+
1. **`node configure --detail.filter`** — pass a structured tree. The CLI compiles the CEQL for you. Use this for every literal filter. It does not report a leaf whose field id the entity schema does not match — it drops that leaf (see Step 6a).
|
|
255
|
+
2. **Hand-authored `=js:` string** — use only when a runtime value forces it, and only from the template below. Nothing validates the string: `flow validate` passes it through and IS faults at `flow debug` with `[102003]`.
|
|
256
|
+
|
|
257
|
+
Canonical template for a dynamic value:
|
|
258
|
+
|
|
259
|
+
```text
|
|
260
|
+
=js:"accountNumber = '" + String($vars.<node>.output.<field>) + "'"
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
Single quotes delimit a value. Double quotes mark a column reference to the CEQL parser.
|
|
247
264
|
|
|
248
|
-
|
|
265
|
+
**Anti-patterns.** Match the IS error text, then apply the corrected form.
|
|
249
266
|
|
|
250
|
-
|
|
267
|
+
| Wrong form | IS error text | Corrected form |
|
|
268
|
+
|---|---|---|
|
|
269
|
+
| `'accountNumber' = 'ACC123'` — field name quoted | `Expected a field name expression but got 'StringValue'` | `accountNumber = 'ACC123'` |
|
|
270
|
+
| `` =js:"accountNumber = \"" + String(v) + "\"" `` — value double-quoted | `Unsupported value expression 'Column' on field 'accountNumber'` | `` =js:"accountNumber = '" + String(v) + "'" `` |
|
|
271
|
+
| `accountNumber eq 'ACC123'` — OData alias | `[102003] Integration Services bad request` | `accountNumber = 'ACC123'` |
|
|
251
272
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
273
|
+
CEQL rejects OData aliases. Map them:
|
|
274
|
+
|
|
275
|
+
| OData alias | CEQL operator |
|
|
276
|
+
|---|---|
|
|
277
|
+
| `eq` | `=` |
|
|
278
|
+
| `ne` | `!=` |
|
|
279
|
+
| `gt` | `>` |
|
|
280
|
+
| `ge` | `>=` |
|
|
281
|
+
| `lt` | `<` |
|
|
282
|
+
| `le` | `<=` |
|
|
283
|
+
|
|
284
|
+
Full operator table → [uipath-platform — Filter Trees (CEQL)](../../../../../../uipath-platform/references/integration-service/activities.md#filter-trees-ceql).
|
|
258
285
|
|
|
259
286
|
#### Step 6b — Run configure
|
|
260
287
|
|
|
@@ -303,17 +330,27 @@ Body field names in `bodyParameters` come from `inputDefinition.fields[].name` (
|
|
|
303
330
|
>
|
|
304
331
|
> | `requestFields[].name` | `dataType` | Authoring shape in `inputs.detail` |
|
|
305
332
|
> |---|---|---|
|
|
306
|
-
> | `fields.labels[*]` | `string` | `"fields.labels": [
|
|
307
|
-
> | `fields.components_arrayRemap_name[*]` | `string` | `"fields.components_arrayRemap_name": [
|
|
333
|
+
> | `fields.labels[*]` | `string` | `"fields.labels": "=js:(['shield', 'p0'])"` |
|
|
334
|
+
> | `fields.components_arrayRemap_name[*]` | `string` | `"fields.components_arrayRemap_name": "=js:(['IS Runtime'])"` |
|
|
335
|
+
> | `users[*]` | `string` | `"users": "=js:(['U123ABC', 'U456DEF'])"` |
|
|
308
336
|
>
|
|
309
|
-
> **Strip `[*]` from the key; pass
|
|
337
|
+
> **Strip `[*]` from the key; pass a `=js:` expression returning the array.** The runtime rejects any key containing the literal `[*]` substring as unknown (regardless of value shape), so pass the stripped form in your `node configure --detail` payload. **A literal JSON array (`"users": ["U123ABC", "U456DEF"]`) passes `node configure` and `flow validate` but does not bind — the field round-trips empty.** **Distinct from `customFieldsRequestDetails.parameterValues`**, where `[*]` is encoded as `_array` — see Step 6c.
|
|
310
338
|
>
|
|
311
339
|
> **Expression values.** The serializer is purely structural (dot-expansion only; no expression evaluation, no type coercion). Choose the authoring shape based on what the expression returns at runtime:
|
|
312
340
|
>
|
|
313
341
|
> | Expression resolves to | Authoring shape | Example |
|
|
314
342
|
> |---|---|---|
|
|
315
343
|
> | The whole array | `"<field>": "=<expr>"` | `"fields.labels": "=js:$vars.allTags"` |
|
|
316
|
-
> | A single element to wrap | `"<field>": [
|
|
344
|
+
> | A single element to wrap | `"<field>": "=js:([<expr>])"` | `"fields.labels": "=js:([$vars.priorityTag])"` |
|
|
345
|
+
|
|
346
|
+
> **Connector output shape — derive it from `connectorMethodInfo`, never from vendor-API intuition.**
|
|
347
|
+
>
|
|
348
|
+
> | `connectorMethodInfo.operation` | `output` at runtime | Loop / binding shape |
|
|
349
|
+
> |---|---|---|
|
|
350
|
+
> | `list` | bare **array**; `outputResponseDefinition.fields` describes one element | `"collection": "=js:$vars.<node>.output"` |
|
|
351
|
+
> | anything else (`retrieve`, `create`, `update`, …) | single **object** matching those fields | `=js:$vars.<node>.output.<field>` |
|
|
352
|
+
>
|
|
353
|
+
> Ignore `outputDefinition.output.type` — it says `"object"` even for `list` operations, where the actual output type is an array.
|
|
317
354
|
|
|
318
355
|
The command populates `inputs.detail` and creates workflow-level `bindings` entries. Use **resolved IDs** from Step 4, not display names. For FilterBuilder params, see Step 6a.
|
|
319
356
|
|
|
@@ -677,17 +714,22 @@ For connector-trigger flows, the same pattern applies — top-level `bindings[]`
|
|
|
677
714
|
| Reference field has display name instead of ID | `uip is resources run list` was skipped | Resolve the reference field to get the actual ID (Step 4) |
|
|
678
715
|
| Node faults at runtime with "resource not found" or similar after a clean build and validate | Reference field uses an ID scoped to a **different** connection (common when copying from a prior flow in the same session — e.g., a Slack channel ID from workspace A pasted into a node bound to workspace B's connection) | Re-run `uip is resources run list "<connector-key>" "<objectName>" --connection-id <CURRENT_CONNECTION_ID>`, extract the fresh ID, update `bodyParameters` / `queryParameters` in `--detail`, re-run `node configure`, re-debug. See Step 4 and the top-level Anti-Pattern on reference-ID reuse in [SKILL.md](../../../../../SKILL.md). |
|
|
679
716
|
| Required field missing at runtime | Required input field not provided | Check metadataFile for all `required: true` fields in both `requestFields` and `parameters` |
|
|
717
|
+
| `is resources describe ... -f` fails `No api-type ObjectAction matched for fields [...]` though the action exists in `registry get` | Wrong `--operation` — it scopes the lookup by the IS method label, and the value mapped to the wrong key. Both `connectorMethodInfo.operation` (Data Service query `List`→`GET`, action under `POST`) and `connectorMethodInfo.method` (Jira normalized `GET`, action under `GETBYID`) mislead. | Pass the node definition's `model.context[].method` value verbatim (the IS label): Jira get-by-id → `--operation GETBYID`; Data Service query → `--operation POST`. See Step 3. |
|
|
680
718
|
| `$vars` expression unresolvable | Node outputs block missing or node not connected | Verify the node has edges and upstream outputs are correctly referenced |
|
|
681
719
|
| `connectorMethodInfo` missing method/path | Used `registry get` without `--connection-id` | Re-run with `--connection-id` for enriched metadata (Step 2) |
|
|
682
720
|
| `bindings_v2.json` malformed or stale | It was hand-edited (the CLI overwrites edits on next debug/pack), or top-level `bindings[]` was mutated by hand | Never edit `bindings_v2.json` directly. Re-run `uip maestro flow node configure` on the affected connector node(s) so the CLI re-emits top-level `bindings[]`; `bindings_v2.json` is regenerated from those at the next debug/pack. Compare the emitted shape against the CLI-emitted reference in § Top-level `bindings[]` shape. |
|
|
683
721
|
| Connector key not found | Wrong key name | Run `uip is connectors list --output json` — keys are often prefixed with `uipath-` |
|
|
684
722
|
| FilterBuilder UI shows `undefined` when activity is reopened in Studio Web; flow runs at debug | A raw `queryParameters.<filterParamName>` string was passed instead of a structured filter tree, so `essentialConfiguration.savedFilterTrees.<filterParamName>` is empty. The runtime side works but Studio Web has no tree to render. | Re-run `uip maestro flow node configure` with `--detail '{"filter": {...tree...}}'` — the CLI populates both halves. See Step 6a above and [uipath-platform — Filter Trees (CEQL)](../../../../../../uipath-platform/references/integration-service/activities.md#filter-trees-ceql). |
|
|
685
723
|
| `node configure` fails with `'<name>' is a FilterBuilder parameter — pass a structured filter tree under --detail.filter` | Same root cause — raw string under `queryParameters` for a FilterBuilder param | Move the value into `--detail.filter` as a structured tree. The CLI catches this at configure time so it never reaches Studio Web. |
|
|
686
|
-
|
|
|
724
|
+
| Data Service query returns every record (or faults with malformed CEQL ending in `AND`) though a filter tree was configured; `node configure` reported Success | A filter-tree leaf's field id did not match the entity schema (matching is case-sensitive). The compiler drops unmatched leaves without an error — one bad leaf empties the query string, a bad leaf beside a good one leaves a dangling `AND`. | Compare the tree's field ids against the entity schema — `uip df entities list --output json` for the entity `Id`, then `uip df entities get <entity-id> --output json` for the field names. Re-run `node configure` with the exact ids. See Step 6a. |
|
|
725
|
+
| Node faults `[102003] Integration Services bad request`, IS 400 `"Expected a field name expression but got 'StringValue'"` — `flow validate` passed | Hand-authored CEQL string (e.g. Data Service `queryExpression`) quotes the **field name**: `'accountNumber' = '...'`. CEQL reads a quoted token as a string literal. Only `node configure --detail.filter` builds the expression for you; a string hand-written into the `.flow` JSON reaches IS unchecked. | Field names bare, only values quoted: `` `accountNumber = '${$vars...}'` ``. Or author via `--detail.filter` so the CLI compiles the CEQL. |
|
|
726
|
+
| Node faults `[102003] Integration Services bad request`, IS 400 `"Unsupported value expression 'Column' on field '<field>'"` — `flow validate` passed | Hand-authored CEQL double-quotes the **value**, typically from a concatenation with escaped quotes: `` =js:"accountNumber = \"" + String(v) + "\"" ``. CEQL reads a double-quoted token as a column reference, not a string literal. | Single-quote the value inside the concatenation: `` =js:"accountNumber = '" + String($vars.<node>.output.<field>) + "'" ``. Or author via `--detail.filter`. See [Hand-authored CEQL strings](#hand-authored-ceql-strings). |
|
|
727
|
+
| Node faults `[102003] Integration Services bad request` and the filter uses `eq`, `ne`, `gt`, `ge`, `lt`, or `le` | OData aliases in a hand-authored CEQL string. CEQL accepts only symbol operators. | Replace with `=`, `!=`, `>`, `>=`, `<`, `<=`. See the alias table in [Hand-authored CEQL strings](#hand-authored-ceql-strings). |
|
|
687
728
|
| `node configure` fails with `customFieldsRequestDetails.parameterValues must be an array of [key, value] tuples, not an object map` | Wrote `parameterValues: {key: value}` (object map). Studio Web emits its `Map<string,string\|null>` as `Array.from(entries())` — tuples, not object | Convert to tuples: `[["key", "value"], ...]`. See Step 6c. |
|
|
688
729
|
| Custom fields fault at runtime with token unresolved | A `{token}` in `objectActions[].apiConfiguration.url` or `body` has no entry in `parameterValues` | Re-read the ObjectAction's `apiConfiguration` placeholders, add the missing tuple to `parameterValues`. CLI does not validate token coverage. |
|
|
689
730
|
| `node configure` fails with `customFieldsRequestDetails has unknown keys: ObjectActionName, ParameterValues` | PascalCase inner keys instead of camelCase | Use `objectActionName` / `parameterValues`. Studio Web emits camelCase; PascalCase is rejected. |
|
|
690
|
-
| Field rejected at runtime as unknown (e.g. `"unknown field 'fields.labels[*]'"`) after a clean `flow validate` | `[*]` was left in the `bodyParameters` / `queryParameters` / `pathParameters` key. `[*]` is an array marker from `requestFields[].name`, not part of the wire key. | Strip `[*]` from the key in your `--detail` payload, pass
|
|
731
|
+
| Field rejected at runtime as unknown (e.g. `"unknown field 'fields.labels[*]'"`) after a clean `flow validate` | `[*]` was left in the `bodyParameters` / `queryParameters` / `pathParameters` key. `[*]` is an array marker from `requestFields[].name`, not part of the wire key. | Strip `[*]` from the key in your `--detail` payload, pass a `=js:` expression returning the array, and re-run `node configure`. Fields with `[*].` (segments after the `[*]`) are not authorable. See the array-fields table in Step 6b. |
|
|
732
|
+
| Array field round-trips empty after a clean `flow validate` | Literal JSON array authored for a `[*]` field — validates but does not bind | Author as `=js:` expression returning the array: `"users": "=js:(['U123ABC', 'U456DEF'])"`. See the array-fields table in Step 6b. |
|
|
691
733
|
|
|
692
734
|
### Debug Tips
|
|
693
735
|
|
package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md
CHANGED
|
@@ -271,7 +271,7 @@ uip maestro flow node add <PROJECT>.flow uipath.connector.event.<key>.<event> \
|
|
|
271
271
|
--label "<LABEL>" --position 400,144 --output json
|
|
272
272
|
```
|
|
273
273
|
|
|
274
|
-
Wire an incoming edge into `input` and an outgoing edge from `output` per [editing-operations-json.md — Insert a node between two existing nodes](../../editing-operations-json.md#insert-a-node-between-two-existing-nodes). Downstream reads `$vars.{eventNodeId}.output` (payload) and `$vars.{eventNodeId}.error
|
|
274
|
+
Wire an incoming edge into `input` and an outgoing edge from `output` per [editing-operations-json.md — Insert a node between two existing nodes](../../editing-operations-json.md#insert-a-node-between-two-existing-nodes). Downstream reads `$vars.{eventNodeId}.output` (payload) and `$vars.{eventNodeId}.error`. Wire `error` only when the requirements say what an event-wait failure should do — otherwise leave it unwired and let the failure fault the flow ([file-format.md — Default: off](../../../../shared/file-format.md#default-off--enable-only-for-a-failure-the-flow-actually-handles)).
|
|
275
275
|
|
|
276
276
|
> **The flow still needs a separate start trigger.** A mid-flow event node does **not** start the flow. Do not remove `core.trigger.manual`/`scheduled` or the connector trigger that begins the flow.
|
|
277
277
|
|
|
@@ -494,7 +494,7 @@ uip maestro flow debug . --output json
|
|
|
494
494
|
| Connection not found in bindings | `node configure` not run or connection expired | Re-run `node configure` with valid `connectionId` and `folderKey` |
|
|
495
495
|
| Event parameter missing at runtime | Required event parameter not configured (commonly one returned by `triggers describe` but absent from `triggers objects → parameters[]`) | Re-run **both** `uip is triggers objects` (Step 1b) **and** `uip is triggers describe` (Step 1b-2). Configure every field marked `required` in **either** `parameters[]` or `EventParameters` (resolving references) under the correct `--detail` bucket. |
|
|
496
496
|
| `filterExpression is derived from the filter tree and cannot be provided directly` | Passed `filterExpression` string instead of a `filter` tree | Build a structured `filter` tree — see [Filter Trees](#filter-trees) |
|
|
497
|
-
|
|
|
497
|
+
| Trigger fires on events the filter should exclude; `node configure` reported Success | A leaf `id` does not match any `filterFields.fields[].name` (matching is case-sensitive). The CLI drops the unmatched leaf from the compiled `filterExpression` instead of failing | Re-run `registry get --connection-id <id>`, compare every leaf `id` against `filterFields.fields[].name`, then re-run `node configure` with the exact names |
|
|
498
498
|
| Trigger not firing | Event parameters point to wrong resource (e.g., wrong folder ID) | Re-resolve reference fields with `uip is resources run list` |
|
|
499
499
|
| Trigger faults immediately with no visible error after a clean build | Event parameter uses a reference ID scoped to a **different** connection (common when copying from a prior flow in the same session — e.g., a `parentFolderId` for mailbox A pasted into a trigger bound to mailbox B's connection) | Re-run `uip is resources run list "<connector-key>" "<objectName>" --connection-id <CURRENT_CONNECTION_ID>`, extract the fresh ID, update `eventParameters` in `--detail`, re-run `node configure`, re-debug. See Step 3 and the top-level Anti-Pattern on reference-ID reuse in [SKILL.md](../../../../../SKILL.md). |
|
|
500
500
|
| Definition's `model.context` missing operation | Definition not copied correctly, or node added before registry pull | Re-run `uip maestro flow registry pull --force`, then verify the `definitions[]` entry contains `model.context` with `connectorKey`/`operation`/`objectName` as returned by `registry get` |
|
|
@@ -511,4 +511,4 @@ uip maestro flow debug . --output json
|
|
|
511
511
|
5. **Bindings are auto-managed** — `node configure` creates flow-level bindings; `flow debug`/packaging generates `bindings_v2.json` from them
|
|
512
512
|
6. **Use `uip maestro flow node remove` to remove the manual trigger** — do NOT use `Edit` to delete the start node. The CLI automatically removes associated edges, orphaned definitions, and regenerates `variables.nodes`. Hand-editing skips these cleanup steps and can leave orphaned references.
|
|
513
513
|
7. **Check `outputResponseDefinition` before writing downstream expressions** — trigger output field names vary by connector. Do not assume field names like `.text` or `.subject` — verify from the enriched `registry get` response (Step 2)
|
|
514
|
-
8. **Validate filter field names against `filterFields
|
|
514
|
+
8. **Validate filter field names against `filterFields` yourself** — only field names returned in `filterFields.fields[].name` are valid leaf `id`s in the filter tree, and matching is case-sensitive. The CLI no longer rejects an unknown field at configure time: it drops that leaf from the compiled `filterExpression` and reports Success. A guessed name therefore surfaces as a trigger that fires on events the filter should exclude, not as an error.
|
package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-connector.md
CHANGED
|
@@ -13,6 +13,8 @@ uip maestro flow node add <ProjectName>.flow core.action.http.v2 \
|
|
|
13
13
|
--label "<HTTP node label>" --output json
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
> **Inside a loop body?** Add `--parent <LOOP_NODE_ID>` to set `parentId`. Without it, the node runs outside the loop context and outputs are null. See [loop/impl.md](../loop/impl.md).
|
|
17
|
+
|
|
16
18
|
The CLI copies the manifest into `definitions[]`, adds the node instance, registers `variables.nodes`, and inserts a `layout.nodes` placeholder — byte-for-byte from the registry. Save the returned `<nodeId>` — Steps 2 and 3 reuse it. Leave `inputs` empty; Step 3 populates `inputs.detail`. Do not hand-author the definition — see [impl.md — Add the node](impl.md#add-the-node).
|
|
17
19
|
|
|
18
20
|
## Step 2 — Identify target connection
|
|
@@ -75,7 +77,7 @@ Skip unless you need to route downstream paths based on response content (e.g.,
|
|
|
75
77
|
|
|
76
78
|
## Step 5 — Wire edges
|
|
77
79
|
|
|
78
|
-
The HTTP node's target port is `input`. Source ports: `default` (success), `error` (network/non-2xx), `branch-{id}` (one per Step 4 entry). Wire `default` to the next node
|
|
80
|
+
The HTTP node's target port is `input`. Source ports: `default` (success), `error` (network/non-2xx), `branch-{id}` (one per Step 4 entry). Wire `default` to the next node. Wire `error` to a handler **only when the requirements say what a failed call should do** — with no `error` edge the call faults the flow, which is the correct default, and setting `inputs.errorHandlingEnabled: true` without the edge swallows the failure into a run that reports success. See [file-format.md — Default: off](../../../../shared/file-format.md#default-off--enable-only-for-a-failure-the-flow-actually-handles).
|
|
79
81
|
|
|
80
82
|
Edge JSON shapes and all four examples (upstream→node, default→downstream, error→handler, branch→downstream): [impl.md — Wire edges](impl.md#wire-edges).
|
|
81
83
|
|
|
@@ -13,6 +13,8 @@ uip maestro flow node add <ProjectName>.flow core.action.http.v2 \
|
|
|
13
13
|
--label "<HTTP node label>" --output json
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
> **Inside a loop body?** Add `--parent <LOOP_NODE_ID>` to set `parentId`. Without it, the node runs outside the loop context and outputs are null. See [loop/impl.md](../loop/impl.md).
|
|
17
|
+
|
|
16
18
|
The CLI copies the manifest into `definitions[]`, adds the node instance, registers `variables.nodes`, and inserts a `layout.nodes` placeholder — byte-for-byte from the registry. Save the returned `<nodeId>` — Step 2 reuses it. Leave `inputs` empty; Step 2 populates `inputs.detail`. Do not hand-author the definition — see [impl.md — Add the node](impl.md#add-the-node).
|
|
17
19
|
|
|
18
20
|
## Step 2 — Configure the node
|
|
@@ -54,7 +56,7 @@ Skip unless you need to route downstream paths based on response content (e.g.,
|
|
|
54
56
|
|
|
55
57
|
## Step 4 — Wire edges
|
|
56
58
|
|
|
57
|
-
The HTTP node's target port is `input`. Source ports: `default` (success), `error` (network/non-2xx), `branch-{id}` (one per Step 3 entry). Wire `default` to the next node
|
|
59
|
+
The HTTP node's target port is `input`. Source ports: `default` (success), `error` (network/non-2xx), `branch-{id}` (one per Step 3 entry). Wire `default` to the next node. Wire `error` to a handler **only when the requirements say what a failed call should do** — with no `error` edge the call faults the flow, which is the correct default, and setting `inputs.errorHandlingEnabled: true` without the edge swallows the failure into a run that reports success. See [file-format.md — Default: off](../../../../shared/file-format.md#default-off--enable-only-for-a-failure-the-flow-actually-handles).
|
|
58
60
|
|
|
59
61
|
Edge JSON shapes and all four examples (upstream→node, default→downstream, error→handler, branch→downstream): [impl.md — Wire edges](impl.md#wire-edges).
|
|
60
62
|
|
|
@@ -172,7 +172,9 @@ Use `Edit` to add edge objects to `edges[]`; do not use `uip maestro flow edge a
|
|
|
172
172
|
}
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
Add the `error` edge above **only when the requirements say what should happen if the call fails.** With no error edge, a failed call faults the flow — the correct, visible default.
|
|
176
|
+
|
|
177
|
+
When an HTTP node does have an outgoing `error` edge, the HTTP node instance must also include `inputs.errorHandlingEnabled: true`. `uip maestro flow edge add --source-port error` and `uip maestro flow format` set this automatically; direct JSON edits must set it explicitly. Never set the flag on an HTTP node with no error edge — it suppresses the fault, so a failed call flows on and the run reports success. See [file-format.md — Default: off](../../../../shared/file-format.md#default-off--enable-only-for-a-failure-the-flow-actually-handles).
|
|
176
178
|
|
|
177
179
|
```json
|
|
178
180
|
{
|
|
@@ -194,5 +196,6 @@ When an HTTP node has an outgoing `error` edge, the HTTP node instance must also
|
|
|
194
196
|
| Connection not found | Wrong connection ID or connector key | Re-run `uip is connections list` for the target connector |
|
|
195
197
|
| Wrong API response | Incorrect `url` or `query` | Check the target service's API documentation |
|
|
196
198
|
| `ImplicitConnection` errors | Manual mode misconfigured | Verify `authentication: "manual"` and `url` is a full URL |
|
|
197
|
-
| Flow faults on 4xx/5xx response | No `error` edge wired from the HTTP node |
|
|
199
|
+
| Flow faults on 4xx/5xx response | No `error` edge wired from the HTTP node | Expected when the requirements specify no fallback. If they do, add an edge with `sourcePort: "error"` to an error-handler node. See [Implicit error port on action nodes](../../../../shared/file-format.md#implicit-error-port-on-action-nodes) — same mechanism applies to all action nodes |
|
|
200
|
+
| Flow reports `Completed` but the API call failed | `inputs.errorHandlingEnabled: true` with no handler, or an `error` edge routed into the happy path / the success End node | Remove the flag when there is no error edge; otherwise repoint the error edge at a distinct End node with an error/status output, or at `core.logic.terminate`. See [Do not swallow the failure](../../../../shared/file-format.md#do-not-swallow-the-failure) |
|
|
198
201
|
| Edge `source-port output` rejected | Referencing the variable namespace as a port name | HTTP source ports are `default`, `error`, and `branch-{id}` — not `output`. The `output` name is only a variable namespace (`$vars.{nodeId}.output`) |
|