UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

上次更新日期 2026年5月7日

uip maestro

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 initScaffold a new Maestro project (BPMN starter)
uip maestro debugUpload to Studio Web and run a debug session
uip maestro packProduce 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 processList and run deployed Maestro processes (list, get, run)
uip maestro processesProcess summaries across folders, and per-process incidents
uip maestro instancesInspect and steer running instances (list, get, pause, resume, cancel, retry, migrate, goto, variables, …)
uip maestro incidentsRead incident summaries and details
uip maestro jobStream 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 maestro subcommand 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 login first — see Authentication.

另请参阅

  • Authoring flow
  • Authoring commands
  • 运行时
  • Registry (BPMN)
  • 约定
  • 另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新