- 概述
- 开始使用
- 概念
- Using UiPath CLI
- 操作指南
- CI/CD recipes
- 命令参考
- 概述
- 退出代码
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- 创建项目
- 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
- 迁移
- Reference & support
UiPath CLI user guide
uip maestro authors, packs, debugs, and operates UiPath Maestro projects — BPMN 2.0 business-process orchestrations with long-running, human-in-the-loop semantics. Maestro is the sibling of Flow (uip flow) in the UiPath orchestration surface; pick Maestro when you need standard BPMN semantics (user tasks, boundary events, timers, sub-processes), pick Flow when you need a node-and-edge graph of agentic or connector-heavy steps.
The tool is shipped as the @uipath/maestro-tool plugin. Maestro commands are registered under uip maestro (or, for BPMN-specific subsurfaces, uip maestro bpmn). See Tools (plugins) for the plugin model.
Authoring flow
A Maestro project is a directory with a project.uiproj, a .bpmn file, and supporting metadata files (operate.json, entry-points.json, bindings_v2.json, package-descriptor.json).
# 1. Scaffold
uip maestro init invoice-orchestration
# 2. Edit the .bpmn in Studio Web or your IDE
# (BPMN is validated at init time via bpmn-moddle)
# 3. Smoke-test via Studio Web
uip maestro debug ./invoice-orchestration
# 4. Pack for deployment
uip maestro pack ./invoice-orchestration ./dist --version 1.0.0
# 1. Scaffold
uip maestro init invoice-orchestration
# 2. Edit the .bpmn in Studio Web or your IDE
# (BPMN is validated at init time via bpmn-moddle)
# 3. Smoke-test via Studio Web
uip maestro debug ./invoice-orchestration
# 4. Pack for deployment
uip maestro pack ./invoice-orchestration ./dist --version 1.0.0
Authoring commands
| 命令 | 用途 |
|---|---|
uip maestro init | Scaffold a new Maestro project (BPMN starter) |
uip maestro debug | Upload to Studio Web and run a debug session |
uip maestro pack | Produce a deployable .nupkg |
运行时
At runtime a published Maestro package becomes a process of type ProcessOrchestration on Orchestrator. Starting one creates an instance; each execution attempt is a job; failures surface as incidents.
| 命令 | 用途 |
|---|---|
uip maestro process | List and run deployed Maestro processes (list, get, run) |
uip maestro processes | Process summaries across folders, and per-process incidents |
uip maestro instances | Inspect and steer running instances (list, get, pause, resume, cancel, retry, migrate, goto, variables, …) |
uip maestro incidents | Read incident summaries and details |
uip maestro job | Stream traces (traces) and inspect job status |
Orchestrator-level jobs and processes are manipulated through the Orchestrator tool — see Orchestrator jobs and Orchestrator processes.
Registry (BPMN)
Maestro also ships a BPMN registry — uip maestro bpmn registry — for browsing the extension types, connectors, and processes usable inside a .bpmn. It is not yet in the sidebar but is callable today:
uip maestro bpmn registry pull [-f, --force]
uip maestro bpmn registry list [-l, --limit <n>]
uip maestro bpmn registry search <keyword>
uip maestro bpmn registry get <extensionType> [--connection-id <id>] [--object-name <name>]
uip maestro bpmn registry pull [-f, --force]
uip maestro bpmn registry list [-l, --limit <n>]
uip maestro bpmn registry search <keyword>
uip maestro bpmn registry get <extensionType> [--connection-id <id>] [--object-name <name>]
Data shapes: RegistryPullSuccess (counts: ExtensionTypeCount, ConnectorCount, ProcessCount), RegistryListSuccess / RegistrySearchSuccess (Data.ExtensionTypes[], Data.Connectors[], Data.Processes[]), RegistryGetSuccess (Data.ExtensionType, optional Data.ISEnrichment when both --connection-id and --object-name are provided).
约定
- Every
uip maestrosubcommand honors the global options (--output,--output-filter,--log-level,--log-file). - Default output is JSON.
- Exit codes follow the standard contract.
- Most runtime commands require
uip loginfirst — see Authentication.
另请参阅
uip flow— graph-shaped workflow sibling- Tools (plugins)
- 身份验证
- Global options, Exit codes