@uipath/maestro-builder-sdk 6.87.0 → 6.87.2

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.
@@ -0,0 +1,1201 @@
1
+ <!-- GENERATED from the TypeScript declarations in UiPath/flow-builder-sdk
2
+ (typescript/sdk, scripts/gen-member-doc.mjs). Do not edit this file.
3
+ Change the doc comment on the declaration upstream; that repo regenerates
4
+ it with `npm run generate:api` and fails its build when it is stale. -->
5
+
6
+ # `@uipath/maestro-builder-sdk/bpmn` — every method and option
7
+
8
+ **The answer is on the row.** Every builder method and every option field of `@uipath/maestro-builder-sdk/bpmn`, one line each, with its TYPE and the first sentence of its doc comment. Search this file for the name you have — a field (`outputVar`), a method (`humanTask`) or a shape (`HttpOpts`) — and read the line it lands on.
9
+
10
+ Each row is `Owner.member: type — summary`, so a match on a field name also says which options object it belongs to. Names repeat across shapes (`name` is on most of them): check the owner.
11
+
12
+ You do not need the `.d.ts` to write a `.bpmn.ts`. Read a declaration only for the long-form `@remarks` / `@example` of one symbol, and then use [`api-index.md`](api-index.md) for its span; let `uip maestro bpmn check --source` tell you about a wrong option rather than reading the types ahead of time.
13
+
14
+ ## BPMN authoring
15
+
16
+ ### `errorSchema`
17
+
18
+ The `Error` variable's shape — the platform's own error envelope.
19
+
20
+ - `const errorSchema`
21
+
22
+ ### `errorSchemaWithResponse`
23
+
24
+ The same envelope plus `response` — what a node whose failure carries a payload writes, and what the same source calls…
25
+
26
+ - `const errorSchemaWithResponse`
27
+
28
+ ### `bpmn`
29
+
30
+ Start building a BPMN process with the given id.
31
+
32
+ - `function bpmn(id: string): BpmnBuilder`
33
+
34
+ ## Builders
35
+
36
+ The fluent chain. `BpmnBuilder`, `SubProcessBuilder` and `PathBuilder` all extend `ScopeBuilder`, so every `ScopeBuilder.` method below is callable on `bpmn(…)`, inside a `.subProcess(…)` body, and inside a `choose` / `fork` / `race` arm. `ActivityBuilder` is what an activity method's body callback receives.
37
+
38
+ ### `BpmnBuilder`
39
+
40
+ The top-level process builder `bpmn()` returns — every graph method of the shared scope (events, gateways, tasks,…
41
+
42
+ Extends `ScopeBuilder` — its fields and methods apply here too.
43
+
44
+ - `BpmnBuilder.preserve(preservation: BpmnPreservation): this` — Carry non-authoring state from a source document — **written by `decompile`; a greenfield author never needs this.**
45
+ - `BpmnBuilder.name(n: string): this` — Set the process's display name.
46
+ - `BpmnBuilder.metadata(meta: ProcessMetadata): this` — Process-level metadata — see ProcessMetadata.
47
+ - `BpmnBuilder.schemaVersion(version: string): this` — Declare the Canvas SCHEMA generation this document targets (`uipath:migrationVersion`).
48
+ - `BpmnBuilder.schema(id: string, schema: unknown): this` — Name a JSON Schema once so several variables can share it.
49
+ - `BpmnBuilder.schemas(entries: SchemaEntry[]): this` — Several named schemas as one call — the array form of BpmnBuilder.schema.
50
+ - `BpmnBuilder.binding(id: string, opts?: BindingOpts): this` — Declare an external identifier the process needs supplied — a base URL, a folder path, a process name…
51
+ - `BpmnBuilder.bindings(entries: BindingEntry[]): this` — Several bindings as one call — the array form of BpmnBuilder.binding.
52
+ - `BpmnBuilder.build(): BuiltBpmn` — Finish the process and return the graph the serializer turns into XML.
53
+
54
+ ### `ScopeBuilder`
55
+
56
+ The set of node/flow/variable methods common to the process root and every sub-process.
57
+
58
+ - `ScopeBuilder.flowMode(mode: FlowMode): this` — Choose how this scope wires the elements no explicit `.sequenceFlow()` covers.
59
+ - `ScopeBuilder.startEvent(id: string, opts?: StartOpts): this` — A start event (authorable definitions: none / message / timer).
60
+ - `ScopeBuilder.endEvent(id: string, opts?: EndOpts): this` — An end event (authorable definitions: none / message / error / terminate).
61
+ - `ScopeBuilder.intermediateCatchEvent(id: string, opts?: CatchOpts): this` — An intermediate catch event (authorable: message / timer).
62
+ - `ScopeBuilder.intermediateThrowEvent(id: string, opts?: ThrowOpts): this` — An intermediate throw event (authorable: none / message).
63
+ - `ScopeBuilder.boundaryEvent(id: string, opts: BoundaryOpts): this` — A boundary event on an activity (authorable: message / timer / error).
64
+ - `ScopeBuilder.exclusiveGateway(id: string, opts?: GatewayOpts): this` — An exclusive gateway — exactly one outgoing flow is taken (`bpmn:exclusiveGateway`).
65
+ - `ScopeBuilder.parallelGateway(id: string, opts?: { name?: string; }): this` — A parallel gateway — every outgoing flow is taken, and a join waits for every incoming one (`bpmn:parallelGateway`).
66
+ - `ScopeBuilder.inclusiveGateway(id: string, opts?: GatewayOpts): this` — An inclusive gateway — every outgoing flow whose condition holds is taken (`bpmn:inclusiveGateway`).
67
+ - `ScopeBuilder.eventBasedGateway(id: string, opts?: { name?: string; }): this` — An event-based gateway — the first of the events it leads to wins, and the rest are cancelled…
68
+ - `ScopeBuilder.scriptTask(id: string, opts: ScriptTaskOpts, body?: ActivityBodyFn): this` — A script task (Jint JavaScript body + input/output mappings).
69
+ - `ScopeBuilder.task(id: string, opts?: TaskOpts, body?: ActivityBodyFn): this` — A plain task that assigns variables (`BPMN.Variables`).
70
+ - `ScopeBuilder.plainTask(id: string, opts?: PlainTaskOpts, body?: ActivityBodyFn): this` — A task element carrying NO `uipath:*` payload — an abstract task, in BPMN's terms.
71
+ - `ScopeBuilder.connector<I extends Record<string, unknown>, O>(id: string, descriptor: ConnectorDescriptor<I, O>, inputs: I, opts?: BpmnConnectorOpts, body?: ActivityBodyFn): this` — An Integration Service **connector** service task (`bpmn:sendTask` + `uipath:activity` / `Intsvc.ActivityExecution`) —…
72
+ - `ScopeBuilder.connector(id: string, key: string, action: string, inputs?: Record<string, unknown>, opts?: BpmnConnectorOpts, body?: ActivityBodyFn): this` — Stringly form, for a connector with no prepared module.
73
+ - `ScopeBuilder.http(id: string, opts: HttpOpts, body?: ActivityBodyFn): this` — An **HTTP request** service task (`bpmn:sendTask` + `uipath:activity` / `Intsvc.UnifiedHttpRequest`).
74
+ - `ScopeBuilder.dataService(id: string, opts: DataServiceOpts & DataServiceOperation, body?: ActivityBodyFn): this` — A UiPath **Data Fabric** (Data Service) record or file operation — create, update, get, query, delete a record, or…
75
+ - `ScopeBuilder.startProcess(id: string, opts: OrchestratorOpts, body?: ActivityBodyFn): this` — Start an **RPA process** and wait for it (`Orchestrator.StartJob`).
76
+ - `ScopeBuilder.startAgent(id: string, opts: OrchestratorOpts, body?: ActivityBodyFn): this` — Start an **agent** and wait for it (`Orchestrator.StartAgentJob`).
77
+ - `ScopeBuilder.startAgenticProcess(id: string, opts: OrchestratorAsyncOpts, body?: ActivityBodyFn): this` — Invoke an **agentic process** as a call activity (`Orchestrator.StartAgenticProcess`, or `…Async` when `async` is set).
78
+ - `ScopeBuilder.startCaseProcess(id: string, opts: OrchestratorAsyncOpts, body?: ActivityBodyFn): this` — Invoke a **case-management process** as a call activity (`Orchestrator.StartCaseMgmtProcess`, or `…Async` when `async`…
79
+ - `ScopeBuilder.executeApiWorkflow(id: string, opts: OrchestratorOpts, body?: ActivityBodyFn): this` — Execute an **API workflow** and wait for it (`Orchestrator.ExecuteApiWorkflowAsync`).
80
+ - `ScopeBuilder.businessRule(id: string, opts: OrchestratorOpts, body?: ActivityBodyFn): this` — Execute a **business rule** and wait for it (`Orchestrator.BusinessRules`, on a `bpmn:businessRuleTask`).
81
+ - `ScopeBuilder.queueItem(id: string, opts: QueueItemOpts, body?: ActivityBodyFn): this` — Add an item to an Orchestrator **queue** (`Orchestrator.CreateQueueItem`, or `Orchestrator.CreateAndWaitForQueueItem`…
82
+ - `ScopeBuilder.humanTask(id: string, opts: HumanTaskOpts, body?: ActivityBodyFn): this` — A **human task** — a task a person completes in Action Center (`bpmn:userTask` + `uipath:activity` / `Actions.HITL`),…
83
+ - `ScopeBuilder.receiveMessage(id: string, opts: ReceiveMessageOpts, body?: ActivityBodyFn): this` — Wait for an internal message from another Maestro process (`Maestro.ReceiveMessageEvent` on a…
84
+ - `ScopeBuilder.waitForEvent(id: string, connector: string, event: string, opts: ConnectorEventOpts, body?: ActivityBodyFn): this` — Wait mid-flow for an Integration Service connector event (`Intsvc.WaitForEvent` on a `bpmn:receiveTask`).
85
+ - `ScopeBuilder.eventTrigger(id: string, connector: string, event: string, opts: ConnectorEventOpts): this` — START the process when an Integration Service connector event fires (`Intsvc.EventTrigger` on a `bpmn:startEvent`…
86
+ - `ScopeBuilder.externalAgent(id: string, connector: string, action: string, inputs: Record<string, unknown>, opts: ExternalTaskOpts, body?: ActivityBodyFn): this` — Invoke an external agent through an Integration Service connector (`Intsvc.SyncAgentExecution` /…
87
+ - `ScopeBuilder.externalWorkflow(id: string, connector: string, action: string, inputs: Record<string, unknown>, opts: ExternalTaskOpts, body?: ActivityBodyFn): this` — Invoke an external workflow through an Integration Service connector (`Intsvc.SyncWorkflowExecution` /…
88
+ - `ScopeBuilder.activity(id: string, type: string, opts?: ActivityNodeOpts, body?: ActivityBodyFn): this` — ANY registry-backed node, by extension type — the generic form the typed methods are sugar over.
89
+ - `ScopeBuilder.subProcess(id: string, fn: (sp: SubProcessBuilder) => void, opts?: SubProcessOpts, body?: ActivityBodyFn): this` — A sub-process — a scope of its own, with its own elements and flows (`bpmn:subProcess`).
90
+ - `ScopeBuilder.eventSubProcess(id: string, opts: EventSubProcessOpts, fn: (sp: SubProcessBuilder) => void): this` — An EVENT sub-process — a handler that lives inside this scope and starts when an error, a message, or a timer occurs…
91
+ - `ScopeBuilder.choose(id: string, arms: ChooseArm[], opts?: ChooseOpts): this` — An exclusive decision whose arms are written in place — the splitting gateway, each arm's conditioned flow, the arm's…
92
+ - `ScopeBuilder.fork(id: string, arms: ArmBodyFn[], opts?: SplitOpts): this` — A parallel split whose arms are written in place: every arm runs, and they rejoin through a parallel join (`<id>_join`)…
93
+ - `ScopeBuilder.race(id: string, arms: ArmBodyFn[], opts?: SplitOpts): this` — An event-based gateway whose arms are written in place: each arm begins with something to wait for, the first to happen…
94
+ - `ScopeBuilder.flowIds(entries: PinnedFlowId[]): this` — Give the edges the nesting constructs IMPLY the ids you choose.
95
+ - `ScopeBuilder.sequenceFlow(source: string, target: string, opts?: FlowOpts): this` — A sequence flow from `source` to `target` (1-1 with `bpmn:sequenceFlow`).
96
+ - `ScopeBuilder.var(id: string, type: TypeDesc, opts?: VarOpts): this` — A mutable flow variable (`uipath:inputOutput`).
97
+ - `ScopeBuilder.input(id: string, type: TypeDesc, opts?: VarOpts): this` — A read-only entry input (`uipath:input`).
98
+ - `ScopeBuilder.output(id: string, type: TypeDesc, opts?: VarOpts): this` — A return value (`uipath:output`).
99
+ - `ScopeBuilder.vars(entries: VarEntry[]): this` — Several declarations as one call — the array form of `.var()` / `.input()` / `.output()`.
100
+
101
+ ### `SubProcessBuilder`
102
+
103
+ A sub-process body: the same graph methods, plus an internal node builder.
104
+
105
+ Extends `ScopeBuilder` — its fields and methods apply here too.
106
+
107
+ No members of its own.
108
+
109
+ ### `PathBuilder`
110
+
111
+ One arm of a `choose` / `fork` / `race`, or one boundary handler's path: the same graph methods as any scope, written…
112
+
113
+ Extends `ScopeBuilder` — its fields and methods apply here too.
114
+
115
+ - `PathBuilder.goto(target: string): this` — Leave this arm for an element written elsewhere — a loop back to an earlier step, a jump into another arm, a shared exit…
116
+
117
+ ### `ActivityBuilder`
118
+
119
+ The boundary events of one activity, declared on the activity itself — what the body callback every activity method…
120
+
121
+ - `ActivityBuilder.onError(body?: ArmBodyFn): this` — Catch an error the activity throws — any error, or one declared kind — on an interrupting error boundary, and handle it…
122
+ - `ActivityBuilder.onError(error: ErrorLike, body?: ArmBodyFn): this` — Catch a specific error — see ErrorLike — or `true` for any.
123
+ - `ActivityBuilder.onError(error: ErrorLike, opts: ErrorHandlerOpts, body?: ArmBodyFn): this` — Catch an error with options — an `id`, a `name`, an `errorVar` to capture it into.
124
+ - `ActivityBuilder.onTimer(timer: TimerLike, body?: ArmBodyFn): this` — Fire a timer while the activity runs — a deadline that cancels it, or a reminder that does not (`interrupting: false`).
125
+ - `ActivityBuilder.onTimer(timer: TimerLike, opts: TimerHandlerOpts, body?: ArmBodyFn): this` — Fire a timer with options — `interrupting`, an `id`, a `name`.
126
+ - `ActivityBuilder.onMessage(message: string, body?: ArmBodyFn): this` — Catch a message while the activity runs — declaring or reusing the definitions-level `bpmn:message`.
127
+ - `ActivityBuilder.onMessage(message: string, opts: MessageHandlerOpts, body?: ArmBodyFn): this` — Catch a message with options — `interrupting`, an `id`, a `name`.
128
+
129
+ ## Option shapes
130
+
131
+ The `opts` objects the builder methods take. A field not listed here (or on a shape it extends) is not an option of that method.
132
+
133
+ ### `BindingOpts`
134
+
135
+ Options for `.binding()`.
136
+
137
+ - `BindingOpts.name?: string` — Display name the designer shows.
138
+ - `BindingOpts.value?: string` — **The value.** What `=bindings.<id>` evaluates to, and the only field of a binding the runtime reads.
139
+ - `BindingOpts.resource?: string` — The kind of resource this identifies.
140
+ - `BindingOpts.propertyAttribute?: string` — Which property of that resource is wanted.
141
+ - `BindingOpts.resourceKey?: string` — **Which resource this is bound to** — design-time provenance, never resolved.
142
+ - `BindingOpts.resourceSubType?: string` — Narrows the resource, e.g. `'Agent'` for an agent process.
143
+
144
+ ### `HandlerOpts`
145
+
146
+ What every boundary handler on an ActivityBuilder accepts — `.onError()`, `.onTimer()`, `.onMessage()`.
147
+
148
+ - `HandlerOpts.id?: string` — The boundary event's element id.
149
+ - `HandlerOpts.name?: string` — Display name the designer shows on the boundary event.
150
+ - `HandlerOpts.payload?: ExtensionPayload` — A `uipath:activity` payload on the boundary event — see ExtensionPayload.
151
+
152
+ ### `StartOpts`
153
+
154
+ Options for `.startEvent()`.
155
+
156
+ - `StartOpts.name?: string` — Display name the designer shows on the event.
157
+ - `StartOpts.message?: string` — Start when this message arrives — declares/reuses a definitions-level `bpmn:message`.
158
+ - `StartOpts.error?: ErrorLike` — Catch an error — an INTERRUPTING error start event (`bpmn:errorEventDefinition`), declaring/reusing a definitions-level…
159
+ - `StartOpts.timer?: TimerLike` — Start on a timer — an ISO-8601 duration string, or a full TimerSpec.
160
+ - `StartOpts.trigger?: true | { outputVar?: string }` — Also declare this timed start as a platform TRIGGER (`Intsvc.TimerTrigger`).
161
+ - `StartOpts.payload?: ExtensionPayload` — A `uipath:mapping` mapping process inputs onto variables — see ExtensionPayload.
162
+ - `StartOpts.interrupting?: boolean` — `false` makes a message or timer start NON-interrupting: the event sub-process it starts runs beside the container…
163
+ - `StartOpts.entryPointId?: string | false` — This start event's `uipath:entryPointId`.
164
+
165
+ ### `EndOpts`
166
+
167
+ Options for `.endEvent()`.
168
+
169
+ - `EndOpts.name?: string` — Display name the designer shows on the event.
170
+ - `EndOpts.terminate?: boolean` — End as a TERMINATE event — abort the whole process instance, not just this path.
171
+ - `EndOpts.message?: string` — End by throwing this message — declares/reuses a definitions-level `bpmn:message`.
172
+ - `EndOpts.error?: string | { name: string; code?: string }` — End by throwing this error (a name, or `{ name, code }`) — declares/reuses a definitions-level `bpmn:error`.
173
+ - `EndOpts.payload?: ExtensionPayload` — A `uipath:mapping` mapping variables onto process outputs — see ExtensionPayload.
174
+
175
+ ### `CatchOpts`
176
+
177
+ Options for `.intermediateCatchEvent()`.
178
+
179
+ - `CatchOpts.name?: string` — Display name the designer shows on the event.
180
+ - `CatchOpts.message?: string` — Wait for this message — declares/reuses a definitions-level `bpmn:message`.
181
+ - `CatchOpts.timer?: TimerLike` — Wait for a timer — an ISO-8601 duration string, or a full TimerSpec.
182
+ - `CatchOpts.payload?: ExtensionPayload` — An extension payload on the event — see ExtensionPayload.
183
+
184
+ ### `ThrowOpts`
185
+
186
+ Options for `.intermediateThrowEvent()` — a `message` to throw, or none.
187
+
188
+ - `ThrowOpts.name?: string` — Display name the designer shows on the event.
189
+ - `ThrowOpts.message?: string` — The message to throw — declares/reuses a definitions-level `bpmn:message`.
190
+ - `ThrowOpts.payload?: ExtensionPayload` — An extension payload on the event — see ExtensionPayload.
191
+
192
+ ### `BoundaryOpts`
193
+
194
+ Options for `.boundaryEvent()`: the activity it attaches to, whether it interrupts that activity, and the event…
195
+
196
+ - `BoundaryOpts.name?: string` — Display name the designer shows on the event.
197
+ - `BoundaryOpts.attachedTo: string` — id of the activity this boundary event is attached to.
198
+ - `BoundaryOpts.cancelActivity?: boolean` — true (default) = interrupting; false = non-interrupting.
199
+ - `BoundaryOpts.message?: string` — Catch this message — declares/reuses a definitions-level `bpmn:message`.
200
+ - `BoundaryOpts.timer?: TimerLike` — Fire on a timer — an ISO-8601 duration string, or a full TimerSpec.
201
+ - `BoundaryOpts.error?: ErrorLike` — Catch an error: `true` for ANY error, or a name (or `{ name, code }`) to catch one declared kind — see ErrorLike.
202
+ - `BoundaryOpts.payload?: ExtensionPayload` — A `uipath:activity` capturing the error payload — see ExtensionPayload.
203
+
204
+ ### `GatewayOpts`
205
+
206
+ Options for `.exclusiveGateway()` / `.inclusiveGateway()`.
207
+
208
+ - `GatewayOpts.name?: string` — Display name the designer shows on the gateway.
209
+ - `GatewayOpts.default?: string` — Outgoing flow id taken when no condition matches (exclusive/inclusive).
210
+
211
+ ### `ScriptTaskOpts`
212
+
213
+ Options for `.scriptTask()` — the Jint JavaScript body and its input/output mappings.
214
+
215
+ Extends `ActivityOpts` — its fields and methods apply here too.
216
+
217
+ - `ScriptTaskOpts.name?: string` — Display name the designer shows on the task.
218
+ - `ScriptTaskOpts.script: string` — The script body (Jint JavaScript).
219
+ - `ScriptTaskOpts.scriptFormat?: string` — The script language marker.
220
+ - `ScriptTaskOpts.scriptVersion?: string` — The `uipath:scriptVersion` the runtime reads to pick the result shape.
221
+ - `ScriptTaskOpts.inputs?: Record<string, unknown>` — Extra keys for the `args` input, after the envelope: key → `=`-expression.
222
+ - `ScriptTaskOpts.outputs?: Record<string, string>` — `uipath:output` rows: variable id → `=`-expression.
223
+ - `ScriptTaskOpts.outputRows?: TypedOutputRow[]` — Output rows spelled out, replacing the ones `outputs` derives — see TypedOutputRow.
224
+ - `ScriptTaskOpts.inputSchema?: unknown` — The `uipath:inputSchema` body inside the mapping's `uipath:context` — a JSON Schema for the `args` the script receives.
225
+ - `ScriptTaskOpts.type?: string` — The mapping's extension type.
226
+
227
+ ### `TaskOpts`
228
+
229
+ Options for `.task()` — a display name and the variable assignments the task makes.
230
+
231
+ Extends `ActivityOpts` — its fields and methods apply here too.
232
+
233
+ - `TaskOpts.name?: string` — Display name the designer shows on the task.
234
+ - `TaskOpts.set?: Record<string, string>` — Variable assignments (`BPMN.Variables`): variable id → the value to assign.
235
+
236
+ ### `PlainTaskOpts`
237
+
238
+ Options for `.plainTask()`.
239
+
240
+ Extends `ActivityOpts` — its fields and methods apply here too.
241
+
242
+ - `PlainTaskOpts.name?: string` — Display name the designer shows.
243
+ - `PlainTaskOpts.element?: PlainTaskElement` — Which task element to emit.
244
+
245
+ ### `BpmnConnectorOpts`
246
+
247
+ `.connector()` options: the shared connector options, plus the BPMN-only display `name` and output-variable override.
248
+
249
+ Also takes every field of `ConnectorOpts`, `ActivityOpts`.
250
+
251
+ - `BpmnConnectorOpts.name?: string` — Display name the designer shows on the task.
252
+ - `BpmnConnectorOpts.skipCondition?: string` — `=`-expression that skips this activity when it evaluates truthy — the step is recorded as not executed and the flow…
253
+ - `BpmnConnectorOpts.outputVar?: string` — Variable the connector's response lands in.
254
+ - `BpmnConnectorOpts.errorVar?: string` — Variable the error payload lands in.
255
+ - `BpmnConnectorOpts.outputs?: Record<string, string | ConnectorOutputRow>` — Extra output rows beside the response and the Error, by the variable each writes: `{ invoiceId: '=response.Id' }` writes…
256
+
257
+ ### `HttpOpts`
258
+
259
+ Options for `.http()` — an `Intsvc.UnifiedHttpRequest` node.
260
+
261
+ Extends `ActivityOpts` — its fields and methods apply here too.
262
+
263
+ - `HttpOpts.name?: string` — Display name the designer shows on the task.
264
+ - `HttpOpts.url: string` — Request URL.
265
+ - `HttpOpts.method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS'` — HTTP method.
266
+ - `HttpOpts.headers?: Record<string, unknown>` — Request headers — serialized to the node's json context field.
267
+ - `HttpOpts.parameters?: Record<string, unknown>` — Query parameters — serialized to the node's json context field, or to the request's `query` in connector mode (see…
268
+ - `HttpOpts.body?: unknown` — Request body — serialized to the node's json context field.
269
+ - `HttpOpts.connection?: string` — Symbolic binding name of an Integration Service **connection** to send the request through — which switches the node to…
270
+ - `HttpOpts.folder?: string` — Symbolic binding name of the connection's folder — connector mode only, where the CLI requires it.
271
+ - `HttpOpts.connectorKey?: string` — The connector the connection belongs to, connector mode only.
272
+ - `HttpOpts.outputs?: Record<string, string>` — EXTRA output rows: variable id → `=`-expression read against the node's own result, e.g. `{ runStatus: '=Status' }`.
273
+ - `HttpOpts.outputVar?: string` — Variable the response lands in.
274
+ - `HttpOpts.skipCondition?: string` — `=`-expression that skips the request when truthy.
275
+
276
+ ### `DataServiceOpts`
277
+
278
+ Options for `.dataService()` — one UiPath Data Fabric (Data Service) record or file operation.
279
+
280
+ Extends `ActivityOpts` — its fields and methods apply here too.
281
+
282
+ - `DataServiceOpts.name?: string` — Display name the designer shows.
283
+ - `DataServiceOpts.entity: DataServiceEntity` — The Data Service entity the operation addresses: a tenant-level entity by name, e.g. `'ContractRegistry'`, or a…
284
+ - `DataServiceOpts.connection: string` — The Data Fabric connection: the id of a `.binding()` declared with `propertyAttribute: 'ConnectionId'` (with or without…
285
+ - `DataServiceOpts.folder?: string` — The folder the connection lives in: the id of a `.binding()` declared with `propertyAttribute: 'folderKey'`, or the…
286
+ - `DataServiceOpts.outputVar?: string` — Variable the response lands in.
287
+ - `DataServiceOpts.schema?: unknown` — A JSON Schema for the response, when its shape matters downstream — the created record's fields, say.
288
+ - `DataServiceOpts.skipCondition?: string` — `=`-expression that skips the operation when truthy.
289
+
290
+ ### `OrchestratorOpts`
291
+
292
+ What every Orchestrator invocation needs: which process, in which folder, with what input.
293
+
294
+ Extends `ActivityOpts` — its fields and methods apply here too.
295
+
296
+ - `OrchestratorOpts.name?: string` — Display name the designer shows on the node.
297
+ - `OrchestratorOpts.process: string` — The Orchestrator process to start, by name.
298
+ - `OrchestratorOpts.folder?: string` — Folder path the process lives in.
299
+ - `OrchestratorOpts.input?: Record<string, unknown>` — Input arguments — serialized as the node's `JobArguments` body.
300
+ - `OrchestratorOpts.releaseKey?: string` — Address the release by KEY instead of by name — the deployed resource's `Key` from `uip or processes list --folder-path…
301
+ - `OrchestratorOpts.folderKey?: string` — The folder's `FolderKey` GUID (the same `uip or processes list` row carries it), for a node addressed by…
302
+ - `OrchestratorOpts.outputs?: Record<string, string>` — EXTRA output rows: variable id → `=`-expression read against the node's own result, e.g. `{ runStatus: '=Status' }`.
303
+ - `OrchestratorOpts.outputVar?: string` — Variable the job response lands in.
304
+ - `OrchestratorOpts.skipCondition?: string` — `=`-expression that skips the invocation when truthy.
305
+
306
+ ### `OrchestratorAsyncOpts`
307
+
308
+ Options for the two agentic/case call activities, which come in sync and async forms.
309
+
310
+ Extends `OrchestratorOpts` — its fields and methods apply here too.
311
+
312
+ - `OrchestratorAsyncOpts.async?: boolean` — `true` starts the process and carries on without waiting (`…Async`), so only an error is mapped back.
313
+
314
+ ### `QueueItemOpts`
315
+
316
+ Options for `.queueItem()`.
317
+
318
+ Extends `ActivityOpts` — its fields and methods apply here too.
319
+
320
+ - `QueueItemOpts.name?: string` — Display name the designer shows on the node.
321
+ - `QueueItemOpts.queue: string` — The queue to add the item to.
322
+ - `QueueItemOpts.folder: string` — Folder path the queue lives in.
323
+ - `QueueItemOpts.item?: Record<string, unknown>` — The item's content — serialized as the node's `ItemData` body.
324
+ - `QueueItemOpts.wait?: boolean` — `true` waits for the item to be processed and maps its outcome back (`Orchestrator.CreateAndWaitForQueueItem`); default…
325
+ - `QueueItemOpts.outputs?: Record<string, string>` — EXTRA output rows: variable id → `=`-expression read against the node's own result, e.g. `{ runStatus: '=Status' }`.
326
+ - `QueueItemOpts.outputVar?: string` — Variable the response lands in.
327
+ - `QueueItemOpts.skipCondition?: string` — `=`-expression that skips the enqueue when truthy.
328
+
329
+ ### `HumanTaskOpts`
330
+
331
+ Options for `.humanTask()` — an `Actions.HITL` task, backed by an Action App (HumanTaskAppOpts) or by an inline form…
332
+
333
+ - `type HumanTaskOpts = HumanTaskAppOpts | HumanTaskFormOpts`
334
+
335
+ ### `ReceiveMessageOpts`
336
+
337
+ Options for `.receiveMessage()` — `Maestro.ReceiveMessageEvent`.
338
+
339
+ Extends `ActivityOpts` — its fields and methods apply here too.
340
+
341
+ - `ReceiveMessageOpts.name?: string` — Display name the designer shows on the event.
342
+ - `ReceiveMessageOpts.message: string` — The message name to wait for — the type's required `name` context field.
343
+ - `ReceiveMessageOpts.reference: string` — Correlation reference matching this receive to its sender.
344
+ - `ReceiveMessageOpts.outputVar?: string` — Variable the typed response lands in.
345
+ - `ReceiveMessageOpts.skipCondition?: string` — `=`-expression that skips the event when truthy.
346
+ - `ReceiveMessageOpts.outputs?: never` — There is deliberately NO `outputs` here, unlike `.humanTask()`.
347
+
348
+ ### `ConnectorEventOpts`
349
+
350
+ Shared options for the two connector-event methods.
351
+
352
+ Extends `ActivityOpts` — its fields and methods apply here too.
353
+
354
+ - `ConnectorEventOpts.name?: string` — Display name; defaults to the descriptor's own label.
355
+ - `ConnectorEventOpts.connection: string` — Symbolic binding name for the Integration Service connection.
356
+ - `ConnectorEventOpts.folder: string` — Symbolic binding name for the folder.
357
+ - `ConnectorEventOpts.folderPath?: string` — The folder path.
358
+ - `ConnectorEventOpts.version?: string` — Pin the descriptor version, as `.connector()` does.
359
+ - `ConnectorEventOpts.object?: string` — The OBJECT a GENERIC event watches (`record-created` and its kin on Data Fabric, Salesforce, ServiceNow, Jira).
360
+ - `ConnectorEventOpts.filter?: Record<string, unknown>` — The subscription's SCOPE — the operation's own event parameters, by equality (`{ parentFolderId: '<mail folder id>' }`…
361
+ - `ConnectorEventOpts.filters?: EventFilter[]` — Conditions on the event PAYLOAD, AND-joined after the scope: `[{ field: 'subject', contains: 'TestWaitFor' }]`.
362
+ - `ConnectorEventOpts.parameters?: Record<string, unknown>` — Extra event parameters, for operations that declare them.
363
+ - `ConnectorEventOpts.outputVar?: string` — Variable the event payload lands in.
364
+ - `ConnectorEventOpts.outputs?: Record<string, string>` — Fields to pull out of the payload into variables of their own, e.g. `{ amount: '=response.amount' }`.
365
+ - `ConnectorEventOpts.skipCondition?: string` — `=`-expression that skips the node when truthy.
366
+ - `ConnectorEventOpts.entryPointId?: string | false` — `.eventTrigger()` only: the start event's `uipath:entryPointId`.
367
+
368
+ ### `ExternalTaskOpts`
369
+
370
+ Options for `.externalAgent()` / `.externalWorkflow()`.
371
+
372
+ Extends `ActivityOpts` — its fields and methods apply here too.
373
+
374
+ - `ExternalTaskOpts.name?: string` — Display name; defaults to the descriptor's own label.
375
+ - `ExternalTaskOpts.mode: 'sync' | 'async'` — `sync` waits for the result; `async` starts it and moves on.
376
+ - `ExternalTaskOpts.connection: string` — Symbolic binding name for the Integration Service connection.
377
+ - `ExternalTaskOpts.folder: string` — Symbolic binding name for the folder.
378
+ - `ExternalTaskOpts.version?: string` — Pin the descriptor version.
379
+ - `ExternalTaskOpts.outputVar?: string` — Variable the response lands in.
380
+ - `ExternalTaskOpts.outputs?: Record<string, string>` — Fields to pull out of the response into variables — see ConnectorEventOpts.outputs.
381
+ - `ExternalTaskOpts.skipCondition?: string` — `=`-expression that skips the node when truthy.
382
+
383
+ ### `ActivityNodeOpts`
384
+
385
+ Options for `.activity()` — the generic registry-backed node.
386
+
387
+ Extends `ActivityOpts` — its fields and methods apply here too.
388
+
389
+ - `ActivityNodeOpts.name?: string` — Display name the designer shows.
390
+ - `ActivityNodeOpts.context?: Record<string, unknown>` — `uipath:context` values, by the registry's field names.
391
+ - `ActivityNodeOpts.contextRows?: TypedContextRow[]` — Context rows spelled out, replacing `context` — see TypedContextRow.
392
+ - `ActivityNodeOpts.inputs?: Record<string, unknown>` — The payload, shaped by the type's `inputPattern`.
393
+ - `ActivityNodeOpts.inputRows?: TypedInputRow[]` — The payload rows spelled out, replacing `inputs` — see TypedInputRow.
394
+ - `ActivityNodeOpts.spec?: RegistryTypeSpec` — The type's emission spec, supplied inline — the escape hatch for a registry type the committed snapshot does not carry…
395
+ - `ActivityNodeOpts.outputVar?: string` — Variable the type's own output lands in.
396
+ - `ActivityNodeOpts.outputs?: Record<string, string>` — Extra output rows: variable id → `=`-expression against the node's result.
397
+ - `ActivityNodeOpts.outputRows?: TypedOutputRow[]` — The output rows spelled out, replacing `outputVar` and `outputs`.
398
+ - `ActivityNodeOpts.typeVersion?: string` — The `uipath:type` `version` attribute.
399
+ - `ActivityNodeOpts.inputSchema?: unknown` — The `uipath:inputSchema` body inside `uipath:context` — a JSON Schema for the payload the node accepts.
400
+ - `ActivityNodeOpts.skipCondition?: string` — `=`-expression that skips the node when truthy (activity/event tags only).
401
+ - `ActivityNodeOpts.contextVerbatim?: boolean` — Emit `context` exactly as given, injecting no registry defaults.
402
+ - `ActivityNodeOpts.entryPointId?: string | false` — When the registry type is emitted as a `bpmn:startEvent` (a trigger such as `Intsvc.EventTrigger`): its…
403
+
404
+ ### `SubProcessOpts`
405
+
406
+ Options for `.subProcess()`.
407
+
408
+ Extends `ActivityOpts` — its fields and methods apply here too.
409
+
410
+ - `SubProcessOpts.name?: string` — Display name the designer shows on the sub-process.
411
+ - `SubProcessOpts.triggeredByEvent?: boolean` — Mark an EVENT sub-process — started by an event inside it, not by an incoming flow.
412
+ - `SubProcessOpts.payload?: ExtensionPayload` — A `uipath:mapping` on the sub-process itself, mapping its results back out to the enclosing scope's variables — see…
413
+
414
+ ### `EventSubProcessOpts`
415
+
416
+ Options for ScopeBuilder.eventSubProcess.
417
+
418
+ - `EventSubProcessOpts.name?: string` — Display name the designer shows on the sub-process.
419
+ - `EventSubProcessOpts.error?: ErrorLike` — Start when an error is thrown anywhere in the enclosing container that nothing closer caught: `true` for any error, or a…
420
+ - `EventSubProcessOpts.message?: string` — Start when this message arrives while the container is active.
421
+ - `EventSubProcessOpts.timer?: TimerLike` — Start on a timer measured from the container's own start.
422
+ - `EventSubProcessOpts.interrupting?: boolean` — For a `message` or `timer` start: `false` lets the container keep running while the sub-process handles the event…
423
+ - `EventSubProcessOpts.errorVar?: string | false` — With `error`: the variable the caught error is captured into, through the same `=Error` output row…
424
+ - `EventSubProcessOpts.startId?: string` — The synthesized start event's id.
425
+ - `EventSubProcessOpts.startName?: string` — Display name the designer shows on the start event.
426
+ - `EventSubProcessOpts.startPayload?: ExtensionPayload` — A payload on the start event, spelled out by hand — see ExtensionPayload.
427
+ - `EventSubProcessOpts.startEntryPointId?: string | false` — The nested start event's `uipath:entryPointId`, written only when set: the canvas strips ids inside a sub-process, so…
428
+ - `EventSubProcessOpts.tags?: Record<string, string>` — `uipath:tags` on the sub-process — see ActivityOpts.tags.
429
+ - `EventSubProcessOpts.payload?: ExtensionPayload` — A `uipath:mapping` on the sub-process itself — see SubProcessOpts.payload.
430
+
431
+ ### `ChooseOpts`
432
+
433
+ Options for ScopeBuilder.choose.
434
+
435
+ - `ChooseOpts.name?: string` — Display name the designer shows on the splitting gateway.
436
+ - `ChooseOpts.inclusive?: boolean` — `true` emits an INCLUSIVE gateway — every arm whose `when` holds is taken, not only the first — and the arms rejoin…
437
+ - `ChooseOpts.join?: JoinOpts` — The join gateway's id and name, when the defaults will not do — see JoinOpts.
438
+
439
+ ### `SplitOpts`
440
+
441
+ Options for ScopeBuilder.fork and ScopeBuilder.race.
442
+
443
+ - `SplitOpts.name?: string` — Display name the designer shows on the splitting gateway.
444
+ - `SplitOpts.join?: JoinOpts` — The join gateway's id and name, when the defaults will not do — see JoinOpts.
445
+
446
+ ### `FlowOpts`
447
+
448
+ Options for `.sequenceFlow()`.
449
+
450
+ - `FlowOpts.id?: string` — The flow's element id.
451
+ - `FlowOpts.name?: string` — Edge label the designer shows.
452
+ - `FlowOpts.condition?: string` — `=`-expression gating this flow (exclusive/inclusive gateway outgoing).
453
+
454
+ ### `VarOpts`
455
+
456
+ Options for `.var()` / `.input()` / `.output()`.
457
+
458
+ - `VarOpts.name?: string` — Display name; defaults to the variable's id.
459
+ - `VarOpts.default?: unknown` — Optional initial value.
460
+ - `VarOpts.elementId?: string | null` — The element this declaration belongs to, written as `elementId` on the wire.
461
+ - `VarOpts.schema?: unknown` — The declaration's BODY — a JSON Schema describing the shape of a `jsonSchema` (or `json`) variable.
462
+ - `VarOpts.required?: boolean` — Mark the declaration `required="true"`, as a process input can be.
463
+ - `VarOpts.custom?: boolean` — The product's `custom="true"` flag: an author added this declaration, as opposed to its coming with a node's contract.
464
+ - `VarOpts.internal?: boolean` — The product's `internal="true"` flag: the platform owns this declaration, not the author — `internalCustomInstanceId`…
465
+ - `VarOpts.subType?: string` — A refinement of `type` the designer carries, e.g. `subType="object"` on a `jsonSchema` variable that holds an object…
466
+
467
+ ### `ActivityOpts`
468
+
469
+ What every ACTIVITY accepts, on top of its own options — a script task, a variable task, a connector task, a…
470
+
471
+ - `ActivityOpts.tags?: Record<string, string>` — `uipath:tags` on the activity — key/value pairs the designer carries alongside the node, as a SIBLING of its payload.
472
+ - `ActivityOpts.retry?: RetrySpec` — Retry the activity when it fails — see RetrySpec.
473
+ - `ActivityOpts.loop?: LoopSpec` — Run it once per item of a collection — see LoopSpec.
474
+ - `ActivityOpts.errorMapping?: ErrorMappingRow[]` — Classify the activity's failures — see ErrorMappingRow.
475
+
476
+ ### `ConnectorOpts`
477
+
478
+ - `ConnectorOpts.version?: string` — Connector action version (defaults to the library's newest match).
479
+ - `ConnectorOpts.connection?: string` — Symbolic connection name declared in bindings.json (→ ConnectionId).
480
+ - `ConnectorOpts.folder?: string` — Symbolic folder name declared in bindings.json (→ connectionFolderKey).
481
+ - `ConnectorOpts.object?: string` — Which OBJECT a **generic** operation addresses — e.g. ServiceNow's "List All Records" on `'acr_user'`, NetSuite's "Get…
482
+
483
+ ### `HumanTaskAppOpts`
484
+
485
+ Options for `.humanTask()` backed by an Action App — an `Actions.HITL` action-app task.
486
+
487
+ Extends `HumanTaskCommonOpts` — its fields and methods apply here too.
488
+
489
+ - `HumanTaskAppOpts.app: string` — The Action App's id (`appId`).
490
+ - `HumanTaskAppOpts.form?: never` — Not on this variant — see HumanTaskFormOpts.
491
+ - `HumanTaskAppOpts.appVersion?: number` — The app version (`appVersion`).
492
+ - `HumanTaskAppOpts.actions?: string[]` — The outcomes a human can pick, e.g. `['approve', 'reject']`.
493
+ - `HumanTaskAppOpts.key?: string` — An existing task key, when resuming rather than creating (`key`).
494
+ - `HumanTaskAppOpts.input?: Record<string, unknown>` — Data the task shows the human — the node's `HitlTaskArguments`.
495
+
496
+ ### `HumanTaskFormOpts`
497
+
498
+ Options for `.humanTask()` with an INLINE form — the quick-form `Actions.HITL` task, which needs no Action App.
499
+
500
+ Extends `HumanTaskCommonOpts` — its fields and methods apply here too.
501
+
502
+ - `HumanTaskFormOpts.form: HumanTaskForm` — The inline form: its fields and its outcomes.
503
+ - `HumanTaskFormOpts.app?: never` — Not on this variant — the form replaces the app.
504
+ - `HumanTaskFormOpts.priority?: string` — Action Center priority, e.g. `'Medium'` (`priority`).
505
+ - `HumanTaskFormOpts.labels?: string` — Action Center labels, comma-separated (`labels`).
506
+
507
+ ### `JoinOpts`
508
+
509
+ The join gateway a construct emits when more than one arm falls through.
510
+
511
+ - `JoinOpts.id?: string` — The join gateway's element id.
512
+ - `JoinOpts.name?: string` — Display name the designer shows on the join gateway.
513
+
514
+ ### `ErrorHandlerOpts`
515
+
516
+ Options for ActivityBuilder.onError.
517
+
518
+ Extends `HandlerOpts` — its fields and methods apply here too.
519
+
520
+ - `ErrorHandlerOpts.errorVar?: string` — Capture the error payload into this variable, the way the product does on every error boundary it writes: a…
521
+
522
+ ### `TimerHandlerOpts`
523
+
524
+ Options for ActivityBuilder.onTimer.
525
+
526
+ Extends `HandlerOpts` — its fields and methods apply here too.
527
+
528
+ - `TimerHandlerOpts.interrupting?: boolean` — Whether firing cancels the activity.
529
+
530
+ ### `MessageHandlerOpts`
531
+
532
+ Options for ActivityBuilder.onMessage.
533
+
534
+ Extends `HandlerOpts` — its fields and methods apply here too.
535
+
536
+ - `MessageHandlerOpts.interrupting?: boolean` — Whether the message cancels the activity — see TimerHandlerOpts.interrupting.
537
+
538
+ ### `HumanTaskCommonOpts`
539
+
540
+ What both variants of `.humanTask()` take.
541
+
542
+ Extends `ActivityOpts` — its fields and methods apply here too.
543
+
544
+ - `HumanTaskCommonOpts.name?: string` — Display name the designer shows on the task.
545
+ - `HumanTaskCommonOpts.title?: string` — The task title a human sees (`taskTitle`).
546
+ - `HumanTaskCommonOpts.outputs?: Record<string, string>` — Fields to pull out of the human's response into variables, e.g. `{ decision: '=Action' }`.
547
+ - `HumanTaskCommonOpts.outputVar?: string` — Variable the whole typed response lands in.
548
+ - `HumanTaskCommonOpts.skipCondition?: string` — `=`-expression that skips the task when truthy.
549
+
550
+ ## Supporting types
551
+
552
+ ### `BpmnPreservation`
553
+
554
+ Non-authoring state retained by decompile/recompile.
555
+
556
+ - `BpmnPreservation.variableOrder?: string[]` — The order declarations are written in, by id.
557
+
558
+ ### `ProcessMetadata`
559
+
560
+ Process-level metadata — the `uipath:*` children of the process's own `extensionElements` that describe the DOCUMENT…
561
+
562
+ - `ProcessMetadata.migrationVersion?: string` — Canvas schema generation the document targets (`uipath:migrationVersion`), e.g. `'11'` or `'11.5'`.
563
+ - `ProcessMetadata.entryPointId?: string | false` — The root start event's package entry-point id (`uipath:entryPointId`).
564
+ - `ProcessMetadata.tags?: string[]` — Free-form document tags (`uipath:tags` / `uipath:tag`).
565
+ - `ProcessMetadata.caseManagement?: { version: string; value?: string }` — Case-management marker (`uipath:caseManagement`) — `version` plus its body value.
566
+ - `ProcessMetadata.executable?: boolean` — `bpmn:process/@isExecutable`.
567
+
568
+ ### `SchemaEntry`
569
+
570
+ One entry of BpmnBuilder.schemas — a `.schema()` call written as data.
571
+
572
+ - `SchemaEntry.id: string` — The schema's id, referenced by a `schema: '<id>'` option.
573
+ - `SchemaEntry.body: unknown` — The JSON Schema itself.
574
+
575
+ ### `BindingEntry`
576
+
577
+ One entry of BpmnBuilder.bindings — a `.binding()` call written as data.
578
+
579
+ Extends `BindingOpts` — its fields and methods apply here too.
580
+
581
+ - `BindingEntry.id: string` — The binding's id — what `=bindings.<id>` refers to.
582
+
583
+ ### `BuiltBpmn`
584
+
585
+ The built in-memory process graph `.build()` returns — the IR `serialize()` walks into `.bpmn` XML.
586
+
587
+ - `BuiltBpmn.id: string` — The process id, as passed to `bpmn()`.
588
+ - `BuiltBpmn.name?: string` — The process's display name, from `.name()`.
589
+ - `BuiltBpmn.variables: BpmnVarDecl[]` — Every declared variable, root and element-scoped alike.
590
+ - `BuiltBpmn.messages: MessageDecl[]` — definitions-level `bpmn:message` declarations referenced by message events.
591
+ - `BuiltBpmn.errors: ErrorDecl[]` — definitions-level `bpmn:error` declarations referenced by error events.
592
+ - `BuiltBpmn.bindings: BindingDecl[]` — Author-declared `uipath:binding` entries (connector wiring adds its own at serialize).
593
+ - `BuiltBpmn.nodes: BpmnNode[]` — The top-level elements, in authoring order (sub-processes nest their own).
594
+ - `BuiltBpmn.flows: BpmnFlow[]` — The top-level sequence flows (sub-processes nest their own).
595
+ - `BuiltBpmn.metadata?: ProcessMetadata` — Process-level metadata from `.metadata()`, when any was declared.
596
+ - `BuiltBpmn.schemas: Map<string, unknown>` — Named schemas from `.schema()`, which a row's `schema` may reference by id.
597
+ - `BuiltBpmn.preservation?: BpmnPreservation` — Non-authoring state carried from the source — see BpmnBuilder.preserve.
598
+
599
+ ### `BpmnNode`
600
+
601
+ One node in the built graph — a discriminated union with one arm per BPMN element kind, which the serializer walks into…
602
+
603
+ - `type BpmnNode` — 2732 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
604
+
605
+ ### `BpmnFlow`
606
+
607
+ One sequence flow in the built graph — the edge from `source` to `target` (`bpmn:sequenceFlow`).
608
+
609
+ - `BpmnFlow.id: string` — The flow's element id.
610
+ - `BpmnFlow.source: string` — The id of the element the flow leaves.
611
+ - `BpmnFlow.target: string` — The id of the element it arrives at.
612
+ - `BpmnFlow.name?: string` — Edge label the designer shows.
613
+ - `BpmnFlow.condition?: string` — `=`-expression gating this flow (exclusive/inclusive gateway outgoing).
614
+ - `BpmnFlow.implied?: true` — Set on a flow the builder wrote by implication — an arm's chain, a handler's path, a construct's join, or a…
615
+
616
+ ### `BpmnVarDecl`
617
+
618
+ A declared variable in the built graph (`uipath:input` / `uipath:inputOutput` / `uipath:output`, by `direction`).
619
+
620
+ - `BpmnVarDecl.id: string` — The variable's id — what expressions read as `vars.<id>`.
621
+ - `BpmnVarDecl.name: string` — Display name; `.var()`/`.input()`/`.output()` default it to the id.
622
+ - `BpmnVarDecl.type: TypeDesc` — The variable's `types.*` descriptor.
623
+ - `BpmnVarDecl.direction: VarDirection` — How the variable crosses the process boundary — see VarDirection.
624
+ - `BpmnVarDecl.default?: unknown` — Optional initial value.
625
+ - `BpmnVarDecl.elementId?: string | null` — The element the declaration belongs to — see VarOpts.elementId.
626
+ - `BpmnVarDecl.schema?: unknown` — The declaration's body — a JSON Schema for a structured variable.
627
+ - `BpmnVarDecl.required?: boolean` — Mark the declaration `required="true"`, as a process input can be.
628
+ - `BpmnVarDecl.custom?: boolean` — The product's "an author added this" flag — see VarOpts.custom.
629
+ - `BpmnVarDecl.internal?: boolean` — The product's "the platform owns this" flag — see VarOpts.internal.
630
+ - `BpmnVarDecl.subType?: string` — A refinement of `type` the designer carries — see VarOpts.subType.
631
+
632
+ ### `DefinitionsRegistry`
633
+
634
+ Collects definitions-level message/error declarations, de-duped by name.
635
+
636
+ - `DefinitionsRegistry.messages: MessageDecl[]` — Every declared message, in declaration order — `BuiltBpmn.messages`.
637
+ - `DefinitionsRegistry.errors: ErrorDecl[]` — Every declared error, in declaration order — `BuiltBpmn.errors`.
638
+ - `DefinitionsRegistry.messageRef(name: string): string` — Declare a message once and reuse it, returning the id events reference.
639
+ - `DefinitionsRegistry.errorRef(name: string, code?: string): string` — Declare an error once and reuse it, returning the id events reference.
640
+
641
+ ### `BindingsRegistry`
642
+
643
+ Collects `uipath:binding` declarations, de-duped by id.
644
+
645
+ - `BindingsRegistry.bindings: BindingDecl[]` — Every declared binding, in declaration order — `BuiltBpmn.bindings`.
646
+ - `BindingsRegistry.declare(decl: BindingDecl): BindingDecl` — Declare once and keep the FIRST declaration, so an author's own `.binding()` wins over one a typed node would have…
647
+ - `BindingsRegistry.has(id: string): boolean`
648
+
649
+ ### `ScopeStorage`
650
+
651
+ The arrays an arm shares with the scope it is written into.
652
+
653
+ - `ScopeStorage.nodes: BpmnNode[]` — The scope's elements, in placement order.
654
+ - `ScopeStorage.flows: BpmnFlow[]` — The scope's sequence flows, explicit and implied alike.
655
+ - `ScopeStorage.vars: BpmnVarDecl[]` — The variables declared in the scope.
656
+ - `ScopeStorage.mustClose: Array<{ id: string; reason: string }>` — Elements whose path must be ended or wired by hand, checked when the real scope closes.
657
+
658
+ ### `SugarRegistry`
659
+
660
+ Bookkeeping the nesting sugar shares across every scope of one process.
661
+
662
+ - `SugarRegistry.impliedFlowIds: Set<string>` — Flow ids the builder wrote by implication rather than from an explicit `.sequenceFlow()`.
663
+ - `SugarRegistry.pinnedFlowIds: Map<string, string>` — Ids to give implied edges, keyed `source\u0000target` — see ScopeBuilder.flowIds.
664
+ - `SugarRegistry.autoVars: Array<{ id: string; vars: BpmnVarDecl[]; elementId: string }>` — Variables an `errorVar` asked for — declared at build unless the author declared the id.
665
+ - `SugarRegistry.processId: string` — The `bpmn(…)` id, which every scope can derive stable ids from — a quick human task's default `hitlSchemaId`.
666
+
667
+ ### `WiringMode`
668
+
669
+ The builder-internal spelling of FlowMode, kept so the field types read as what they are.
670
+
671
+ - `type WiringMode = FlowMode`
672
+
673
+ ### `PendingExit`
674
+
675
+ An edge waiting for the element that continues it: the open end of an arm, a handler, or a join, plus what the flow…
676
+
677
+ - `PendingExit.source: string` — The element the edge leaves.
678
+ - `PendingExit.condition?: string` — Condition to put on the flow — an empty arm's `when`.
679
+ - `PendingExit.name?: string` — Label to put on the flow.
680
+ - `PendingExit.defaultOf?: GatewayNode` — The gateway whose `default` must name the flow once it exists — an `otherwise` arm.
681
+ - `PendingExit.origin?: string` — Where this exit came from — an arm, a handler, a join — for the message when nothing ever consumes it.
682
+
683
+ ### `FlowMode`
684
+
685
+ How a scope wires elements no explicit `.sequenceFlow()` covers — see ScopeBuilder.flowMode.
686
+
687
+ - `type FlowMode = 'explicit' | 'sequence'`
688
+
689
+ ### `EventDef`
690
+
691
+ The resolved event definition attached to an event node.
692
+
693
+ - `type EventDef = { type: 'message'; messageRef: string; } | { type: 'timer'; timer: TimerSpec; } | { type: 'error'; errorRef?: string; } | { type: 'terminate'; }`
694
+
695
+ ### `ArmBodyFn`
696
+
697
+ The elements of one branch arm or boundary-handler path — see PathBuilder.
698
+
699
+ - `type ArmBodyFn = (b: PathBuilder) => void`
700
+
701
+ ### `ActivityBodyFn`
702
+
703
+ Boundary events declared on the activity they attach to — the callback every activity method accepts as its last…
704
+
705
+ - `type ActivityBodyFn = (t: ActivityBuilder) => void`
706
+
707
+ ### `ConnectorDescriptor`
708
+
709
+ A generated, typed connector descriptor: ConnectorMeta branded with phantom input/output types.
710
+
711
+ - `type ConnectorDescriptor<I = Record<string, unknown>, O = Record<string, unknown>> = ConnectorMeta & { readonly __inputs?: I; readonly __outputs?: O; }`
712
+
713
+ ### `DataServiceOperation`
714
+
715
+ The operation half of DataServiceOpts — one of eight, discriminated on `op`.
716
+
717
+ One of 8 forms — form 1:
718
+
719
+ - `DataServiceOperation.op: 'create'` — Create one record — `CreateEntityRecordCurated`.
720
+ - `DataServiceOperation.record: Record<string, unknown>` — The record's fields, by the entity's field names.
721
+
722
+ One of 8 forms — form 2:
723
+
724
+ - `DataServiceOperation.op: 'update'` — Replace one record — `UpdateEntityRecordV2`.
725
+ - `DataServiceOperation.id: string` — The record's `Id`.
726
+ - `DataServiceOperation.record: Record<string, unknown>` — The record's fields, by the entity's field names.
727
+
728
+ One of 8 forms — form 3:
729
+
730
+ - `DataServiceOperation.op: 'get'` — Read one record by id — `GetEntityRecordByIdCurated`.
731
+ - `DataServiceOperation.recordId: string` — The record's `Id`.
732
+ - `DataServiceOperation.expansionLevel?: number` — How many levels of related records to expand into the response.
733
+
734
+ One of 8 forms — form 4:
735
+
736
+ - `DataServiceOperation.op: 'query'` — Query records with a filter — `QueryEntityRecordsCurated`.
737
+ - `DataServiceOperation.where?: string` — The filter, in the Data Service query language, e.g. `"status = 'Open'"` or `"contractTitle IS NULL"`.
738
+ - `DataServiceOperation.start?: number` — Zero-based offset of the first record.
739
+ - `DataServiceOperation.limit?: number` — Page size.
740
+ - `DataServiceOperation.sortBy?: string` — Field to sort by.
741
+ - `DataServiceOperation.ascending?: boolean` — Sort direction, when `sortBy` is set.
742
+ - `DataServiceOperation.expansionLevel?: number` — How many levels of related records to expand into each result.
743
+
744
+ One of 8 forms — form 5:
745
+
746
+ - `DataServiceOperation.op: 'delete'` — Delete one record — `DeleteEntityRecordCurated`.
747
+ - `DataServiceOperation.recordId: string` — The record's `Id`.
748
+
749
+ One of 8 forms — form 6:
750
+
751
+ - `DataServiceOperation.op: 'downloadFile'` — Download the file stored in a record's file field — `GET /Attachment/{entityName}/{recordId}/{fieldName}`.
752
+ - `DataServiceOperation.recordId: string` — The record's `Id`.
753
+ - `DataServiceOperation.field: string` — The file field's name.
754
+
755
+ One of 8 forms — form 7:
756
+
757
+ - `DataServiceOperation.op: 'uploadFile'` — Upload a file into a record's file field — `POST /Attachment/{entityName}/{recordId}/{fieldName}`.
758
+ - `DataServiceOperation.recordId: string` — The record's `Id`.
759
+ - `DataServiceOperation.field: string` — The file field's name.
760
+ - `DataServiceOperation.file: string` — The file to upload — an `=`-expression reading a `file` variable, e.g. `'=vars.downloaded'`.
761
+
762
+ One of 8 forms — form 8:
763
+
764
+ - `DataServiceOperation.op: 'deleteFile'` — Delete the file stored in a record's file field — `DELETE /Attachment/{entityName}/{recordId}/{fieldName}`.
765
+ - `DataServiceOperation.recordId: string` — The record's `Id`.
766
+ - `DataServiceOperation.field: string` — The file field's name.
767
+
768
+ ### `ChooseArm`
769
+
770
+ One arm of ScopeBuilder.choose: a `when` condition, or the single `otherwise` fallback.
771
+
772
+ - `type ChooseArm = { when: string; otherwise?: never; label?: string; body?: ArmBodyFn; } | { otherwise: true; when?: never; label?: string; body?: ArmBodyFn; }`
773
+
774
+ ### `PinnedFlowId`
775
+
776
+ One implied edge whose id is pinned — see ScopeBuilder.flowIds.
777
+
778
+ - `PinnedFlowId.source: string` — The element the edge leaves.
779
+ - `PinnedFlowId.target: string` — The element it flows into.
780
+ - `PinnedFlowId.id: string` — The id to give it instead of the derived `Flow_<source>_<target>`.
781
+
782
+ ### `TypeDesc`
783
+
784
+ - `type TypeDesc = (typeof types)[keyof typeof types]`
785
+
786
+ ### `VarEntry`
787
+
788
+ One entry of ScopeBuilder.vars — a `.var()` / `.input()` / `.output()` call written as data.
789
+
790
+ Extends `VarOpts` — its fields and methods apply here too.
791
+
792
+ - `VarEntry.id: string` — The variable's id — what expressions read as `vars.<id>`.
793
+ - `VarEntry.type: TypeDesc` — A `types.*` descriptor.
794
+ - `VarEntry.direction?: VarDirection` — Which declaration this is.
795
+
796
+ ### `MessageDecl`
797
+
798
+ A definitions-level `bpmn:message` declaration, referenced by message events.
799
+
800
+ - `MessageDecl.id: string` — The declaration's id — what an event's `messageRef` points at.
801
+ - `MessageDecl.name: string` — The message's name, as authored on the event option.
802
+
803
+ ### `ErrorDecl`
804
+
805
+ A definitions-level `bpmn:error` declaration, referenced by error events.
806
+
807
+ - `ErrorDecl.id: string` — The declaration's id — what an event's `errorRef` points at.
808
+ - `ErrorDecl.name: string` — The error's name, as authored on the event option.
809
+ - `ErrorDecl.code?: string` — The error code the runtime matches on.
810
+
811
+ ### `BindingDecl`
812
+
813
+ A declared external identifier the process needs supplied at deploy time — a connection id, a folder key, a process…
814
+
815
+ - `BindingDecl.id: string` — The binding's id — what `=bindings.<id>` refers to.
816
+ - `BindingDecl.name: string` — Display name the designer shows.
817
+ - `BindingDecl.resource: string` — The kind of resource this identifies, e.g. `'Connection'`, `'process'`, `'queue'`.
818
+ - `BindingDecl.propertyAttribute: string` — Which property of that resource is wanted, e.g. `'ConnectionId'`, `'Key'`.
819
+ - `BindingDecl.default?: string` — The value `=bindings.<id>` resolves to — see BindingOpts.value, the `value` option.
820
+ - `BindingDecl.resourceKey?: string` — Which resource this is bound to; never resolved — see BindingOpts.resourceKey.
821
+ - `BindingDecl.resourceSubType?: string` — Narrows the resource, e.g. `'Agent'` for an agent process.
822
+
823
+ ### `EventKind`
824
+
825
+ The four non-boundary event element kinds a BpmnNode can be.
826
+
827
+ - `type EventKind = 'startEvent' | 'endEvent' | 'intermediateCatchEvent' | 'intermediateThrowEvent'`
828
+
829
+ ### `ExtensionPayload`
830
+
831
+ An extension payload carried by an element the payload does not describe.
832
+
833
+ - `ExtensionPayload.type: string` — The extension type, e.g. `'BPMN.Variables'` or `'uipath:Activity'`.
834
+ - `ExtensionPayload.outputRows: TypedOutputRow[]` — `uipath:output` rows, emitted exactly as given — see TypedOutputRow.
835
+
836
+ ### `GatewayKind`
837
+
838
+ The four gateway element kinds a BpmnNode can be.
839
+
840
+ - `type GatewayKind = 'exclusiveGateway' | 'parallelGateway' | 'inclusiveGateway' | 'eventBasedGateway'`
841
+
842
+ ### `ActivityNodeFields`
843
+
844
+ The fields every activity arm of BpmnNode carries — the built form of ActivityOpts.
845
+
846
+ - `ActivityNodeFields.tags?: Record<string, string>` — `uipath:tags` on the node — see ActivityOpts.tags.
847
+ - `ActivityNodeFields.retry?: RetrySpec` — Retry policy (`uipath:retry`).
848
+ - `ActivityNodeFields.loop?: LoopSpec` — Multi-instance loop (`bpmn:multiInstanceLoopCharacteristics` + `uipath:loopCharacteristics`).
849
+ - `ActivityNodeFields.errorMapping?: ErrorMappingRow[]` — Failure classification (`uipath:errorMapping`) — see ErrorMappingRow.
850
+
851
+ ### `TypedOutputRow`
852
+
853
+ - `TypedOutputRow.name: string` — Row name, e.g. `response` or `Error`.
854
+ - `TypedOutputRow.type?: string` — Row type, e.g. `jsonSchema`, `string`, or a registry type.
855
+ - `TypedOutputRow.var?: string` — Variable the row writes.
856
+ - `TypedOutputRow.source?: string` — `=`-expression read against the node's result, e.g. `=response`.
857
+ - `TypedOutputRow.schema?: unknown` — The row's body — a JSON Schema for a `jsonSchema` row.
858
+ - `TypedOutputRow.varSchema?: unknown` — The schema body of the VARIABLE this row fills — not the row's own `schema`.
859
+ - `TypedOutputRow.custom?: boolean` — Mark the row `custom="true"` — the product's flag for a row an author added rather than one the node's type declares.
860
+ - `TypedOutputRow.description?: string` — The row's `description` — designer help text the product carries on some rows.
861
+ - `TypedOutputRow.target?: string` — The row's `target`.
862
+
863
+ ### `ConnectorOutputRow`
864
+
865
+ One extra output row on a connector task, spelled out — the object form of an entry in BpmnConnectorOpts' `outputs`.
866
+
867
+ - `ConnectorOutputRow.source: string` — The `=`-expression against the result, e.g. `'=response.Id'`.
868
+ - `ConnectorOutputRow.name?: string` — The row's `name`; defaults to the variable.
869
+ - `ConnectorOutputRow.type?: string` — The row's `type`; defaults to the variable's declared type, else `string`.
870
+ - `ConnectorOutputRow.custom?: boolean` — The designer's `custom="true"` mark on a row the author added in the variables panel.
871
+
872
+ ### `TypedInputRow`
873
+
874
+ One `uipath:input` payload row spelled out — the `separateInputs` counterpart of TypedContextRow.
875
+
876
+ - `TypedInputRow.name: string` — Row name — the wire parameter name, e.g. `entityName` or `body`.
877
+ - `TypedInputRow.type?: string` — The row's type.
878
+ - `TypedInputRow.target?: string` — The `target` attribute — `path`, `query`, `body`, `file`, `bodyField`, …
879
+ - `TypedInputRow.value?: string` — The `value` attribute, for a scalar row.
880
+ - `TypedInputRow.body?: unknown` — The row's CDATA body, for a `json` row — the value itself, or a string when the exact bytes matter.
881
+
882
+ ### `TypedContextRow`
883
+
884
+ One `uipath:context` input row, spelled out.
885
+
886
+ - `TypedContextRow.name: string` — Field name.
887
+ - `TypedContextRow.type?: string` — The row's declared type.
888
+ - `TypedContextRow.value?: string` — The `value` attribute.
889
+ - `TypedContextRow.body?: unknown` — The row's CDATA body, for a `json` field — the value itself, or a string when the exact bytes matter.
890
+ - `TypedContextRow.target?: string` — The row's `target` attribute, when the artifact carries one.
891
+ - `TypedContextRow.required?: boolean` — The row's `required` attribute — 11 context rows in the corpus carry one.
892
+
893
+ ### `PendingDataServiceEntity`
894
+
895
+ A `.dataService()` whose entity is `{ name, folder }`: which wire it gets, the `_V3` folder form or the tenant form, is…
896
+
897
+ - `PendingDataServiceEntity.ref: EntityRef` — The entity as authored: its name, and the folder path it lives in.
898
+ - `PendingDataServiceEntity.operation: DataServiceOperation` — The operation and its parameters, for the wire the recorded row selects.
899
+
900
+ ### `RegistryTypeSpec`
901
+
902
+ One extension type's emission spec.
903
+
904
+ - `RegistryTypeSpec.element: string | null` — `bpmn:SendTask`, `bpmn:ServiceTask`, …
905
+ - `RegistryTypeSpec.tag: string | null` — `uipath:activity` \| `uipath:event` \| `uipath:mapping`.
906
+ - `RegistryTypeSpec.inputPattern: 'none' | 'mergedBody' | 'separateInputs' | 'splitInputsItemData' | 'scriptArgs' | string`
907
+ - `RegistryTypeSpec.inputName: string | null`
908
+ - `RegistryTypeSpec.inputTarget: string | null`
909
+ - `RegistryTypeSpec.context: RegistryContextField[]`
910
+ - `RegistryTypeSpec.inputs: RegistryInputField[]` — The payload fields the registry declares; empty for types with dynamic inputs.
911
+ - `RegistryTypeSpec.output: RegistryOutput | null`
912
+ - `RegistryTypeSpec.additionalOutputs?: RegistryOutput[]` — Output rows the type writes besides `output` — a business rule's `Error` row (`source="=Error"`).
913
+ - `RegistryTypeSpec.eventDefinition: string | null` — e.g. `bpmn:messageEventDefinition` — what makes a message event a message event.
914
+ - `RegistryTypeSpec.requiresDiscovery: boolean` — True when authoring needs a tenant read (a connection, a process, a queue).
915
+ - `RegistryTypeSpec.isDynamic?: boolean` — The registry's `IsDynamic`: a type whose fields the canvas discovers at design time.
916
+ - `RegistryTypeSpec.bindingPattern: string`
917
+ - `RegistryTypeSpec.placements?: Record<string, { element: string | null; eventDefinition: string | null }>` — The registry's `Placements`: where the canvas offers the type, by placement name (`Activity`, `StartEvent`,…
918
+
919
+ ### `EventFilter`
920
+
921
+ One filter condition on the event payload.
922
+
923
+ Also takes every field of `({ contains: string; } | { startsWith: string; } | { endsWith: string; } | { equals: string | number | boolean; } | { notEquals: string | number | boolean; } | { lessThan: string | number; } | { lessThanOrEqual: string | number; } | { greaterThan: string | number; } | { greaterThanOrEqual: string | number; } | { is: true; } | { isNot: true; })`.
924
+
925
+ - `EventFilter.field: string`
926
+
927
+ ### `PlainTaskElement`
928
+
929
+ The BPMN task elements that are legal with NO `uipath:*` payload.
930
+
931
+ - `type PlainTaskElement = 'bpmn:task' | 'bpmn:userTask' | 'bpmn:serviceTask' | 'bpmn:sendTask' | 'bpmn:manualTask' | 'bpmn:businessRuleTask' | 'bpmn:receiveTask'`
932
+
933
+ ### `VarDirection`
934
+
935
+ How a variable is exposed: `'input'` (read-only entry input), `'output'` (a return value), or `'inputOutput'` (a mutable…
936
+
937
+ - `type VarDirection = 'input' | 'inputOutput' | 'output'`
938
+
939
+ ### `GatewayNode`
940
+
941
+ A gateway node of the built graph.
942
+
943
+ - `type GatewayNode = Extract<BpmnNode, { kind: GatewayKind; }>`
944
+
945
+ ### `TimerSpec`
946
+
947
+ ISO-8601 timer specification (one of duration / date / cycle).
948
+
949
+ - `TimerSpec.duration?: string` — Fire after this ISO-8601 duration, e.g. `'PT30S'`.
950
+ - `TimerSpec.date?: string` — Fire at this ISO-8601 date-time, e.g. `'2026-09-01T09:00:00Z'`.
951
+ - `TimerSpec.cycle?: string` — Fire on this ISO-8601 repeating interval, e.g. `'R/PT1H'`.
952
+
953
+ ### `ErrorLike`
954
+
955
+ What an author passes for an error definition.
956
+
957
+ - `type ErrorLike = true | string | { name: string; code?: string; }`
958
+
959
+ ### `TimerLike`
960
+
961
+ A timer as an ISO-8601 duration string (shorthand for `{ duration }`) or a full spec.
962
+
963
+ - `type TimerLike = string | TimerSpec`
964
+
965
+ ### `ConnectorMeta`
966
+
967
+ Runtime metadata a generated descriptor carries.
968
+
969
+ - `ConnectorMeta.nodeType: string`
970
+ - `ConnectorMeta.version?: string`
971
+ - `ConnectorMeta.requiresConnection?: boolean`
972
+ - `ConnectorMeta.requiresFolderKey?: boolean`
973
+ - `ConnectorMeta.objectName?: string` — Which OBJECT this descriptor addresses, for a **generic** operation whose nodeType covers many (`…netsuite.get-record`…
974
+ - `ConnectorMeta.lookups?: Readonly<Record<string, LookupSpec>>` — The operation's resolvable lookup fields, keyed by field name — generated from each input's `reference` block.
975
+
976
+ ### `DataServiceEntity`
977
+
978
+ The entity a `.dataService()` addresses: a tenant-level entity by name; a folder-scoped one by name and folder PATH, `{…
979
+
980
+ - `type DataServiceEntity = string | EntityRef | DataServiceFolderEntity`
981
+
982
+ ### `RetrySpec`
983
+
984
+ Retry an activity that fails (`uipath:retry`).
985
+
986
+ - `RetrySpec.maxRetries: number` — How many times to retry AFTER the first attempt — so `3` means up to four runs in total.
987
+ - `RetrySpec.backoff?: string` — Wait this long before retrying, as an ISO-8601 duration (`'PT30S'`, `'PT1M'`, `'P1DT12H'`).
988
+ - `RetrySpec.backoffType?: 'static' | 'exponential'` — `'static'` (default) waits `backoff` before every retry; `'exponential'` multiplies it by RetrySpec.exponentialBase each…
989
+ - `RetrySpec.exponentialBase?: number` — Multiplier for `'exponential'` backoff, e.g. `2` for 1s → 2s → 4s.
990
+ - `RetrySpec.allErrors?: boolean` — Retry every failure, not only the ones the platform marks retryable.
991
+ - `RetrySpec.maxDuration?: string` — Give up after this much total elapsed time, as an ISO-8601 duration.
992
+
993
+ ### `LoopSpec`
994
+
995
+ Multi-instance loop over a collection (`uipath:loopCharacteristics`).
996
+
997
+ - `LoopSpec.collection: string` — `=`-expression yielding the collection to iterate.
998
+ - `LoopSpec.itemVar: string` — Name the current item is bound to inside the body (`iterator.<itemVar>`).
999
+ - `LoopSpec.sequential?: boolean` — true = one at a time (sequential); false/omitted = parallel.
1000
+ - `LoopSpec.completion?: string` — Optional `=`-expression completion condition.
1001
+
1002
+ ### `ErrorMappingRow`
1003
+
1004
+ One row of `uipath:errorMapping` — how an activity classifies one kind of failure.
1005
+
1006
+ - `ErrorMappingRow.code: string` — The error CODE this row matches — the wire's `errorRef`.
1007
+ - `ErrorMappingRow.retryable?: boolean` — Whether a retry policy on this activity should retry this failure.
1008
+ - `ErrorMappingRow.id?: string` — Row id, when the artifact carries one.
1009
+ - `ErrorMappingRow.priority?: number | string` — Match order.
1010
+ - `ErrorMappingRow.condition?: string` — `=`-expression narrowing when this row applies.
1011
+ - `ErrorMappingRow.detail?: string` — Human-facing detail.
1012
+
1013
+ ### `EntityRef`
1014
+
1015
+ A Data Fabric entity by name and folder path: a ResourceRef of kind `Entity`, spelled as the plain object a field that…
1016
+
1017
+ - `EntityRef.name: string` — The entity's name, exactly as Data Fabric spells it (names are case-sensitive).
1018
+ - `EntityRef.folder?: string` — The Orchestrator folder path the entity lives in, e.g. `'Shared'` or `'Finance/Prod'`.
1019
+
1020
+ ### `RegistryContextField`
1021
+
1022
+ One context field of a typed node, as the registry describes it.
1023
+
1024
+ - `RegistryContextField.name: string`
1025
+ - `RegistryContextField.displayName: string | null` — The designer's label — what the product validator quotes in its diagnostics.
1026
+ - `RegistryContextField.type: string`
1027
+ - `RegistryContextField.required: boolean`
1028
+ - `RegistryContextField.hidden: boolean`
1029
+ - `RegistryContextField.binding: boolean`
1030
+ - `RegistryContextField.default: string | null`
1031
+ - `RegistryContextField.bindingInfo: { resource: string | null; propertyAttribute: string | null; resourceKeyPattern?: string } | null` — Which resource and property a binding for this field must target, when the platform requires one.
1032
+
1033
+ ### `RegistryInputField`
1034
+
1035
+ One PAYLOAD field of a typed node — the registry's `InputFields`, as distinct from the `ContextFields` above.
1036
+
1037
+ - `RegistryInputField.name: string`
1038
+ - `RegistryInputField.displayName: string | null`
1039
+ - `RegistryInputField.type: string`
1040
+ - `RegistryInputField.required: boolean`
1041
+ - `RegistryInputField.hidden: boolean`
1042
+ - `RegistryInputField.target: string | null` — Where the row points.
1043
+ - `RegistryInputField.default: string | null`
1044
+
1045
+ ### `RegistryOutput`
1046
+
1047
+ The output row a typed node writes, or `null` when it has none.
1048
+
1049
+ - `RegistryOutput.name: string`
1050
+ - `RegistryOutput.type: string`
1051
+ - `RegistryOutput.source: string | null` — `=response`-style source; `null` means the row carries no `source` attribute.
1052
+ - `RegistryOutput.relative: boolean`
1053
+
1054
+ ### `LookupSpec`
1055
+
1056
+ One lookup field's retrieval contract, generated from `reference`.
1057
+
1058
+ - `LookupSpec.objectName?: string` — The collection holding the records, e.g. `curated_users`.
1059
+ - `LookupSpec.path: string` — The path to call, filter included, e.g. `/curated_users?fields=id`.
1060
+ - `LookupSpec.by: readonly string[]` — Every field the collection can be searched by.
1061
+ - `LookupSpec.value: string` — The field whose value is sent to the connector, e.g. `id`.
1062
+ - `LookupSpec.aliases: Readonly<Record<string, string>>` — `{ byEmail: 'profile.email' }` — only for names with an unambiguous alias.
1063
+ - `LookupSpec.strategy: LookupStrategy`
1064
+ - `LookupSpec.dependsOn?: readonly string[]` — For `strategy: 'dependent'`, the fields that must resolve first.
1065
+
1066
+ ### `DataServiceFolderEntity`
1067
+
1068
+ A Data Fabric entity in an Orchestrator folder — what Studio Web's folder-scoped entity picker selects, as opposed to a…
1069
+
1070
+ - `DataServiceFolderEntity.name: string` — The entity's name, e.g. `'SkillPickerEvalEntity'`.
1071
+ - `DataServiceFolderEntity.folderKey: string` — The key of the Orchestrator folder the entity lives in (a GUID), or a `=`-expression yielding it.
1072
+
1073
+ ### `HumanTaskForm`
1074
+
1075
+ An inline form — the quick-form variant of `.humanTask()`, which needs no Action App.
1076
+
1077
+ - `HumanTaskForm.fields: HumanTaskFormField[]` — The fields, in the order the form shows them.
1078
+ - `HumanTaskForm.outcomes: HumanTaskOutcome[]` — The buttons that finish the task, e.g. `['Approve', 'Reject']`.
1079
+ - `HumanTaskForm.schemaId?: string` — The form's `hitlSchemaId`, which Action Center caches the form under.
1080
+
1081
+ ### `LookupStrategy`
1082
+
1083
+ How `prepare` should retrieve the collection, chosen from the metadata.
1084
+
1085
+ - `type LookupStrategy = 'filter' | 'scan' | 'tree' | 'dependent'`
1086
+
1087
+ ### `HumanTaskFormField`
1088
+
1089
+ One field of an inline human-task form.
1090
+
1091
+ - `type HumanTaskFormField = HumanTaskShownField | HumanTaskAskedField | HumanTaskInOutField`
1092
+
1093
+ ### `HumanTaskOutcome`
1094
+
1095
+ One button the reviewer can finish the task with.
1096
+
1097
+ - `type HumanTaskOutcome = string | { name: string; id?: string; }`
1098
+
1099
+ ### `HumanTaskShownField`
1100
+
1101
+ A value the reviewer READS: shown on the form, filled in from the process.
1102
+
1103
+ Extends `FormFieldSettings` — its fields and methods apply here too.
1104
+
1105
+ - `HumanTaskShownField.id: string` — Field id — the key the form and its answers use.
1106
+ - `HumanTaskShownField.label?: string` — Label the reviewer sees.
1107
+ - `HumanTaskShownField.type: FormFieldType` — The field's data type, e.g. `'string'` or `'number'` — the quick-form vocabulary Flow's forms use.
1108
+ - `HumanTaskShownField.direction: 'input'`
1109
+ - `HumanTaskShownField.value: string` — What to show — a `=`-expression, e.g. `'=vars.amount'` or `'=js:vars.total * 1.2'`.
1110
+
1111
+ ### `HumanTaskAskedField`
1112
+
1113
+ A value the reviewer FILLS IN, landing in a process variable.
1114
+
1115
+ Extends `FormFieldSettings` — its fields and methods apply here too.
1116
+
1117
+ - `HumanTaskAskedField.id: string` — Field id — the key the form and its answers use.
1118
+ - `HumanTaskAskedField.label?: string` — Label the reviewer sees.
1119
+ - `HumanTaskAskedField.type: FormFieldType` — The field's data type, e.g. `'string'` or `'number'` — the quick-form vocabulary Flow's forms use.
1120
+ - `HumanTaskAskedField.direction: 'output'`
1121
+ - `HumanTaskAskedField.required?: boolean` — Reviewer must fill it in before the task can be completed.
1122
+ - `HumanTaskAskedField.variable?: string` — The process variable the answer lands in.
1123
+
1124
+ ### `HumanTaskInOutField`
1125
+
1126
+ A value the reviewer READS AND CAN CORRECT: pre-filled, editable, and written back.
1127
+
1128
+ Extends `FormFieldSettings` — its fields and methods apply here too.
1129
+
1130
+ - `HumanTaskInOutField.id: string` — Field id — the key the form and its answers use.
1131
+ - `HumanTaskInOutField.label?: string` — Label the reviewer sees.
1132
+ - `HumanTaskInOutField.type: FormFieldType` — The field's data type, e.g. `'string'` or `'number'` — the quick-form vocabulary Flow's forms use.
1133
+ - `HumanTaskInOutField.direction: 'inOut'`
1134
+ - `HumanTaskInOutField.value: string` — What to pre-fill — a `=`-expression, e.g. `'=vars.category'`.
1135
+ - `HumanTaskInOutField.required?: boolean` — Reviewer must confirm or fill it before the task can be completed.
1136
+ - `HumanTaskInOutField.variable?: string` — The process variable the (possibly corrected) value lands in.
1137
+
1138
+ ### `FormFieldSettings`
1139
+
1140
+ The form-field keys that say how a field looks and behaves, with the platform's own names and shapes…
1141
+
1142
+ - `FormFieldSettings.rules?: FormFieldRule[]` — Conditions that show, require or disable the field.
1143
+ - `FormFieldSettings.requiredMessage?: string` — The message the form shows when a required field is left empty.
1144
+ - `FormFieldSettings.colSpan?: number` — The field's width on the form's 12-column grid: an integer from 1 to 12.
1145
+ - `FormFieldSettings.controlType?: FormFieldControlType` — How the field renders, e.g. `'dropdown'` or `'textarea'`.
1146
+ - `FormFieldSettings.options?: FormFieldOption[]` — The choices of a picker field — a `dropdown` / `singleSelect` / `enum`, or a `multiSelect`.
1147
+ - `FormFieldSettings.defaultValue?: string | string[]` — The value the form starts with: one `options` value for a single-choice field, a list of them for a multi-select, or the…
1148
+ - `FormFieldSettings.description?: string` — Guidance for an agent that pre-fills the field.
1149
+
1150
+ ### `FormFieldType`
1151
+
1152
+ A form field's type: one of the platform's canonical types; `'text'` / `'date-time'`, the SDK's older spellings of…
1153
+
1154
+ - `type FormFieldType = CanonicalFormFieldType | 'text' | 'date-time' | ControlFormFieldType`
1155
+
1156
+ ### `FormFieldRule`
1157
+
1158
+ A form-field rule (`@uipath/hitl-schema-types` `fieldRuleSchema`): when its conditions hold, its `effects` apply to the…
1159
+
1160
+ - `FormFieldRule.id: string` — The rule's own stable id, e.g. `'rule-1'`.
1161
+ - `FormFieldRule.conditions: FormFieldCondition[]` — What must hold for the effects to apply.
1162
+ - `FormFieldRule.operator?: 'AND' | 'OR'` — How the conditions combine.
1163
+ - `FormFieldRule.effects: Record<string, unknown>` — What applies while the conditions hold, keyed by effect (`visible`, `required`, `disabled`).
1164
+
1165
+ ### `FormFieldControlType`
1166
+
1167
+ How a form field renders (`@uipath/hitl-schema-types` `controlType`).
1168
+
1169
+ - `type FormFieldControlType` — 190 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
1170
+
1171
+ ### `FormFieldOption`
1172
+
1173
+ One choice of a picker field (`@uipath/hitl-schema-types` `optionShape`): `value` is what the answer holds, `label` what…
1174
+
1175
+ - `FormFieldOption.id: string` — The option's own stable id, e.g. `'opt-1'`.
1176
+ - `FormFieldOption.value: string` — What the answer holds when the reviewer picks it, e.g. `'high'`.
1177
+ - `FormFieldOption.label: string` — What the reviewer sees, e.g. `'High'`.
1178
+
1179
+ ### `CanonicalFormFieldType`
1180
+
1181
+ The platform's 11 canonical quick-form field types (`@uipath/hitl-schema-types` `fieldType`), which the designer saves.
1182
+
1183
+ - `type CanonicalFormFieldType = 'string' | 'number' | 'integer' | 'float' | 'double' | 'boolean' | 'date' | 'datetime' | 'file' | 'object' | 'array'`
1184
+
1185
+ ### `ControlFormFieldType`
1186
+
1187
+ The platform's choice-control spellings of a field type.
1188
+
1189
+ - `type ControlFormFieldType = 'singleSelect' | 'multiSelect' | 'enum'`
1190
+
1191
+ ### `FormFieldCondition`
1192
+
1193
+ One condition of a form-field rule (`@uipath/hitl-schema-types` `fieldConditionSchema`): `when` names the field it…
1194
+
1195
+ - `FormFieldCondition.when: string` — The id of the field the condition reads, e.g. `'priority'`.
1196
+ - `FormFieldCondition.is?: unknown` — The value must equal this.
1197
+ - `FormFieldCondition.isNot?: unknown` — The value must not equal this.
1198
+ - `FormFieldCondition.in?: unknown[]` — The value must be one of these.
1199
+ - `FormFieldCondition.notIn?: unknown[]` — The value must be none of these.
1200
+ - `FormFieldCondition.matches?: string` — The value must match this regular expression.
1201
+ - `FormFieldCondition.custom?: string` — A custom condition expression, kept as written.