@uipath/skills 1.207.0-preview.2276 → 1.207.0-preview.2303
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/package.json +1 -1
- package/skills/uipath-maestro-bpmn/references/connectors.md +1 -1
- package/skills/uipath-maestro-bpmn/references/final-report-template.md +1 -0
- package/skills/uipath-maestro-bpmn/references/patterns/high-volume-batch-guide.md +2 -2
- package/skills/uipath-maestro-flow/SKILL.md +1 -1
- package/skills/uipath-maestro-flow/references/CLI-LOOP.md +2 -1
- package/skills/uipath-maestro-flow/references/manual-trigger.md +17 -1
- 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.
|
|
3
|
+
"version": "1.207.0-preview.2303",
|
|
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"
|
|
@@ -214,8 +214,8 @@ Both resolve against the same library and both take the same `connection` / `fol
|
|
|
214
214
|
Same rule as §2: a scope value that is an **id** (a mail folder, a channel, a workspace) takes a `lookup()`, never a pasted value; §3 resolves it (`--action email-received`).
|
|
215
215
|
- `object` names what a **generic** event watches — `record-created` and its kin on Data Fabric, Salesforce, ServiceNow, Jira. Such an entry carries no default, so without it the node emits `objectName: ""`, validates, and watches nothing. `check` reports `EVENT_GENERIC_NO_OBJECT`. A curated event has its object built in and refuses one (`EVENT_OBJECT_NOT_GENERIC`).
|
|
216
216
|
- A folder entity on a Data Fabric entity trigger (`record-created-preview-`, `record-updated-preview-`; object `EntityTriggers_V3`) is `entity: { name, folder: '<folder path>' }`, never `filter: { entityScope, folderEntityName }`: a literal filter watches the records but writes no picker, so `refresh` declares no entity and a deploy cannot re-point it.
|
|
217
|
+
Needs `@uipath/maestro-builder-sdk` 6.123.0 or later; an older SDK reports `TS2353` on `entity`, so upgrade the copy `uip` resolves, local copy first, then global. From the directory you run `uip` in (the workspace root), run `node -e "console.log(require.resolve('@uipath/maestro-builder-sdk/package.json',{paths:[process.cwd()]}))"`. When it prints a path, that `node_modules` (possibly in a parent directory) owns the copy: run `npm install --save-dev @uipath/maestro-builder-sdk@latest` in the directory holding it when a `package.json` sits beside it; otherwise tell the user the path, and never create a `package.json`. On error, run `npm install -g @uipath/maestro-builder-sdk@latest`. Then run `check` again. Never fall back to the literal `filter`.
|
|
217
218
|
`check` reports `RESOURCE_UNRESOLVED` and prints the `uip maestro registry prepare --entity <name> --folder-path <path>` that records the keys, as for `.dataService()`; the trigger and a task on that entity share one binding pair. Run `uip maestro bpmn refresh` after `compile`.
|
|
218
|
-
On an SDK without `entity` (`check` reports `TS2353` on it), run `uip maestro bpmn registry get Intsvc.EventTrigger --object-name EntityTriggers_V3 --operation <OPERATION> --connection-id <CONNECTION_ID> --input-details '{"queryParameters":{"entityScope":"folder","folderEntityName":"<ENTITY_NAME>"}}' --solution-folder <SOLUTION_DIR> --output json`, then author `.activity(<ID>, 'Intsvc.EventTrigger', { contextRows, inputs, outputRows, contextVerbatim: true })` from the `<uipath:context>`, input and output rows of `Data.V2.ElementXml`, and one `.binding(<BINDING_ID>, { resource, propertyAttribute, resourceKey, value })` per `Data.V2.RootBindings` row. Follow `Data.V2.Instructions` for the `{{VAR_ID}}` tokens. `examples/InvoiceApproval.bpmn.ts` (`Event_CiykXe`) shows the node's shape. `<OPERATION>` is `UPDATED_V3` or `CREATED_V3`. Never the literal `filter`.
|
|
219
219
|
|
|
220
220
|
```bash
|
|
221
221
|
uip is triggers objects <connector> <EVENT> --connection-id <id> --output json # what a generic event can watch
|
|
@@ -42,6 +42,7 @@ Report each `validate` warning you kept as one clause in the user's words that n
|
|
|
42
42
|
The path line belongs to this final message.
|
|
43
43
|
A Studio Web link shown earlier in the turn, before a tool call, does not count: write it again here, on its own line.
|
|
44
44
|
When the path line is the local path, write the plain path, such as InvoiceIntake/InvoiceIntake.bpmn, not a Markdown link with the file name as its text and not in backticks.
|
|
45
|
+
The path line, link or path, is flush-left: no space or indent before it.
|
|
45
46
|
|
|
46
47
|
Write every line in the user's words: say what each step now does.
|
|
47
48
|
No element type ids (`Orchestrator.StartAgentJob`), connector keys, object or operation names, payload, binding or placeholder terms, and no file names other than the path line.
|
|
@@ -85,7 +85,7 @@ The body is its own sequence scope: give it its own `.flowMode('sequence')`, sta
|
|
|
85
85
|
| `recordResult` | `.task()` with `set`, last in the body | Mechanism |
|
|
86
86
|
| `itemFailures` | `.eventSubProcess()` inside the body | Mechanism |
|
|
87
87
|
| `recordItemFailure` | `.task()` with `set`, in the net | Mechanism |
|
|
88
|
-
| `aggregate` |
|
|
88
|
+
| `aggregate` | `.scriptTask()` after the sub-process, never a `.task()` with `set` | Mechanism |
|
|
89
89
|
| `sendReport` | a send step, before the gate | Placeholder |
|
|
90
90
|
| `policyGate` | `.choose()` | Mechanism |
|
|
91
91
|
| `endCompleted`, `endFailed` | `.endEvent()`, named | Mechanism |
|
|
@@ -123,7 +123,7 @@ This variant is not verified end to end.
|
|
|
123
123
|
- **`fetchBatch`**: the source (database query, file, API list, queue); batch size and filters are decided here.
|
|
124
124
|
- **The per-item work** inside `processEach`: a UiPath agent, an RPA job, Document Understanding, an API call.
|
|
125
125
|
Place and bind the node; the per-item work happens at runtime, not while authoring.
|
|
126
|
-
- **`aggregate`**:
|
|
126
|
+
- **`aggregate`**: a `.scriptTask()` that counts `itemResults` (Parallel: the query's records), applies the policy and sets `policySatisfied` through `outputs`.
|
|
127
127
|
Best-effort is always true; all-or-nothing is true only with zero failures; quorum is true above a threshold.
|
|
128
128
|
Evaluate it here, in a node, rather than as the loop's `completion` condition.
|
|
129
129
|
A completion condition stops the block early, which is a different thing from judging the run afterwards, and it cannot see the per-item results the policy needs.
|
|
@@ -131,7 +131,7 @@ This table is authoritative; read each node's `Reference` before writing it ([Cr
|
|
|
131
131
|
| Node or surface | Emitted node type | Builder | Reference | Example |
|
|
132
132
|
|---|---|---|---|---|
|
|
133
133
|
| Manual trigger | `core.trigger.manual` | omit `.trigger(...)` | [manual-trigger.md](references/manual-trigger.md) | `examples/GreenhouseWatering.flow.ts` |
|
|
134
|
-
| Entry points (multiple triggers) | one trigger per extra root | `.entryPoint(id, trigger, { inputs?, version? }, prefixFn?)`; shared var: input `{ type, shared: '<var>' }` | [manual-trigger.md](references/manual-trigger.md#multiple-entry-points) | — |
|
|
134
|
+
| Entry points (multiple triggers) | one trigger per extra root | `.entryPoint(id, trigger, { inputs?, version?, default? }, prefixFn?)`; shared var: input `{ type, shared: '<var>' }` | [manual-trigger.md](references/manual-trigger.md#multiple-entry-points) | — |
|
|
135
135
|
| Scheduled trigger | `core.trigger.scheduled` | `scheduled(...)` | [scheduled-trigger.md](references/scheduled-trigger.md) | `examples/HerbariumDispatch.flow.ts` |
|
|
136
136
|
| Connector event trigger; HTTP start | `uipath.connector.trigger.<key>.<event>` | `onEvent(...)` | [event-trigger.md](references/event-trigger.md), [HTTP call](references/event-trigger.md#started-by-an-http-call) | `examples/DoorbellLog.flow.ts` |
|
|
137
137
|
| Connector event wait | `uipath.connector.event.<key>.<event>` | `waitForEvent(...)` | [event-trigger.md](references/event-trigger.md) | `examples/PlanetariumConfirmation.flow.ts` |
|
|
@@ -54,7 +54,7 @@ Read the answer this way:
|
|
|
54
54
|
|
|
55
55
|
- The list prints and has the name: the feature is there.
|
|
56
56
|
- The list prints and lacks the name: the feature is not there. Upgrade the SDK, or use the fallback the reference gives.
|
|
57
|
-
- `error: unknown command 'capabilities'`: the SDK is older than 6.101.0.
|
|
57
|
+
- `error: unknown command 'capabilities'`: the SDK is older than 6.101.0. For `flow-entry-point-default`, which shipped later, that means the feature is not there. For the other features below, which all shipped earlier, it says nothing: follow the version note in its reference (for example, `check --baseline` works from 6.64.0).
|
|
58
58
|
|
|
59
59
|
The names are stable:
|
|
60
60
|
|
|
@@ -66,6 +66,7 @@ The names are stable:
|
|
|
66
66
|
| `flow-script-metadata` | the `$metadata` parameter of a script function |
|
|
67
67
|
| `flow-merge-source` | `merge <Name>.flow.ts --original <Name>.flow`, from the `// @decompiled-from` stamp |
|
|
68
68
|
| `project-min-version` | `flowSdk.minVersion`, below |
|
|
69
|
+
| `flow-entry-point-default` | `.entryPoint(id, spec, { default: true })` ([manual-trigger.md](manual-trigger.md#multiple-entry-points)); always absent when `capabilities` is unknown |
|
|
69
70
|
|
|
70
71
|
To pin one SDK floor for a project, add `"flowSdk": { "minVersion": "<version>" }` to its `package.json`.
|
|
71
72
|
From 6.101.0, `compile`, `check`, `decompile` and `merge` then refuse an older SDK with exit 2. The message names the copy that ran and the `npm install ...@latest` command that upgrades it (`--save-dev` in the project for a workspace copy, else `-g`).
|
|
@@ -52,12 +52,28 @@ Choose it when a caller, test, or another process should start each run.
|
|
|
52
52
|
## Multiple entry points
|
|
53
53
|
|
|
54
54
|
A flow may have more than one root. `.trigger()` / `.input()` stay the DEFAULT
|
|
55
|
-
root
|
|
55
|
+
root unless an entry point says `default: true`;
|
|
56
|
+
`.entryPoint(id, trigger, { inputs?, version?, updates?, default? }, prefixFn?)` adds another
|
|
56
57
|
— its own trigger node, its own scoped inputs (read them with
|
|
57
58
|
`entryInput('<id>', '<name>')`, i.e. `$vars.<id>.output.<name>`), and an
|
|
58
59
|
optional prefix that runs before the root joins the first shared step. A prefix
|
|
59
60
|
that ends terminally (or hands off with `.stepToRef(...)`) joins nothing.
|
|
60
61
|
|
|
62
|
+
`{ default: true }` on one `.entryPoint()` makes that root the default
|
|
63
|
+
(`isDefaultEntryPoint`) instead of `.trigger()`. `.trigger()` keeps its id, its
|
|
64
|
+
inputs and every `input()` read. Decompile writes it when the `.flow` has a root
|
|
65
|
+
named `start` and marks a different root as the default, for instance a trigger
|
|
66
|
+
added to the `.flow` outside the SDK source. A `.flow` with no root named
|
|
67
|
+
`start` opens with its marked root as `.trigger()` and needs no `default`. Keep
|
|
68
|
+
the option when you edit the source. Two entry points with `default: true` are
|
|
69
|
+
refused (`ENTRY_POINT_DEFAULT`).
|
|
70
|
+
|
|
71
|
+
The option needs an SDK that lists the `flow-entry-point-default` capability.
|
|
72
|
+
An older SDK refuses the option when it compiles. Do not delete it to get
|
|
73
|
+
past that: without it, `.trigger()` becomes the default and the flow starts
|
|
74
|
+
from a different trigger. Leave the original `.flow` unchanged and report that
|
|
75
|
+
the SDK in use is too old for this flow.
|
|
76
|
+
|
|
61
77
|
Every root's inputs need their own names. Inputs, outputs and vars share one
|
|
62
78
|
namespace, `uip maestro flow validate` refuses two globals with the same id even
|
|
63
79
|
on different triggers, and each entry point's caller-facing input is keyed by
|
package/version-manifest.json
CHANGED