uipath-cli
latest
false
Guía del usuario de UiPath CLI
- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- uip coder
- uip context-grounding
- UIP Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- añadir-entidad-de-datos-de-prueba
- añadir-cola-de-datos-de-prueba
- añadir-variación-de-datos-de-prueba
- Analizar
- Crear
- Crear proyecto
- Diferencia
- Buscar actividades
- obtener-reglas-del-analizador
- obtener-predeterminado-actividad-xaml
- obtener-errores
- obtener-casos-de-prueba-manual
- obtener-pasos-de-prueba-manual
- get-library-object-repository
- get-object-repository
- obtener versiones
- get-workflow-example
- indicar-aplicación
- indicar-elemento
- inspeccionar-paquete
- install-data-fabric-entities
- instalar-o-actualizar-paquetes
- enumerar-data-fabric-entities
- list-instances
- ejemplos-de-flujo-de-trabajo-de-lista
- Paquete
- Publicar
- remote
- restore
- run, debug & execution
- archivo de ejecución
- plantillas-de-búsqueda
- iniciar-studio
- detener la ejecución
- tm
- UIA
- uip tasks
- Seguimientos de UIP
- uip traces feedback
- Migración
- Referencia y soporte
Importante :
Este contenido se ha traducido mediante traducción automática.
La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
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.
Sinopsis
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.
Argumentos
<file>(obligatorio) : ruta al archivo.flow.
Opciones
| Opción | Descripción |
|---|---|
--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> | Mostrar etiqueta para el nodo. |
--assignee <email-or-group> | Assignment target: a user email or a group name. |
Ejemplos
# 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"}]}'
Forma de datos (--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.
Argumentos
<file>(obligatorio) : ruta al archivo.flow.
Opciones
| Opción | Descripción |
|---|---|
--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. |
Ejemplos
# 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
Forma de datos (--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.
Ver también
uip maestro flow validate— validate after migratinguip maestro flow node,uip maestro flow variable- Descripción general del flujo
- Opciones globales, Códigos de salida