uipath-cli
latest
false
UiPath CLI user guide
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-library-object-repository
- get-object-repository
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- pack
- publish
- remote
- restore
- run, debug & execution
- run-file
- search-templates
- start-studio
- stop-execution
- tm
- uia
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
Syntax and options for `uip maestro flow hitl` (add a Human-in-the-Loop node) and `uip maestro flow migrate` (upgrade a `.flow` file to the current schema).
This page covers two small, unrelated command groups that both edit a .flow file directly:
uip maestro flow hitl— add a Human-in-the-Loop (HITL) node, which pauses execution and waits for a person to complete a task in Action Center.uip maestro flow migrate— upgrade a.flowfile's workflow and node schema versions.
Synopsis
uip maestro flow hitl add <file> [--schema <json>] [--priority <Low|Medium|High>] [--position <x,y>] [--label <label>] [--assignee <email-or-group>]
uip maestro flow migrate <file> [--dry-run] [--no-include-optional]
uip maestro flow hitl add <file> [--schema <json>] [--priority <Low|Medium|High>] [--position <x,y>] [--label <label>] [--assignee <email-or-group>]
uip maestro flow migrate <file> [--dry-run] [--no-include-optional]
Honors global options. Exit codes follow the standard contract. Neither command requires uip login.
uip maestro flow hitl add
Add a HITL node to a .flow file.
Arguments
<file>(required) — path to the.flowfile.
Options
| Option | Description |
|---|---|
--schema <json> | Task schema JSON object. inputs[] entries pre-fill from flow variables (add "binding":"varName"); outputs[] entries write back to a flow variable (add "variable":"varName"); outcomes[] lists the possible decisions (e.g. Approve/Reject). |
--priority <level> | Low, Medium, or High. Default Low. |
--position <x,y> | Canvas position, e.g. 250,300. |
--label <label> | Display label for the node. |
--assignee <email-or-group> | Assignment target: a user email or a group name. |
Examples
# Bare HITL node, no schema
uip maestro flow hitl add workflow.flow
# With label, priority, and a group assignee
uip maestro flow hitl add workflow.flow --label "Invoice Review" --priority High --assignee finance-approvers
# Full schema: pre-filled input, a required output written back to a variable, two outcomes
uip maestro flow hitl add workflow.flow --label "Approval" \
--schema '{"inputs":[{"name":"invoiceId","binding":"fetchInvoice1.result.invoiceId"}],"outputs":[{"name":"decision","variable":"approvalDecision","required":true}],"outcomes":[{"name":"Approve"},{"name":"Reject"}]}'
# Bare HITL node, no schema
uip maestro flow hitl add workflow.flow
# With label, priority, and a group assignee
uip maestro flow hitl add workflow.flow --label "Invoice Review" --priority High --assignee finance-approvers
# Full schema: pre-filled input, a required output written back to a variable, two outcomes
uip maestro flow hitl add workflow.flow --label "Approval" \
--schema '{"inputs":[{"name":"invoiceId","binding":"fetchInvoice1.result.invoiceId"}],"outputs":[{"name":"decision","variable":"approvalDecision","required":true}],"outcomes":[{"name":"Approve"},{"name":"Reject"}]}'
Data shape (--output json)
{
"Code": "HitlNodeAdded",
"Data": {
"NodeId": "approval1",
"NodeType": "uipath.human-in-the-loop",
"Label": "Approval",
"DefinitionAdded": true
}
}
{
"Code": "HitlNodeAdded",
"Data": {
"NodeId": "approval1",
"NodeType": "uipath.human-in-the-loop",
"Label": "Approval",
"DefinitionAdded": true
}
}
uip maestro flow migrate
Upgrade a .flow file's workflow schema version and, optionally, its node typeVersions, to current. Idempotent — running it against an already-current file reports no changes.
Arguments
<file>(required) — path to the.flowfile.
Options
| Option | Description |
|---|---|
--dry-run | Show what would change without writing the file. |
--no-include-optional | Skip optional node migrations (for example typeVersion normalization). Default: optional migrations are applied. |
Examples
# Migrate to the current schema version
uip maestro flow migrate ./my-flow/my-flow.flow
# Preview only
uip maestro flow migrate ./my-flow/my-flow.flow --dry-run
# Skip optional node migrations
uip maestro flow migrate ./my-flow/my-flow.flow --no-include-optional
# Migrate to the current schema version
uip maestro flow migrate ./my-flow/my-flow.flow
# Preview only
uip maestro flow migrate ./my-flow/my-flow.flow --dry-run
# Skip optional node migrations
uip maestro flow migrate ./my-flow/my-flow.flow --no-include-optional
Data shape (--output json)
{
"Code": "FlowMigrate",
"Data": {
"File": "./my-flow/my-flow.flow",
"Migrated": true,
"DryRun": false,
"FromVersion": "1.0.0",
"ToVersion": "1.0",
"WorkflowSteps": ["1.0.0 -> 1.0"],
"NodeMigrations": {
"ForcedAvailable": 0,
"OptionalAvailable": 2,
"OptionalApplied": 2,
"Failed": 0
}
}
}
{
"Code": "FlowMigrate",
"Data": {
"File": "./my-flow/my-flow.flow",
"Migrated": true,
"DryRun": false,
"FromVersion": "1.0.0",
"ToVersion": "1.0",
"WorkflowSteps": ["1.0.0 -> 1.0"],
"NodeMigrations": {
"ForcedAvailable": 0,
"OptionalAvailable": 2,
"OptionalApplied": 2,
"Failed": 0
}
}
}
Migrated is false and WorkflowSteps is empty when the file is already at the current version. With --dry-run, Data.DryRun is true and the file is left untouched.
See also
uip maestro flow validate— validate after migratinguip maestro flow node,uip maestro flow variable- Flow overview
- Global options, Exit codes