@uipath/skills 1.207.0-preview.2320 → 1.207.0-preview.2339

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.
Files changed (35) hide show
  1. package/package.json +1 -1
  2. package/skills/uipath-maestro-bpmn/SKILL.md +1 -1
  3. package/skills/uipath-maestro-bpmn/references/bpmn-runtime.md +6 -0
  4. package/skills/uipath-maestro-bpmn/references/connectors.md +2 -0
  5. package/skills/uipath-maestro-case/SKILL.md +12 -3
  6. package/skills/uipath-maestro-case/references/case-runtime.md +106 -0
  7. package/skills/uipath-maestro-flow/references/CLI-LOOP.md +14 -1
  8. package/skills/uipath-maestro-flow/references/brownfield.md +12 -0
  9. package/skills/uipath-maestro-flow/references/connector-params.md +1 -1
  10. package/skills/uipath-maestro-flow/references/ixp.md +1 -1
  11. package/skills/uipath-maestro-flow/references/operate.md +1 -1
  12. package/skills/uipath-maestro-flow/references/patterns/voice-agents-guide.md +3 -1
  13. package/skills/uipath-maestro-flow/references/switch.md +3 -1
  14. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +3 -3
  15. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +3 -3
  16. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +5 -4
  17. package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +1 -1
  18. package/skills/uipath-planner/assets/templates/case-sdd-template.md +10 -7
  19. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +3 -3
  20. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +8 -4
  21. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +7 -4
  22. package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +3 -2
  23. package/skills/uipath-planner/references/design/case-product-guide.md +16 -4
  24. package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +44 -8
  25. package/skills/uipath-planner/references/design/scope-recommendation-guide.md +3 -1
  26. package/skills/uipath-planner/references/design/sdd-writing-guide.md +7 -6
  27. package/skills/uipath-planner/references/edit/edit-guide.md +1 -1
  28. package/skills/uipath-planner/references/shared/genome-format-guide.md +2 -2
  29. package/skills/uipath-planner/references/shared/product-selection-guide.md +1 -1
  30. package/skills/uipath-planner/references/shared/sdd-from-genome-guide.md +1 -1
  31. package/skills/uipath-planner/scripts/case-draft-parity.mjs +133 -0
  32. package/skills/uipath-planner/scripts/case-sdd-check.mjs +319 -0
  33. package/skills/uipath-planner/scripts/check-genome.mjs +50 -6
  34. package/skills/uipath-planner/scripts/scope-check.mjs +38 -0
  35. package/version-manifest.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/skills",
3
- "version": "1.207.0-preview.2320",
3
+ "version": "1.207.0-preview.2339",
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"
@@ -190,7 +190,7 @@ Match one name — do not read either end to end — then read the span it gives
190
190
  | Exclusive, inclusive, parallel, event-based | gateway methods | [GatewayOpts](#api-index) | `examples/NotifyChannel.bpmn.ts` |
191
191
  | Decision, parallel split, or wait-for-first, written in place | `choose`, `fork`, `race`, `goto` | [ChooseArm](#api-index) | `examples/InvoiceEscalation.bpmn.ts` |
192
192
  | Safety net for a whole scope | `eventSubProcess` | [Event sub-process scope](references/bpmn-runtime.md#events-and-timers) | `examples/InvoiceEscalation.bpmn.ts` |
193
- | Script and assignment tasks | `scriptTask`, `task` | [Script tasks](references/bpmn-runtime.md#script-tasks) | `examples/ContractRegistry.bpmn.ts` |
193
+ | Script and assignment tasks (`scriptTask` computes: totals, counts, decisions; `task` only assigns) | `scriptTask`, `task` | [Script tasks](references/bpmn-runtime.md#script-tasks) | `examples/ContractRegistry.bpmn.ts` |
194
194
  | HTTP requests | `http` | [HTTP](references/bpmn-runtime.md#http-and-orchestrator-work) | `examples/InvoiceEscalation.bpmn.ts` |
195
195
  | Orchestrator jobs and queues | start/execute/queue methods | [Work dispatch](references/bpmn-runtime.md#http-and-orchestrator-work) | `examples/InvoiceApproval.bpmn.ts` |
196
196
  | A deployed business rule | `businessRule` | [Work dispatch](references/bpmn-runtime.md#http-and-orchestrator-work) | — |
@@ -135,6 +135,10 @@ make from syntax alone. Exact signatures remain in the generated API.
135
135
 
136
136
  ## Script tasks
137
137
 
138
+ <!-- RULE:bpmn.script.compute-step -->
139
+ - A new step whose job is computation (totalling or counting over a collection, filtering, combining several values, deciding) is a `.scriptTask()`, in any pattern or composition outside a draft skeleton (bare `.task()` only there).
140
+ `.task()` with `set` assigns or copies values (a per-item append, a status flag, one simple expression). The designer shows a `set` task as an Assign step, so a computation hidden in it is not visible as a Script step. Leave existing `.task()`/`set` steps in an imported file as they are.
141
+
138
142
  <!-- RULE:bpmn.script.result-response -->
139
143
  - A script task (`scriptVersion` v3, what `.scriptTask()` writes) returns its value and the runtime wraps it as `result.response`.
140
144
  Read it as `=result.response` for a scalar, or `=result.response.<field>` for one field of a returned object; never `=result.<field>`, which reads nothing.
@@ -294,6 +298,8 @@ make from syntax alone. Exact signatures remain in the generated API.
294
298
  These builders take no `outputRows`, and only `.startAgenticProcess()` / `.startCaseProcess()` take `async`: an older SDK drops either silently, a newer one refuses it (`BPMN_UNKNOWN_OPTION`).
295
299
  `outputVar` (default `<id>_processResponse`) holds the job envelope, not the arguments; do not read an argument out of it with a `=js:` chain.
296
300
  The argument name is the workflow's own output argument, as the deployed process declares it; when no live run has shown it, say the mapping is unverified.
301
+ The source is an expression, not a key: a name that is not an identifier (`test-123`, a space, unicode) is read with brackets, `outputs: { test123: '=this["test-123"]' }`, which writes `source="=this[&quot;test-123&quot;]"`.
302
+ The expression holds the name exactly as declared, with no escaping (a TypeScript string literal still needs its own escapes); an empty name or one containing `"` or `]` cannot be mapped, so report it as unsupported. A bare `=result.test-123` is subtraction: it stores a wrong number (`27` when `result.test` is `150`) or leaves the variable empty, with no error.
297
303
 
298
304
  <!-- RULE:bpmn.http.manual -->
299
305
  - A plain HTTP call with no connection is `.http(id, { url, method, parameters, headers, body })` with no `connection`.
@@ -104,6 +104,8 @@ uip maestro registry prepare uipath-atlassian-jira --action create-issue \
104
104
  `--object`, `--resolve` and `-f NAME=VALUE` compose in a single invocation.
105
105
  It discovers the connection itself (`--connection` or `--connection-folder` picks among several), writes `./.flow-sdk/bindings.json` under the names your source already uses, and writes the resolved schema and the recorded ids to `./.flow-sdk/connectors-local/` (its `--help` names `./bindings.json` and `./connectors-local/`, but it writes under `.flow-sdk/`).
106
106
 
107
+ When `--resolve` reports no matching record, the value is absent on that connection only. Re-run the same `prepare` with `--connection-id <ID>` (or `--connection-folder`) for each other Enabled connection (its error lists them; else `uip is connections list`), and treat the value as absent (ask the user, or `Assumed:` as above) only after every one misses. `prepare` scans every page. Never decide a value is absent from `uip is resources run list`: it returns one page, and `Data.Pagination.HasMore: true` means more records exist.
108
+
107
109
  Then re-run `check` and compile from the directory you ran `prepare` in. `compile` reads `.flow-sdk/bindings.json` and both read `.flow-sdk/connectors-local/` under the current directory, not beside the source: from any other directory, `compile` writes a stand-in connection id, not the one `prepare` bound. When you must run from elsewhere, pass the paths explicitly:
108
110
 
109
111
  ```bash
@@ -42,12 +42,13 @@ three entry points; each file's header spells the paths its rows resolve against
42
42
 
43
43
  | Surface | Builder/API | Reference | Example |
44
44
  |---|---|---|---|
45
- | Case, stages, and completion | `casePlan`, `stage`, `completeWhen`; SDD `Stage Kind: secondary` is `exceptionStage`, an optional task or stage (SDD `Required` / `Required for Case Completion: No`) gets `.required(false)`, and a gating one `.required()` ([optionality](references/case-runtime.md#completion-and-optionality)) | [CaseBuilder](#api-index) | `examples/ClaimReviewSLA.case.ts` |
45
+ | Case, stages, and completion | `casePlan`, `identifier`, `stage`, `completeWhen`; the SDD row labelled exactly `Case Identifier` replaces the `.identifier` decompile seeded (`Type: constant` with `Prefix: X` is `.identifier('X')`, `Type: external` with `Source: <expr>` is `.identifier('<expr>', 'external')`; the `Case Identifier source` row is not an identifier); SDD `Stage Kind: secondary` is `exceptionStage`, an optional task or stage (SDD `Required` / `Required for Case Completion: No`) gets `.required(false)`, and a gating one `.required()` ([optionality](references/case-runtime.md#completion-and-optionality)) | [CaseBuilder](#api-index) | `examples/ClaimReviewSLA.case.ts` |
46
46
  | Variables and arguments | `var`, `input`, `output`, `jsonSchema`. A numeric case variable is `'integer'`, `'float'` or `'double'`, never `'number'` ([closed types](references/case-runtime.md#metadata-fidelity)) | [CaseBuilder](#api-index) | `examples/IntakeBinding.case.ts`, `examples/CreditDecision.case.ts` |
47
47
  | Manual, timer, and event starts | `manualTrigger`, `timerTrigger`, `eventTrigger` | [Trigger decisions](references/case-runtime.md#triggers-and-live-payloads) | `examples/NightlyRollup.case.ts` |
48
48
  | A task's outputs, and reading them from a later task or gate (SDK 6.70.7+) | `outputs`: the source is the result field as the Designer saves it, `=<Field>` on every task that runs published work (agent, process, RPA, API workflow, case management, flow process, function, business rule: `AgentExpenseRequest: '=AgentExpenseRequest'`) and `=response.<field>` only on a connector or wait-for-connector task, or on a task whose own output argument is an object named `response` ([Design fidelity](references/case-runtime.md#design-fidelity)); a key equal to the source's last segment (`app_id: '=response.app_id'`) keeps the output on the task, with no case variable, unless a `.var()` of that name exists or another task uses the same key (then both write one shared case variable; give the second task the suffixed key, `Result2: '=Result'`, to keep it on its task); `taskOutput('<stage>', '<task>', '<output>')`, or the SDD's `vars.$xref(...)` as written, reads it, where `<output>` is the result field it reads or its `outputs` key, and an unknown name is refused (`TASK_OUTPUT_REF_UNRESOLVED`) | [TaskBuilder, taskOutput](#api-index) | — |
49
- | Entry, exit, and data gates | `rule`, `when` | [Rules](#api-index) | `examples/ClaimReviewSLA.case.ts` |
49
+ | Entry, exit, and data gates; a stage that exits to several stages | `rule`, `when`, `exitToStage` | [Rules](#api-index), [Stage routing](references/case-runtime.md#stage-routing) | `examples/ClaimReviewSLA.case.ts` |
50
50
  | Business events an outside system sends to a running case | `businessEvent`, `rule('api-event', { businessEvent })` (SDK 6.47.0+) | [CaseBuilder, Rules](#api-index) | — |
51
+ | A task that failed, or that a person ended: start a fallback task, or leave the stage for review | `rule('task-exited', { tasks, exitReasons?, errorCategories? })` on a task entry or a non-completing stage exit; `exitOnTaskFailure`, `taskExitRules` (SDK 6.125.0+ and `uip` 1.207.0+; an older SDK answers `UNKNOWN_RULE`) | [Task exit rules](references/case-runtime.md#task-exit-rules) | — |
51
52
  | Published UiPath work | `process`, `agent`, `rpa`, `apiWorkflow`, `caseManagement`, `flowProcess`, `unresolved` | [TaskBuilder](#api-index) | `examples/ClaimReviewSLA.case.ts` |
52
53
  | Business rules (decision tables) | `businessRule` (SDK 6.34.0+) | [TaskBuilder](#api-index) | `examples/CreditDecision.case.ts` |
53
54
  | Deployed Coded Functions | `function` (SDK 6.47.1+) | [TaskBuilder](#api-index) | — |
@@ -62,7 +63,7 @@ three entry points; each file's header spells the paths its rows resolve against
62
63
  | Deadlines and escalation | `sla`, `escalation`, `toUser`, `toGroup` | [SLA](references/case-runtime.md#sla-and-runtime-semantics) | `examples/ClaimReviewSLA.case.ts` |
63
64
  | Case App and layout | `caseApp`, `layout` | [CaseBuilder](#api-index) | `examples/ClaimReviewSLA.case.ts` |
64
65
  | Existing Case plans | `case decompile --no-pipeline`, then `compile -o <plan>` | [Brownfield](references/case-runtime.md#brownfield-editing) | `examples/ClaimReviewSLA.case.ts` |
65
- | Task activation modes (parallel, parallel-after-predecessor, sequential) | `rule('runs-sequentially')`, `.task(name, fn, { lane })` | [Activation modes](references/case-runtime.md#activation-modes) | `examples/PermitIssuance.case.ts` |
66
+ | Task activation modes (parallel, parallel-after-predecessor, sequential) | `rule('runs-sequentially')`, `.task(name, fn, { lane })`; chain: [one `lane` per task](#minimal-shape) | [Activation modes](references/case-runtime.md#activation-modes) | `examples/PermitIssuance.case.ts` |
66
67
 
67
68
  ## Minimal shape
68
69
 
@@ -100,6 +101,14 @@ An array in one `entryWhen`, `exitWhen` or `completeWhen` call ANDs its rules; e
100
101
  .entryWhen(rule('selected-stage-exited', { stage: 'Manager Approval', expression: '=js:vars.managerDecision === "Return"' })) // Entry Rule 2
101
102
  ```
102
103
 
104
+ `runs-sequentially` orders tasks only across lanes. For SDD tasks whose Entry Condition is `runs-sequentially`, pass `{ lane: N }` as the third argument of `.task()`, numbering each stage's sets 0, 1, 2… in SDD order with no gaps: one number per task of a chain. `runs-sequentially` tasks with the same `lane`, or with none (lane 0), start together: never give a chain one shared `lane`. Share a number only among siblings the SDD's Activation Mode marks `parallel-after-predecessor`; a `parallel` task (no `runs-sequentially`) takes none ([Activation modes](references/case-runtime.md#activation-modes)).
105
+
106
+ ```ts
107
+ .task('Validate', t => t.process('validate').entryWhen(rule('runs-sequentially')), { lane: 0 })
108
+ .task('Enrich', t => t.process('enrich').entryWhen(rule('runs-sequentially')), { lane: 1 })
109
+ .task('Notify', t => t.process('notify').entryWhen(rule('runs-sequentially')), { lane: 2 })
110
+ ```
111
+
103
112
  ## Validation loop
104
113
 
105
114
  ```bash
@@ -255,6 +255,43 @@ make from syntax alone. Exact signatures remain in the generated API.
255
255
  - Whether a skipped task satisfies a completion rule is runtime behavior. For a
256
256
  critical bypass, use a separate expression-gated exit or prove the path live.
257
257
 
258
+ ## Stage routing
259
+
260
+ <!-- RULE:case.exit.branch-entry -->
261
+ - `exitToStage` on an `exit-only` exit does not route at run time: the
262
+ runtime drops the target and, when a stage completes or exits, enters every
263
+ stage whose entry holds. A destination enters on `selected-stage-completed`
264
+ when its exit marks the stage complete, and on `selected-stage-exited` when
265
+ it does not. Without an expression, either holds for every exit of its kind
266
+ out of that stage, so a stage that branches several ways opens every
267
+ destination at once. Gate each destination's entry so only its own branch
268
+ opens it:
269
+
270
+ ```ts
271
+ .stage('Review', s => s
272
+ .entryWhen(rule('selected-stage-completed', { stage: 'Triage', expression: '=js:vars.route === "review"' })))
273
+ ```
274
+
275
+ Copy each exit's expression when the exits' expressions exclude one
276
+ another; otherwise rewrite the gates until they do. A fallback exit with no
277
+ expression gates its destination on the negation of the others
278
+ (`=js:!(vars.amount > 1000)`). When the exits differ only by which task
279
+ completed, have every deciding task write one shared variable, each its own
280
+ value, and gate on that value. A variable only one task writes keeps its
281
+ value when the stage runs again, so that task's destination opens again on
282
+ a later pass. The SDK's `exitToStage` doc comments say the exit routes and
283
+ suggest a `selected-tasks-completed` stage entry; `validate` refuses that
284
+ rule in a stage entry (`CASE_MGMT_RULE_SLOT_MISMATCH`).
285
+
286
+ A `wait-for-user` exit's destination enters on `user-selected-stage`, since
287
+ a person picks the onward stage; this rule does not gate it.
288
+
289
+ With an SDD, each entry row's IF is that entry's gate, and
290
+ `validate --strict --sdd` refuses an expression on a row whose IF is blank
291
+ (`STRICT_SDD_CONDITION_EXPRESSION_UNDECLARED`). When the SDD leaves IF blank
292
+ on a destination this rule gates, send the SDD back through the planner to
293
+ add the IF before building that stage.
294
+
258
295
  ## Completion and optionality
259
296
 
260
297
  <!-- RULE:case.exit.non-completing -->
@@ -310,6 +347,75 @@ make from syntax alone. Exact signatures remain in the generated API.
310
347
  task gets the same explicit `lane`. Every `runs-sequentially` task needs an
311
348
  explicit `lane`.
312
349
 
350
+ ## Task exit rules
351
+
352
+ <!-- RULE:case.task-exit.semantics -->
353
+ - A `task-exited` rule reacts to a task of its own stage that ended without
354
+ completing: `failed` (the task failed on its own, after its retries) or
355
+ `userExited` (a person ended the running task through the exit API). A task
356
+ the case itself cancelled (an interrupting stage) is neither and fires no
357
+ rule. The rule fires once EVERY task it names has exited; for "any one of
358
+ them", write one rule per task. An exited task does not satisfy
359
+ `required-tasks-completed`: the stage stays open until a rule moves the case
360
+ on, or an operator re-runs the task.
361
+
362
+ <!-- RULE:case.task-exit.placement -->
363
+ - Put the rule on the entry of the task that should start (a manual fallback),
364
+ or on an exit of the failing task's stage with `{ marksStageComplete: false }`
365
+ and enter the next stage with `rule('selected-stage-exited', { stage })`.
366
+ Elsewhere the rule is written and never fires: at a stage entry, on an exit
367
+ that marks the stage complete (unless `type: 'wait-for-user'`), or at case
368
+ completion (`check`: `TASK_EXITED_PLACEMENT`;
369
+ `validate`: `CASE_MGMT_CASE_CONDITION_RULE_TASK_EXITED_NOT_HERE`; at a stage
370
+ entry `validate` also refuses it, `CASE_MGMT_RULE_SLOT_MISMATCH`). Name only
371
+ tasks of the rule's own stage (`TASK_EXITED_TASK_OUTSIDE_STAGE`), and never
372
+ the task whose entry holds the rule: that re-runs it after every failure
373
+ until the case guardrail stops the loop (`TASK_EXITED_SELF_RERUN`).
374
+
375
+ ```ts
376
+ // --- stage 'Intake' ---
377
+ .exitWhen(rule('task-exited', { tasks: ['Fetch Policy'], exitReasons: ['failed'], errorCategories: ['Deployment'] }),
378
+ { displayName: 'Fetch failed to deploy', marksStageComplete: false })
379
+ .task('Enter Policy By Hand', t => t.action({ title: 'Enter the policy' }).required(false)
380
+ .entryWhen(rule('task-exited', { tasks: ['Fetch Policy'] })))
381
+ // --- stage 'Review' ---
382
+ .entryWhen(rule('selected-stage-exited', { stage: 'Intake' }))
383
+ ```
384
+
385
+ <!-- RULE:case.task-exit.filters -->
386
+ - `exitReasons` narrows the rule to `failed`, `userExited`, or both; omit it
387
+ for either. `errorCategories` (`User`, `System`, `Deployment`) applies only
388
+ to a failures-only rule (`exitReasons: ['failed']`): only a failure carries an
389
+ error, and the platform ignores the filter on any other rule
390
+ (`TASK_EXITED_FILTER_IGNORED`). Anything finer than the category, such as the
391
+ error code or message, is an `expression` over the task's error, not a
392
+ filter.
393
+
394
+ <!-- RULE:case.task-exit.flags -->
395
+ - A plan with a `task-exited` rule compiles with both case flags on,
396
+ `caseExecutionExitsOnTaskFailure` (a failing task exits and the case keeps
397
+ running instead of faulting) and `caseExecutionUsesTaskExitRules` (the rules
398
+ react to exits). Call `.exitOnTaskFailure()` on the `casePlan()` chain alone
399
+ for a case that wants the exit behaviour without a rule. Call
400
+ `.exitOnTaskFailure(false)` or `.taskExitRules(false)` only to keep the old
401
+ behaviour, which makes every `task-exited` rule a no-op
402
+ (`TASK_EXITED_IGNORED`). A decompiled plan carries the calls explicitly, so
403
+ keep them.
404
+
405
+ <!-- RULE:case.task-exit.cli -->
406
+ - The rule needs an SDK and a `uip` that both know it: SDK 6.125.0 or later
407
+ and `uip` 1.207.0 or later. An SDK without it answers `UNKNOWN_RULE`
408
+ (`Unknown rule "task-exited"`) at `check --source`.
409
+ A `uip` that knows it lists `task-exited` under `task-entry` and `stage-exit`
410
+ in `uip maestro case rule-types list --output json`; one that does not
411
+ rejects the rule at `validate` as an invalid discriminator.
412
+ Upgrade the one that is behind (the SDK with `npm install -g
413
+ @uipath/maestro-builder-sdk@latest`), then compile. If `uip` still does not
414
+ list `task-exited` after the upgrade, no `uip` on this machine supports the
415
+ rule yet: stop and tell the user. Do not author the rule, and never write a
416
+ different rule in its place. Never remove a rule the plan already has to
417
+ pass.
418
+
313
419
  ## Design fidelity
314
420
 
315
421
  <!-- RULE:case.sdd.declared-shapes -->
@@ -112,13 +112,26 @@ Emit-only rules—mode selection by `package.json`, and `compile`/`check` behavi
112
112
 
113
113
  The JSON envelope has top-level `Result`; successful validation also reports `Data.Status: "Valid"` and may contain `Data.Warnings`. Treat warnings as failures except the reviewed shared-connection advisory and `err()` read diagnostics in [`error-handling.md`](error-handling.md#reading-the-failure). Preserve an exception's exact code/text and rationale; do not broaden the allowlist.
114
114
 
115
+ `[UNRESOLVED_BINDING]`: the `.flow` lacks the `bindings[]` row a step's `<bindings.NAME>` placeholder needs, and Studio Web refuses to publish it. Re-emit once through the loop in use, then validate again:
116
+
117
+ - A new flow: `compile` its source.
118
+ - An existing `.flow`, connection placeholder: decompile it (`--no-pipeline`) and `merge` it back ([the safe project loop](brownfield.md#the-safe-project-loop)).
119
+ - An existing `.flow`, any other placeholder (queue, IxP): merge does not restore those rows; report the node and placeholder.
120
+ - [A supplied source](brownfield.md#a-supplied-source): rerun its merge. Do not decompile, even though the warning says to: decompile overwrites the supplied source.
121
+
122
+ Merge's warning that it writes a missing binding row is [that repair](brownfield.md#merge-warnings-what-the-round-trip-changed), not a failure. Validate reads only the `.flow`, so `bindings.json`, `bindings_v2.json` and solution resources cannot explain it.
123
+
124
+ A connection placeholder still there after the merge: update the SDK copy `uip` runs, `npm install --save-dev @uipath/maestro-builder-sdk@latest` when the workspace has `node_modules/@uipath/maestro-builder-sdk` (that copy runs first), else `npm install -g @uipath/maestro-builder-sdk@latest`, and merge once more. Any other placeholder, or still there: report the node and placeholder.
125
+
126
+ A warning with no fix in this skill gets one bounded experiment ([below](#bounded-completion)), then is reported as a failure with its code and node.
127
+
115
128
  ### Bounded completion
116
129
 
117
130
  Match final evidence to the acceptance bar after the last edit:
118
131
 
119
132
  - Validate-only: require `Data.Status: "Valid"` plus the required structural self-check, then stop; do not debug merely for confidence.
120
133
  - For each distinct behavior claim named by the bar, plan at most one bounded debug with inputs/attachments that exercise it; combine compatible claims and do not repeat equivalent inputs.
121
- - If one unknown blocks final wiring, run one bounded experiment distinguishing the choices, apply its answer, and return to final emit/validate. Do not create scratch-solution families.
134
+ - If one unknown blocks final wiring, run one bounded experiment distinguishing the choices, apply its answer, and return to final emit/validate. If it does not settle the choice, stop experimenting: ask, or headless, take the most defensible choice and list it under Open questions. Do not create scratch-solution families.
122
135
 
123
136
  If evidence cannot be obtained within the bound, report the evidence boundary rather than repeating debug launches.
124
137
 
@@ -168,6 +168,16 @@ flow-merge: wrote bindings_v2.json (connection and agent resource rows, re-deriv
168
168
  - In a Flow project, copy `bindings_v2.json` with the merged `.flow`; it contains re-derived connection and agent rows, so removed indexes or swapped connections are no longer declared.
169
169
  - A stub connection label (`connection: "jira"`) resolves through edited-source `bindings.json`. Edit it to the connection id or fill `bindings.json`; merge writes the id and drops stub rows.
170
170
 
171
+ ### Swapping a connection
172
+
173
+ A swap edits only the step's `connection:` and `folder:`:
174
+
175
+ 1. `uip is connections list <CONNECTOR_KEY> --all-folders --output json`: take the requested connection's `Id` and `FolderKey`. A folder name or several matches: [where both values come from](bindings.md#where-both-values-come-from).
176
+ 2. Decompile, set that step's `connection:` to the `Id` and `folder:` to the `FolderKey`, then check, merge and validate as in [the safe project loop](#the-safe-project-loop). Merge rewrites the step's `bindings[]` rows and `bindings_v2.json`.
177
+ 3. An input holding an id looked up through the old connection (a Slack channel, a Jira issue type) may not exist behind the new one: re-run `uip maestro registry prepare <CONNECTOR_KEY> --action <ACTION> --connection-id <ID>`, picking each such value again by name (`--resolve <field>:name=<display name>`, [connector-params.md](connector-params.md#resolving-connection-scoped-reference-values)); the decompiled source holds only the old id.
178
+
179
+ No other step: do not read solution resource files or compile a scratch copy.
180
+
171
181
  ## Flows with draft nodes: let merge compile
172
182
 
173
183
  A canvas flow may contain draft nodes: connector without connection, empty required input, generic operation without object, `waitForEvent` without connection, Transform without collection, or decision without condition. A draft trigger or connector tool still must be finished. Decompile carries each saved definition and marks `{ draft: true }`; compile warns `⚠ [CONNECTOR_INPUT_MISSING] ... Written as a draft`. Leave drafts unless requested. Examples: decision becomes `.branch("decision1", undefined, (t) => ..., (e) => ..., { draft: true })`; Transform becomes `transform({ operations: [] })` with `{ draft: true }`. `waitForEvent`, Transform, and decision drafts require SDK 6.86.5+; older SDKs refuse with `BINDING_MISSING`, `TRANSFORM_COLLECTION_LITERAL`, or `EXPR_SYNTAX`.
@@ -254,6 +264,8 @@ flow-merge: warning: the merged edge route1@case-case_1 -> review1@input leaves
254
264
  writing. A warning about a merged edge's handle means `validate` will refuse
255
265
  the merged file.
256
266
 
267
+ `node "<id>" spells <bindings.NAME> but the original has no binding row for it, … merge writes the row …` is a repair, not a failure: the original lacked a row Studio Web needs to publish. Keep it; `validate` is the check.
268
+
257
269
  `the round trip appends End "<id>" after …` is benign: compile caps a path that simply stops and does not change behavior. A `.openTails()` flow gets it only after a human task; see [A path without an End stays open](#a-path-without-an-end-stays-open).
258
270
 
259
271
  `agent "<id>" carries its prompts, model and settings on the node (embedded) …` means configuration is in `.flow`, not `<source>/agent.json`; merge keeps it embedded and applies node edits (input, output, label).
@@ -130,7 +130,7 @@ connector('uipath-microsoft-azureactivedirectory', 'list-groups',
130
130
  The artifact must contain both runtime `inputs.detail.queryParameters.where` and design-time `configuration.essentialConfiguration.savedFilterTrees.where`. Studio Web renders the FilterBuilder from the tree; product
131
131
  validation rejects a literal filter that has only one of the two, so a
132
132
  hand-written literal without its tree fails `validate` even though the run
133
- would have worked (a runtime `tmpl` filter is exempt; see below). If the task asks for the filter tree as a separate review artifact, compile first and copy `configuration.essentialConfiguration.savedFilterTrees.<parameter>` verbatim, directly or under a named top-level property, never an ad hoc `{ field, operator, value }` object or only the CEQL string; retain numeric `groupOperator` and `filters`.
133
+ would have worked (a runtime `tmpl` filter is exempt; see below). If the task asks for the filter, or its tree, as a separate file, compile first and copy `configuration.essentialConfiguration.savedFilterTrees.<parameter>` verbatim, directly or under a named top-level property, never an ad hoc `{ field, operator, value }` object or only the CEQL string; retain numeric `groupOperator` and `filters`.
134
134
 
135
135
  Supported operators: `=` `!=` `<` `<=` `>` `>=`, `Contains`, `Starts With`, `Ends With`, `Like`, their `Not` forms, and `Is Null` / `Is Not Null`; combine with `AND` or `OR`, and parenthesise to nest — `(a = 1 OR b = 2) AND c = 'x'`. Mixing `AND` and `OR` at one level is refused.
136
136
 
@@ -62,7 +62,7 @@ uip maestro flow registry get '<node-type>' \
62
62
 
63
63
  Scalar results are `ExtractionResult.ResultsDocument.Fields[]`; table results are `ExtractionResult.ResultsDocument.Tables[]`. In both, `FieldName` identifies the model field and `Values` carries extracted values.
64
64
 
65
- If no suitable published extractor exists: for a runtime or published-model requirement, report the missing capability and ask whether to build one with `uipath-ixp`; for a validate-only topology showing where extraction belongs, put `mock()` in the extraction position, complete and validate the surrounding flow, and report the placeholder as the capability gap. Do not block validate-only topology on unavailable extractors or downstream endpoints when placeholders preserve the requested graph. `pageRange` is a product string; `1-5` is illustrative because no local grammar is published.
65
+ If no suitable published extractor exists: for a runtime or published-model requirement, report the missing capability and ask whether to build one with `uipath-ixp`; headless, with no one to ask, invoke `uipath-ixp` yourself, and use the Extract document node only when the request names it; for a validate-only topology showing where extraction belongs, put `mock()` in the extraction position, complete and validate the surrounding flow, and report the placeholder as the capability gap. Do not block validate-only topology on unavailable extractors or downstream endpoints when placeholders preserve the requested graph. `pageRange` is a product string; `1-5` is illustrative because no local grammar is published.
66
66
 
67
67
  ## File input from a connector event
68
68
 
@@ -102,7 +102,7 @@ Then run `uip solution publish`—see the `uipath-solution` skill. `uip maestro
102
102
  UIP_LOG_LEVEL=info uip maestro flow debug <project-dir> --output json
103
103
  ```
104
104
 
105
- Pass the PROJECT directory containing `project.uiproj`. `flow debug` executes the flow for real; it is not validation (`validate` is). If the user can answer and did not request a run, ask once before the first run, even when the request is for a flow that works; that yes covers the fix-and-re-run loop on the flow the user asked to get working this turn. With nobody to ask, run it when the request is for a flow that works, unless a connection was guessed ([bindings.md](bindings.md#where-both-values-come-from)); otherwise report the flow as unverified rather than letting a passing `validate` stand as the result. Debug overwrites the Studio Web solution whose `SolutionId` matches local `.uipx`; for a solution not scaffolded this turn, debug only on a yes to a question that names that overwrite, and headless, never debug it.
105
+ Pass the PROJECT directory containing `project.uiproj`. `flow debug` executes the flow for real; it is not validation (`validate` is). If the user can answer and did not request a run, ask once before the first run, even when the request is for a flow that works; that yes covers the fix-and-re-run loop on the flow the user asked to get working this turn. With nobody to ask, run it when the request is for a flow that works, unless a connection was guessed ([bindings.md](bindings.md#where-both-values-come-from)); otherwise report the flow as unverified rather than letting a passing `validate` stand as the result. Debug overwrites the Studio Web solution whose `SolutionId` matches local `.uipx`. A request to run or debug the flow covers that overwrite; when you ask before the first run on a solution not scaffolded this turn, the question names it. Headless, never debug a solution not scaffolded this turn.
106
106
 
107
107
  Operational constraints:
108
108
 
@@ -50,7 +50,9 @@ caller said is lost if they hang up before the agent ends the session.
50
50
  session, not the call, with `reason` set to a route name. `routeCall`, a switch
51
51
  on `$vars.triageAgent.output.uipath__voice_session.reason`, sends each route to
52
52
  its specialist voice agent and `default` to a general agent. Every specialist
53
- reads the same `callContext` and converges on one `endCall`. Change a route name
53
+ reads the same `callContext` and converges on one `endCall`: add
54
+ `.step('hangUp', endCall({ callContext }))` once, after `.switch(...)`, and no
55
+ `endCall` inside a case. Change a route name
54
56
  in the triage prompt and the switch together. The canvas version places the call
55
57
  with `createOutgoingCall`; for an incoming call, start with `voiceTrigger()` and
56
58
  bind every `callContext` to the trigger.
@@ -15,7 +15,9 @@ a case may use `when: Expr` instead of `value` (below).
15
15
 
16
16
  Prefer Switch when one discriminant selects three or more paths; Branch is
17
17
  usually clearer for two. Decide whether cases end independently or rejoin a
18
- shared successor.
18
+ shared successor. Cases that do not `.return()` rejoin the step after
19
+ `.switch(...)`: put a shared last step there once (one `endCall`, one log),
20
+ not a copy inside every case.
19
21
 
20
22
  Cases are tried top to bottom; a `value` case compares strictly (`===`) with
21
23
  `on`. Each case gets a generated `case-<id>` port; the optional final callback
@@ -23,11 +23,11 @@
23
23
  | **Execution autonomy** | <autonomous \| interactive> |
24
24
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
25
  | **SDD scope** | <single-product \| solution> |
26
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
26
+ | **Project list section** | §9 Project Structure + §3 Tools |
27
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
27
28
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
29
  | **Project SDD role** | child |
29
30
  | **Independently executable** | no — built only through the Solution root |
30
- | **Project list section** | §9 Project Structure + §3 Tools |
31
31
  | **Generated by** | uipath-planner |
32
32
  | **Generation date** | <YYYY-MM-DD> |
33
33
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -62,7 +62,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
62
62
 
63
63
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
64
64
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
65
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
65
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
66
66
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
67
67
 
68
68
  ---
@@ -23,11 +23,11 @@
23
23
  | **Execution autonomy** | <autonomous \| interactive> |
24
24
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
25
  | **SDD scope** | <single-product \| solution> |
26
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
26
+ | **Project list section** | §10 Project Structure + §5 Connectors |
27
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
27
28
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
29
  | **Project SDD role** | child |
29
30
  | **Independently executable** | no — built only through the Solution root |
30
- | **Project list section** | §10 Project Structure + §5 Connectors |
31
31
  | **Generated by** | uipath-planner |
32
32
  | **Generation date** | <YYYY-MM-DD> |
33
33
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -62,7 +62,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
62
62
 
63
63
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
64
64
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
65
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
65
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
66
66
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
67
67
 
68
68
  ---
@@ -23,11 +23,11 @@
23
23
  | **Execution autonomy** | <autonomous \| interactive> |
24
24
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
25
  | **SDD scope** | <single-product \| solution> |
26
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
26
+ | **Project list section** | §4 Activities Inventory + §9 Integrated Components |
27
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
27
28
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
29
  | **Project SDD role** | child |
29
30
  | **Independently executable** | no — built only through the Solution root |
30
- | **Project list section** | §4 Activities Inventory + §9 Integrated Components |
31
31
  | **Generated by** | uipath-planner |
32
32
  | **Generation date** | <YYYY-MM-DD> |
33
33
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -49,7 +49,8 @@ Non-RPA scope: Platform constraints, Scope and the product row.
49
49
  |---|---|---|---|
50
50
  | 1 | **Platform constraints** (Constraint Gate) | <DELIVERY_MODEL; BLOCKED_PRODUCTS_OR_NONE> | <REASON> |
51
51
  | 2 | **Scope** (Level 1) | <SINGLE_PRODUCT_OR_SOLUTION_COMPOSITION> | <REASON> |
52
- | 3 | **Process trigger (start event)** | <MANUAL_START \| TIMER_START \| MESSAGE_START> | <REASON_FROM_PDD> |
52
+ | 3 | **Maestro engine** (Flow vs BPMN) | <BPMN \| Flow> — structures: <EACH_ROW_5_STRUCTURE_THE_PROCESS_NEEDS \| none> | <two or more → BPMN; none → Flow; exactly one → Flow, BPMN offered (product-selection-guide.md § Maestro disambiguation)> |
53
+ | 4 | **Process trigger (start event)** | <MANUAL_START \| TIMER_START \| MESSAGE_START> | <REASON_FROM_PDD> |
53
54
 
54
55
  ---
55
56
 
@@ -62,7 +63,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
62
63
 
63
64
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
64
65
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
65
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
66
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
66
67
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
67
68
 
68
69
  ---
@@ -10,7 +10,7 @@ requires. Cell rules are complete where they stand, as in the main template. -->
10
10
  **Action App ID:** <actionAppId or <UNRESOLVED>>
11
11
  **Deployment Folder:** <folder path or <UNRESOLVED>>
12
12
  **actionType:** <dispatch code or —>
13
- **Recipient:** <Role:name \| User:uuid \| UserGroup:uuid \| Email:addr \| Expression:=vars.id — typed prefix only; none known → drop the cell + high review item>
13
+ **Recipient:** <Role:name \| User:uuid \| UserGroup:uuid \| Email:addr \| Expression:=vars.id — typed prefix only; the task's Tasks row names a persona → `Role:<that Persona>`, never `—`; no persona and no other identity known → drop the cell + high review item> <!-- `Role:` names THIS task's Persona (its Tasks-table row), never a role copied from another task's block. A Persona cell IS the assignment: a human task whose row names a persona is never left `—`. -->
14
14
  **Priority:** <Low \| Medium \| High \| Critical> · **Task Title:** <one-line Action Center prompt> · **Labels:** <csv or —>
15
15
 
16
16
  **Input Schema:**
@@ -35,11 +35,11 @@ the cell is optional, note the provenance, and move on. -->
35
35
  | **Execution autonomy** | <autonomous \| interactive — carry the draft's value when finalizing> |
36
36
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
37
37
  | **SDD scope** | <single-product \| solution> |
38
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
38
+ | **Project list section** | §2: Stages & Tasks + §4: Integrations |
39
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
39
40
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
40
41
  | **Project SDD role** | child |
41
42
  | **Independently executable** | no — built only through the Solution root |
42
- | **Project list section** | §2: Stages & Tasks + §4: Integrations |
43
43
  | **Generated by** | uipath-planner |
44
44
  | **Generation date** | <YYYY-MM-DD> |
45
45
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status. A ROW of this table, never an HTML comment or a bold line: `uipath-maestro-case` and the eval harness both read it here> |
@@ -74,7 +74,7 @@ Durable copy of the Phase 1 Recommended Scope summary and platform constraint ou
74
74
 
75
75
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
76
76
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
77
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
77
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
78
78
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
79
79
 
80
80
  ---
@@ -329,12 +329,12 @@ the exact stage display name — never the case name. -->
329
329
 
330
330
  | # | Task Name | Type | Activation Mode | Starts When | Required | Run Only Once | Persona | SLA |
331
331
  |---|-----------|------|-----------------|-------------|----------|---------------|---------|-----|
332
- | 1 | <TASK_NAME> | <action \| process \| agent \| rpa \| api-workflow \| function \| business-rule \| wait-for-timer \| wait-for-connector \| execute-connector-activity \| http-request \| script \| flow-process \| document-extraction \| external-agent \| external-workflow \| case-management> | <sequential \| parallel \| parallel-after-predecessor \| event-triggered \| adhoc \| fan-in \| conditional-gate> | <stage enters, sequential group, after tasks, connector event, etc.> | <Yes \| No> | <Yes \| No> | <persona or —> | <count unit or —> |
332
+ | 1 | <TASK_NAME> | <action \| process \| agent \| rpa \| api-workflow \| function \| business-rule \| wait-for-timer \| wait-for-connector \| execute-connector-activity \| http-request \| script \| flow-process \| document-extraction \| external-agent \| external-workflow \| case-management> | <sequential \| parallel \| parallel-after-predecessor \| event-triggered \| adhoc \| fan-in \| conditional-gate> | <first of the sequential run, after <TASK>, stage enters (parallel only), connector event, etc.> | <Yes \| No> | <Yes \| No> | <persona or —> | <count unit or —> |
333
333
 
334
334
  ##### Task <N>.<M>: <TASK_NAME>
335
335
 
336
336
  **Type:** <exact task type from schema>
337
- **Activation Mode:** <sequential \| parallel \| parallel-after-predecessor \| event-triggered \| adhoc \| fan-in \| conditional-gate>
337
+ **Activation Mode:** <sequential (one after another) \| parallel (starts when the stage enters, nothing before it) \| parallel-after-predecessor (starts together with its siblings after one task completes — "after X" is never plain parallel) \| event-triggered \| adhoc \| fan-in \| conditional-gate>
338
338
  **Design Rationale:** <Why this task type fits the actor/work and why this activation mode fits.>
339
339
  **Description:** <What this task does and why it exists in the case plan.>
340
340
 
@@ -342,7 +342,9 @@ the exact stage display name — never the case name. -->
342
342
 
343
343
  | WHEN | IF | Display Name |
344
344
  |------|-----|--------------|
345
- | <current-stage-entered \| selected-tasks-completed("TaskA", "TaskB") \| wait-for-connector \| api-event("<Business Event Name>") \| adhoc \| runs-sequentially> | <conditionExpression or —> | <label or —> |
345
+ | <runs-sequentially (Activation Mode sequential or parallel-after-predecessor — the first task of the run too) \| current-stage-entered (Activation Mode parallel only) \| selected-tasks-completed("TaskA", "TaskB") \| wait-for-connector \| api-event("<Business Event Name>") \| adhoc> | <conditionExpression or —> | <label or —> |
346
+
347
+ <!-- The WHEN follows the Activation Mode (case-product-guide.md § Sequencing & activation): `sequential` and `parallel-after-predecessor` → `runs-sequentially`, on the FIRST task of the run too (never `current-stage-entered`, though it starts when the stage enters); `parallel` → `current-stage-entered`. -->
346
348
 
347
349
  **Task envelope**
348
350
 
@@ -388,7 +390,8 @@ the exact stage display name — never the case name. -->
388
390
  is required (at most 500 characters) and ships as the role's description. A condition on the
389
391
  persona ("loans > $5M only") is not a permission: write it in Notes and encode it as a guarded
390
392
  cell on the owning task (checklist rule 32). A cell convert cannot map is reported as a
391
- `case-role` Unresolved item, never guessed at. -->
393
+ `case-role` Unresolved item, never guessed at. Trimming a persona's Permissions to these keys
394
+ never moves its tasks: each action task's Recipient stays the task's own Persona. -->
392
395
 
393
396
  | Persona | Scope | Stages | Permissions | Description | Notes |
394
397
  |---------|-------|--------|-------------|-------------|-------|
@@ -23,11 +23,11 @@
23
23
  | **Execution autonomy** | <autonomous \| interactive> |
24
24
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
25
  | **SDD scope** | <single-product \| solution> |
26
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
26
+ | **Project list section** | §10 Project Structure + §9 Integrated Components |
27
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
27
28
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
29
  | **Project SDD role** | child |
29
30
  | **Independently executable** | no — built only through the Solution root |
30
- | **Project list section** | §10 Project Structure + §9 Integrated Components |
31
31
  | **Generated by** | uipath-planner |
32
32
  | **Generation date** | <YYYY-MM-DD> |
33
33
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -62,7 +62,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
62
62
 
63
63
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
64
64
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
65
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
65
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
66
66
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
67
67
 
68
68
  ---
@@ -2,6 +2,9 @@
2
2
 
3
3
  > **Template:** Maestro Flow — orchestrates multiple automation types (RPA, agents, apps, API workflows, HITL).
4
4
  > **Phase 2 sections:** §3, §4, §5, §7, §9. **Phase 3 sections:** all others.
5
+ <!-- Template check before filling: list the BPMN structures the process needs — a fork that rejoins
6
+ (both checks must finish), a per-activity timeout, a wait for a message or event, a per-item
7
+ multi-instance loop, a subprocess. Two or more → this is the wrong template: use bpmn-sdd-template.md. -->
5
8
 
6
9
  ---
7
10
 
@@ -23,11 +26,11 @@
23
26
  | **Execution autonomy** | <autonomous \| interactive> |
24
27
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
28
  | **SDD scope** | <single-product \| solution> |
26
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
29
+ | **Project list section** | §3 Nodes Inventory + §7 Integrated Components |
30
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
27
31
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
32
  | **Project SDD role** | child |
29
33
  | **Independently executable** | no — built only through the Solution root |
30
- | **Project list section** | §3 Nodes Inventory + §7 Integrated Components |
31
34
  | **Generated by** | uipath-planner |
32
35
  | **Generation date** | <YYYY-MM-DD> |
33
36
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -49,7 +52,8 @@ Non-RPA scope: Platform constraints, Scope and the product row.
49
52
  |---|---|---|---|
50
53
  | 1 | **Platform constraints** (Constraint Gate) | <DELIVERY_MODEL; BLOCKED_PRODUCTS_OR_NONE> | <REASON> |
51
54
  | 2 | **Scope** (Level 1) | <SINGLE_PRODUCT_OR_SOLUTION_COMPOSITION> | <REASON> |
52
- | 3 | **Flow trigger type** | <MANUAL_OR_SCHEDULED_OR_EVENT_OR_HTTP> | <REASON_FROM_PDD> |
55
+ | 3 | **Maestro engine** (Flow vs BPMN) | <BPMN \| Flow> — structures: <EACH_ROW_5_STRUCTURE_THE_PROCESS_NEEDS \| none> | <two or more → BPMN; none → Flow; exactly one → Flow, BPMN offered (product-selection-guide.md § Maestro disambiguation)> |
56
+ | 4 | **Flow trigger type** | <MANUAL_OR_SCHEDULED_OR_EVENT_OR_HTTP> | <REASON_FROM_PDD> |
53
57
 
54
58
  ---
55
59
 
@@ -62,7 +66,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
62
66
 
63
67
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
64
68
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
65
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
69
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
66
70
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
67
71
 
68
72
  ---
@@ -24,11 +24,11 @@
24
24
  | **Execution autonomy** | <autonomous \| interactive> |
25
25
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
26
26
  | **SDD scope** | <single-product \| solution> |
27
- | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
27
+ | **Project list section** | <§11 \| §10 + §11 \| Project Inventory> |
28
+ | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; for single-product omit this row and the three below it (Solution ID, Project SDD role, Independently executable) — every other row stays> |
28
29
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
29
30
  | **Project SDD role** | child |
30
31
  | **Independently executable** | no — built only through the Solution root |
31
- | **Project list section** | <§11 \| §10 + §11 \| Project Inventory> |
32
32
  | **Generated by** | uipath-planner |
33
33
  | **Generation date** | <YYYY-MM-DD> |
34
34
  | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
@@ -52,6 +52,7 @@ See sdd-writing-guide.md Step 2 item 3 for the format spec.
52
52
  | 3 | **RPA sub-type** (Level 1.5) | <PROCESS_OR_LIBRARY_OR_TEST_AUTOMATION> | <REASON> |
53
53
  | 4 | **Authoring mode** (Level 2) | <XAML_OR_CODED_OR_HYBRID> | <REASON> |
54
54
  | 5 | **Framework** | <REFRAMEWORK_OR_SEQUENCE> | <REASON> |
55
+ | 6 | **Attendance / Initiation** (§11 Project Mode Decision) | <ATTENDED_OR_UNATTENDED> / <MANUAL_OR_SCHEDULED_OR_QUEUE_TRIGGER_OR_EVENT_OR_API> | <REASON — two separate answers: who runs it, and what starts it> |
55
56
 
56
57
  ---
57
58
 
@@ -64,7 +65,7 @@ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for
64
65
 
65
66
  **Recommendation:** <SINGLE_PRODUCT | SOLUTION(<PRODUCT_1>, ...)>
66
67
  **Delivery model:** <cloud | automation-suite <version-if-known> | standalone | unspecified — assumed cloud [SME REVIEW]>
67
- **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... | none>
68
+ **Blocked by platform:** <PRODUCT → ALTERNATIVE_APPLIED (matrix | user exclusion), ... — every product the source signals that the gate blocks, the picked design's or not (on Automation Suite older than 2.2510.2 the line always names Maestro — Flow, BPMN and Case — with the alternative the design applies, even when no Maestro project was ever a candidate) | none>
68
69
  **Need profile:** <ONE_LINE_CORE_NEED_AND_TARGET_KPI>
69
70
 
70
71
  ---
@@ -468,7 +469,9 @@ Sub-type reference:
468
469
 
469
470
  ### Project Mode Decision
470
471
 
471
- <!-- INDEPENDENT dimensions per project — never let one choice silently decide another.
472
+ <!-- Write this table with its ten columns as they stand, one row per project — never a
473
+ Decision / Selected mode / Reason table, which drops Attendance and Initiation.
474
+ INDEPENDENT dimensions per project — never let one choice silently decide another.
472
475
  Sources: Type ← Level 1.5 · Compatibility ← PDD/§16 (Cross-platform when no desktop-UI or Windows-only
473
476
  dependency exists — headless/web/API work; Windows otherwise; legacy only when unavoidable) ·
474
477
  Authoring ← §13 / Level 2 · Attendance + Initiation ← §16 Robot & Runtime (keep §16 Trigger row aligned) ·