- Visão geral
- Introdução
- Conceitos
- Usando o UiPath CLI
- Guias de instruções
- Receitas de CI/CD
- Referência de comando
- Visão geral
- Códigos de saída
- Opções globais
- Agente de código uip
- uip coder
- uip context-grounding
- Documento da UIP
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- adicionar-tipo-dados-de-teste
- adicionar-dados-de-teste-fila
- adicionar-teste-variação de dados
- Analisar
- Criar
- criar projeto
- Comparação
- encontrar atividades
- obter-analisador-regras
- obter-padrão-atividade-xaml
- obter-erros
- obter-casos-de-teste-manuais
- obter-etapas-de-teste-manual
- get-library-object-repository
- get-object-repository
- Obter versões
- obter-fluxo-de-trabalho-exemplo
- indicar aplicativo
- indicar elemento
- inspecionar pacote
- instalar-data-fabric-entities
- instalar-ou-atualizar pacotes
- listar-data-fabric-entities
- list-instances
- listar-exemplos-de-fluxo-de-trabalho
- Empacotar
- Publicar
- remote
- restore
- run, debug & execution
- arquivo de execução
- modelos-pesquisar
- Iniciar Studio
- interromper a execução
- tm
- UIA
- uip tasks
- Traces da UIP
- uip traces feedback
- Migração
- Referência e suporte
Syntax and options for `uip maestro bpmn init`, which scaffolds a new Maestro project with a valid BPMN 2.0 starter and Orchestrator metadata files.
uip maestro bpmn init scaffolds a new Maestro project directory with a valid BPMN 2.0 starter and the metadata files Orchestrator expects for process-orchestration packages. It's registered under the bpmn branch.
Resumo
uip maestro bpmn init <name> [--process-id <id>] [--force] [--skip-solution-registration]
uip maestro bpmn init <name> [--process-id <id>] [--force] [--skip-solution-registration]
Recebe opções globais. Os códigos de saída seguem o contrato padrão.
Argumentos
<name>necessário) — nome da pasta do projeto. Validado comVALID_PROJECT_NAME_REGEX: apenas letras, números, sublinhados (_) e hifens (-).
Opções
| Opção | Description |
|---|---|
--process-id <id> | BPMN process ID to write into the generated template. Default: Process_1. |
--force | Initialize even if the target directory exists and is non-empty. Existing files are not cleared — files are written alongside; this is useful for reinitializing inside a pre-created folder. |
--skip-solution-registration | Do not auto-register this project in the surrounding solution (see Behavior below). |
Comportamento
Cria <name>/ no diretório de trabalho atual e grava seis arquivos:
| de transações | Finalidade |
|---|---|
project.uiproj | { "Name": "<name>", "ProjectType": "ProcessOrchestration" } |
operate.json | Metadados de runtime — targetFramework: "Portable", contentType: "processOrchestration", runtimeOptions.isAttended: false. |
entry-points.json | Um ponto de entrada apontando para Event_start dentro do BPMN inicial, com esquemas de entrada/saída vazios. |
bindings_v2.json | { "version": "2.0", "resources": [] }. |
package-descriptor.json | Manifesto do arquivo consumido pelo empacotador. |
<name>.bpmn | Starter BPMN containing Event_start → _Implicit_EndEvent, wired with a uipath:entryPointId extension using --process-id (default Process_1). |
O BPMN inicial é analisado por meio de bpmn-moddle antes de escrever; se os avisos estrutural (não UiPath-extension) aparecerem, o comando falhará com BPMN validation failed: ….
Se <name> já existir e não estiver vazio e --force não estiver definido, o comando falhará com um erro.
Solution auto-registration: unless --skip-solution-registration is passed, init looks for a surrounding solution. If run inside one, the new project is registered into it. If run outside any solution, a parent <name>Solution is scaffolded automatically and the project is nested inside it — this happens by default, not only when explicitly requested.
Exemplos
# Create a new project in ./invoice-orchestration
uip maestro bpmn init invoice-orchestration
# Set a custom BPMN process ID
uip maestro bpmn init invoice-orchestration --process-id InvoiceApproval
# Reinitialize into an existing non-empty folder
uip maestro bpmn init invoice-orchestration --force
# Scaffold standalone, without touching any surrounding solution
uip maestro bpmn init invoice-orchestration --skip-solution-registration
# Create a new project in ./invoice-orchestration
uip maestro bpmn init invoice-orchestration
# Set a custom BPMN process ID
uip maestro bpmn init invoice-orchestration --process-id InvoiceApproval
# Reinitialize into an existing non-empty folder
uip maestro bpmn init invoice-orchestration --force
# Scaffold standalone, without touching any surrounding solution
uip maestro bpmn init invoice-orchestration --skip-solution-registration
Formato dos dados (--output json)
{
"Code": "MaestroInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/invoice-orchestration",
"SolutionRegistration": { "...": "registration outcome against the surrounding or newly created solution" },
"AutoCreatedSolution": { "...": "present only when a parent <name>Solution was scaffolded automatically" },
"ProjectArtifacts": { "...": "present only when additional project artifacts were generated" },
"NextSteps": "present only when SolutionRegistration carries follow-up instructions"
}
}
{
"Code": "MaestroInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/invoice-orchestration",
"SolutionRegistration": { "...": "registration outcome against the surrounding or newly created solution" },
"AutoCreatedSolution": { "...": "present only when a parent <name>Solution was scaffolded automatically" },
"ProjectArtifacts": { "...": "present only when additional project artifacts were generated" },
"NextSteps": "present only when SolutionRegistration carries follow-up instructions"
}
}
AutoCreatedSolution, ProjectArtifacts, and NextSteps are omitted entirely when not applicable — only Status, Path, and SolutionRegistration are always present. On failure the response carries Result: "Failure", Message, and Instructions.
Veja também
uip maestro bpmn pack— empacotar o projeto com escopouip maestro bpmn debug— execute-o por meio do Studio Webuip maestro bpmn validate— validar antes do empacotamento- Visão geral do Maestro