Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Uipath maestro flow/Rpa-workflow
Reference · Uipath maestro flow

Rpa-workflow

Part of Uipath maestro flow. Install the skill and your agent reads this page when it needs the depth.

RPA Workflow

Exact signatures, fields, and defaults: rpaWorkflow().

Run a published robotic process and wait for its output arguments.

Signature: rpaWorkflow({ 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 out: check prints the registry prepare --kind Process command that records it, and compile fills it in (Orchestrator Processes). An in-solution sibling still takes key. Keep returns for every output you read: Orchestrator usually leaves an RPA process's ArgumentsV2 blank, so prepare prints Arguments not recorded and compile does not fill returns. Without it a read of the output is RPA_READ_WITHOUT_RETURNS.

.step('title', rpaWorkflow({ name: 'RPA Workflow', folderPath: 'Shared',
  inputs: { problemId: 123 }, returns: { title: 'string' } }))

At a glance

Run a deployed robotic process and wait for its job result.

Confirm identity and argument names against the same deployed tenant resource.

Finding the key: or-processes.md

In-solution sibling

To call an RPA project that sits in the SAME solution as the Flow (not a deployed process), set location: 'in-solution' and projectId, and omit folderPath:

.step('title', rpaWorkflow({ key: localResourceKey, name: '<RpaProject>',
  location: 'in-solution', projectId: localProjectKey,
  inputs: { problemId: 123 }, returns: { title: 'string' } }))

check warns on RPA_LOCAL_NO_PROJECT_ID (no projectId; the call resolves by key, so a decompiled step without one is fine as is) and refuses RPA_LOCAL_PROJECT_ID_NOT_GUID (projectId is not the project GUID — often the key or the name pasted by mistake), RPA_LOCAL_HAS_FOLDER (folderPath set as well; drop it, or drop location to call the published copy). RPA_NO_FOLDER applies to published steps only. If check reports RPA_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.

Tenant contract

The release key, name, and folder must identify the same deployed process. Inputs and returns are that process's own argument names and exact casing; the offline SDK cannot discover their truth. Inspect the registry/process listing and the deployed contract rather than copying values from a different folder.

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.

Where the job runs

The step starts an Orchestrator job on a robot of the process's folder, and the project's target framework, fixed when the project is created, decides which robots can take it: a serverless cloud robot runs only background, cross-platform processes (Serverless robots). So create a process a Flow starts as cross-platform unless the folder's robots are known to be Windows. A process meant to be edited in Studio Web beside the Flow is also XAML with VB expressions: Studio Web opens no project holding coded workflows or C# expressions, and lists such a process with errors 20042 and 20021 instead.

Evidence boundary

Replay proves the graph with synthesized job output. Live evidence should show a real Orchestrator job, the intended input arguments, completion, and the returned values. Whether the robot performed the right UI/business work is a separate assertion from job completion.

A headless flow debug cannot give that evidence: it starts the step as a debug job of the solution's own project, not the deployed process, and that job fails at start with exit code 0x33 (Signalr agent missing protocol versions) when no Studio Web debugger attaches. Run the deployed flow (operate.md) to prove the step.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.