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
- codificador UIP
- Contextualización de UIP
- UIP Docsai
- Función uip
- barreras de seguridad de UIP
- Configuración de UIP llm
- puerta de enlace llm de uip
- uip maestro authoring
- uip maestro registry
- UIP model-hub
- activities find
- activities get-default-xaml
- Analizar
- analyzer-rules list
- Crear
- Limpieza
- data-fabric-entities install
- data-fabric-entities list
- files diff
- obtener-repositorio-de-objetos-de-biblioteca
- obtener-objeto-repositorio
- Init
- instances list
- Paquete
- packages inspect
- packages install
- packages versions
- Publicar
- Remoto
- restore
- ejecutar, depurar & Ejecución
- Configuración
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- Validar
- workflow-examples get
- workflow-examples list
- Tareas de UIP
- Archivo adjunto
- Campo personalizado
- defects
- Ejecuciones
- export-jobs
- migration
- EtiquetaDeObjeto
- Paquete
- escenario de rendimiento
- grupos de carga de escenarios de rendimiento
- datos de ejecución de perf-scenario
- informe de escenario de rendimiento
- Proyecto
- project-permissions
- prompts
- Informar
- Requisitos
- Resultado
- Iniciar
- schedules
- testcaselog
- Casos de prueba
- Conjuntos de prueba
- registro de pasos de prueba
- Usuario
- Esperar
- Seguimientos de UIP
- Comentarios de seguimientos de UIP
- 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.
uip rules init
Syntax and options for `uip rules init`, which creates a Business Rules project seeded with one decision table and registers it in a solution.
uip rules init creates a Business Rules project seeded with one decision table. The project holds project.uiproj, Business rule.dmn, entry-points.json, and bindings_v2.json.
Where the project lands depends on the current directory:
- Inside an existing solution, the project is created at
./<name>and added to that solution's.uipxmanifest. - Outside a solution, a parent solution named
<name>Solutionis created, and the project is created inside it at./<name>Solution/<name>. - With
--skip-solution-registration, the project is created at./<name>and is not registered in any solution.
Sinopsis
uip rules init <name> [--force] [--skip-solution-registration]
uip rules init <name> [--force] [--skip-solution-registration]
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<name> | Sí | Business Rules project name. Letters, numbers, underscores (_), and hyphens (-) only. |
Opciones
| Largo | Valor | Predeterminado | Descripción |
|---|---|---|---|
--force | Marca | Desactivado | Initialize the project even if the target directory exists and is not empty. When the directory already holds a .dmn file, the existing rule files are left as they are and RuleStatus is Preserved. |
--skip-solution-registration | Marca | Desactivado | Do not register the project in the surrounding solution, and do not create a parent solution. SolutionRegistration.Status is OptedOut. |
Ejemplo
# Create a project; outside a solution, a parent my-rules-projectSolution is created
uip rules init my-rules-project
# Create a project; outside a solution, a parent my-rules-projectSolution is created
uip rules init my-rules-project
Forma de datos (--json de salida)
{
"Code": "RulesInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-rules-projectSolution/my-rules-project",
"RuleStatus": "Created",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx",
"Project": "my-rules-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-rules-projectSolution",
"Path": "/workspace/my-rules-projectSolution",
"SolutionFile": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
}
}
{
"Code": "RulesInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-rules-projectSolution/my-rules-project",
"RuleStatus": "Created",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx",
"Project": "my-rules-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-rules-projectSolution",
"Path": "/workspace/my-rules-projectSolution",
"SolutionFile": "/workspace/my-rules-projectSolution/my-rules-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.\nPacking or uploading the solution will sync solution resources automatically."
}
}
| Campo | Descripción |
|---|---|
RuleStatus | Created when the seeded decision table was written. Preserved when the project already held a .dmn file. |
SolutionRegistration.Status | One of Registered, AlreadyRegistered, Skipped, Failed, NotInSolution, or OptedOut. |
AutoCreatedSolution | Present only when init created the parent solution. |
ProjectArtifacts | Present only when the project was registered in a solution. |
NextSteps | Present only when the registration returned instructions. |
Códigos de salida
Refer to Exit codes for the shared contract. The command exits 1 when the name contains characters other than letters, numbers, underscores, and hyphens, or when the target directory exists and is not empty and --force is not passed.
Comandos relacionados
uip rules refreshregenerates the entry points after you edit the.dmnfile.uip rules validatechecks the project.uip solutionpacks, publishes, and deploys the solution that holds the project.
Ver también
uip rulesfor the tool overview and project layout.