- Visão geral
- Introdução
- Conceitos
- Using UiPath CLI
- Guias de instruções
- CI/CD recipes
- Referência de comando
- Visão geral
- Códigos de saída
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- criar projeto
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migração
- Reference & support
UiPath CLI user guide
uip flow instance inspects and steers individual process instances — one execution of a published Flow process. The command name is singular (instance) even though the sidebar entry says instances.
All subcommands require uip login and honor global options. Exit codes follow the standard contract.
Synopsis
uip flow instance list <instance-id> -f <folder-key> [-l <limit>] [--offset <n>] [--process-key <k>] [--package-id <id>] [--error-code <code>]
uip flow instance get <instance-id> -f <folder-key>
uip flow instance pause <instance-id> -f <folder-key> [--comment <text>]
uip flow instance resume <instance-id> -f <folder-key> [--comment <text>]
uip flow instance cancel <instance-id> -f <folder-key> [--comment <text>]
uip flow instance retry <instance-id> -f <folder-key> [--comment <text>]
uip flow instance migrate <instance-id> <new-version> -f <folder-key> [--comment <text>]
uip flow instance variables <instance-id> -f <folder-key> [--parent-element-id <id>]
uip flow instance incidents <instance-id> -f <folder-key>
uip flow instance asset <instance-id> -f <folder-key>
uip flow instance cursors <instance-id> -f <folder-key>
uip flow instance goto <instance-id> <transitions> -f <folder-key>
uip flow instance element-executions <instance-id> -f <folder-key>
uip flow instance list <instance-id> -f <folder-key> [-l <limit>] [--offset <n>] [--process-key <k>] [--package-id <id>] [--error-code <code>]
uip flow instance get <instance-id> -f <folder-key>
uip flow instance pause <instance-id> -f <folder-key> [--comment <text>]
uip flow instance resume <instance-id> -f <folder-key> [--comment <text>]
uip flow instance cancel <instance-id> -f <folder-key> [--comment <text>]
uip flow instance retry <instance-id> -f <folder-key> [--comment <text>]
uip flow instance migrate <instance-id> <new-version> -f <folder-key> [--comment <text>]
uip flow instance variables <instance-id> -f <folder-key> [--parent-element-id <id>]
uip flow instance incidents <instance-id> -f <folder-key>
uip flow instance asset <instance-id> -f <folder-key>
uip flow instance cursors <instance-id> -f <folder-key>
uip flow instance goto <instance-id> <transitions> -f <folder-key>
uip flow instance element-executions <instance-id> -f <folder-key>
-f, --folder-key <key> is required on every subcommand.
Common options
-f, --folder-key <key>(required) — folder key (GUID).--comment <text>(operation commands only) — optional comment recorded with the operation. Sent as an empty string if omitted.
Subcomandos
uip flow instance list
List instances in a folder, scoped to Flow processes (processType=Flow).
Options:
| Opção | Padrão | Description |
|---|---|---|
-l, --limit <n> | DEFAULT_PAGE_SIZE | Number of items to return (1-10000). |
--offset <n> | 0 | Number of items to skip (0-1000000). |
--process-key <k> | — | Filter by process key. |
--package-id <id> | — | Filter by package ID. |
--error-code <code> | — | Filter by error code. |
Data shape: Code: "InstanceList", Data is an array of process-instance objects.
uip flow instance get
Fetch a single instance by ID.
Data shape: Code: "InstanceGet", Data is the process-instance object.
uip flow instance pause
Pause a running instance. Data shape: Code: "InstancePaused".
uip flow instance resume
Resume a paused instance. Data shape: Code: "InstanceResumed".
uip flow instance cancel
Cancel a running instance. Data shape: Code: "InstanceCanceled".
uip flow instance retry
Retry a faulted instance. Data shape: Code: "InstanceRetried".
uip flow instance migrate
Migrate an instance to a different package version.
Arguments: <instance-id>, <new-version> (target package version).
Data shape: Code: "InstanceMigrated".
uip flow instance variables
Get variables for an instance.
Options: --parent-element-id <id> — filter variables by parent element.
Data shape: Code: "InstanceVariables", Data carries the instance variables payload.
uip flow instance incidents
Get incidents for a specific instance.
Data shape: Code: "InstanceIncidents", Data is an array of incident objects.
uip flow instance asset
Fetch the Flow definition (the .flow asset) attached to this instance's release — useful when debugging to see the exact graph the instance ran.
Data shape: Code: "InstanceAsset", Data is the Flow JSON.
uip flow instance cursors
Get current execution cursor positions — which element(s) the instance is paused at.
Data shape: Code: "InstanceCursors", Data lists the current cursor positions.
uip flow instance goto
Move an execution cursor from one element to another. Useful for recovering a faulted instance by skipping or retrying specific nodes.
Arguments:
<instance-id>(required)<transitions>(required) — JSON array of transitions, each withsourceElementIdandtargetElementId.
uip flow instance goto c3d4e5f6-… \
'[{"sourceElementId":"Node_1","targetElementId":"Node_3"}]' \
--folder-key c3d4e5f6-…
uip flow instance goto c3d4e5f6-… \
'[{"sourceElementId":"Node_1","targetElementId":"Node_3"}]' \
--folder-key c3d4e5f6-…
The CLI validates the JSON parses and each entry has both IDs before calling the API.
Data shape: Code: "InstanceGoto".
uip flow instance element-executions
Get the per-element execution history for an instance (what ran, when, and with what outcome).
Data shape: Code: "InstanceElementExecutions", Data is the per-element execution history.
Exemplos
# Paginate through instances for a specific process
uip flow instance list --folder-key <k> --process-key "InvoiceFlow.flow.Flow:1.0.0" --limit 50
# Pause, fix, resume
uip flow instance pause <id> --folder-key <k> --comment "Investigating"
uip flow instance resume <id> --folder-key <k>
# Skip a faulted node by moving the cursor forward, then retry
uip flow instance cursors <id> --folder-key <k>
uip flow instance goto <id> '[{"sourceElementId":"A","targetElementId":"C"}]' --folder-key <k>
uip flow instance retry <id> --folder-key <k>
# Upgrade a long-running instance to a new package version
uip flow instance migrate <id> "1.2.0" --folder-key <k> --comment "Patch release"
# Paginate through instances for a specific process
uip flow instance list --folder-key <k> --process-key "InvoiceFlow.flow.Flow:1.0.0" --limit 50
# Pause, fix, resume
uip flow instance pause <id> --folder-key <k> --comment "Investigating"
uip flow instance resume <id> --folder-key <k>
# Skip a faulted node by moving the cursor forward, then retry
uip flow instance cursors <id> --folder-key <k>
uip flow instance goto <id> '[{"sourceElementId":"A","targetElementId":"C"}]' --folder-key <k>
uip flow instance retry <id> --folder-key <k>
# Upgrade a long-running instance to a new package version
uip flow instance migrate <id> "1.2.0" --folder-key <k> --comment "Patch release"
Veja também
uip flow incidents— read incidents detached from a specific instanceuip flow job— the job view of an instance runuip flow process— start new instances- Orchestrator jobs
- Flow overview
- Synopsis
- Common options
- Subcomandos
- uip flow instance list
- uip flow instance get
- uip flow instance pause
- uip flow instance resume
- uip flow instance cancel
- uip flow instance retry
- uip flow instance migrate
- uip flow instance variables
- uip flow instance incidents
- uip flow instance asset
- uip flow instance cursors
- uip flow instance goto
- uip flow instance element-executions
- Exemplos
- Veja também