Agentic-process
Part of Uipath maestro flow. Install the skill and your agent reads this page when it needs the depth.
Agentic Process
Exact signatures, fields, and defaults: agenticProcess().
Invoke a deployed Maestro agentic process.
Signature: agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, inputSchema?, returns? })
folderPath is required for a published process; a sibling project of the same solution takes location: 'in-solution' and projectId instead (below).
For a published process, leave key and returns out: check prints the registry prepare --kind Process command that records them, and compile fills both in (Orchestrator Processes). An in-solution sibling still takes key.
.step('intake',
agenticProcess({
name: 'ProcurementProcess',
folderPath: 'Shared',
inputs: { productId: 1 },
}))
See Orchestrator Processes and use the ProcessOrchestration, CaseManagement, and/or Flow process types to locate an agentic process and determine its contract.
At a glance
Run a deployed Maestro agentic process synchronously.
Signature: agenticProcess({ key?, name, folderPath?, location?, projectId?, inputs?, inputSchema?, returns?, form?, completion? }).
.step('intake', agenticProcess({ name: 'ProcurementProcess', folderPath: 'Shared',
inputs: { productId: 1 } }))
Confirm identity and argument names live; declared outputs may still be null;
.onError(...) is supported. form: 'bpmn' | 'flow' | 'case' picks the published
form; completion: 'fire-and-forget' waits for nothing — details below.
Recording the key and contract: or-processes.md
General
- Declared outputs can be returned as
null
Forms and fire-and-forget completion
One agenticProcess() covers all three published forms; form selects the
wire identity: 'bpmn' (default — Maestro BPMN process orchestration),
'flow' (published Maestro Flow), 'case' (Case Management process).
completion: 'fire-and-forget' dispatches the process and continues
immediately: returns is forbidden, the step publishes no output (reading
$vars.<step>.output is a check error), and only dispatch failures route
through .onError(...). Local replay treats it as dispatch-only.
.step('launchReview', agenticProcess({ key: reviewKey, name: 'ClaimsReview',
folderPath: 'Shared', form: 'flow', completion: 'fire-and-forget',
inputs: { claimId: input('claimId') } }))
To type an argument differently from its value (for example an object filled
from an expression), add inputSchema; keep one a decompiled step carries. See
Orchestrator Processes.
In-solution sibling
To call a sibling project of the SAME solution — for example another Flow,
with form: 'flow' — set location: 'in-solution' and projectId, and omit
folderPath:
.step('notify', agenticProcess({ key: localResourceKey, name: 'Notifier',
form: 'flow', location: 'in-solution', projectId: localProjectKey,
inputs: { message: input('who') }, returns: { echoed: 'string' } }))
- Or name the sibling by project (
@uipath/maestro-builder-sdk6.108.0 or later):agenticProcess({ form: 'flow', location: 'in-solution', project: '<Project>', inputs }). See agent.md for what it fills in, what it refuses, and when to fall back to the ids below. - Where the two ids come from.<!--skill-flavor:agentic-sibling-register:start-->
Register the sibling and refresh resources
(
uip solution projects add, thenuip solution resources refresh), then<!--skill-flavor:agentic-sibling-register:end--> runuip maestro flow registry list --local --output jsonfrom the Flow project directory. The generatedresources/solution_folder/process/<type>/<Project>.jsoncarries the same pair:resource.key→key,resource.projectKey→projectId. Glob for the file (process/*/<Project>.json) rather than guessing<type>, and never invent either id; the full recipe is in agent.md. - No
folderPath. The sibling has no folder until the solution is deployed. - Inputs and returns are yours to declare, using the sibling's own
argument names and casing;
uip maestro flow registry get --localshows them when the sibling's manifest lists them.
check warns on AGENTIC_LOCAL_NO_PROJECT_ID (no projectId; the call
resolves by key, so a decompiled step without one is fine as is) and refuses
AGENTIC_LOCAL_PROJECT_ID_NOT_GUID (projectId is not the
project GUID), AGENTIC_LOCAL_HAS_FOLDER (folderPath set as well; drop it,
or drop location to call the published copy). AGENTIC_NO_FOLDER applies to
published steps only. If check reports AGENTIC_LOCAL_NO_PROJECT_ID as an error (an older SDK),
add projectId from resource.projectKey.
Still set projectId on a step you author: Studio Web's Run node reads it
to deploy the sibling first.