- 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
uip rules
Syntax and options for `uip rules`, which scaffolds, validates, and debugs UiPath Business Rules (DMN) projects and reads the rules deployed to Orchestrator.
uip rules is the Business Rules tool. It creates and maintains Business Rules projects on disk, where each rule is a DMN decision table in a .dmn file, and reads the business rules deployed to Orchestrator folders. Install it with uip tools install rules, or invoke uip rules … and let auto-install run. Refer to Tools (plugins) for the install model.
A Business Rules project is one project inside a solution. Packing, publishing, and deploying it goes through uip solution.
Comandos
| Comando | Opera en | Propósito |
|---|---|---|
init | Sistema de archivos local | Create a Business Rules project seeded with one decision table and register it in the enclosing solution. |
refresh | Sistema de archivos local | Regenerate entry-points.json and bindings_v2.json from the project's .dmn files. |
validate | Sistema de archivos local | Check the project's .dmn files and its entry-points.json for what Studio Web blocks publish and debug on. |
debug | Studio Web | Upload the project's solution to Studio Web and evaluate it once through the rules engine. |
list (Vista previa) | Orchestrator | List the business rules deployed to a folder. |
get (Vista previa) | Orchestrator | Get one deployed business rule by name. |
versions (Vista previa) | Orchestrator | List the versions of a deployed business rule. |
describe (Vista previa) | Orchestrator | Get the entry points of a deployed rule's active version, with their input and output argument schemas. |
list, get, versions, and describe are labeled Preview in the command help. Refer to Versioning for what the Preview label means.
Sinopsis
uip rules init <name> [--force] [--skip-solution-registration]
uip rules refresh <project-path>
uip rules validate <project-path>
uip rules debug <project-path> [-i <json|@file.json>] [--explain] [--folder-path <path> | --folder-key <key>] [--timeout <seconds>] [--login-validity <minutes>]
uip rules list (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules init <name> [--force] [--skip-solution-registration]
uip rules refresh <project-path>
uip rules validate <project-path>
uip rules debug <project-path> [-i <json|@file.json>] [--explain] [--folder-path <path> | --folder-key <key>] [--timeout <seconds>] [--login-validity <minutes>]
uip rules list (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)
All commands honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the shared contract.
Project layout
uip rules init creates a project directory with these files:
| Archivo | Contenido |
|---|---|
project.uiproj | Project name and ProjectType: "BusinessRules". |
Business rule.dmn | The seeded decision table. |
entry-points.json | The rule's entry points, derived from the .dmn files. |
bindings_v2.json | The rule's resource bindings, derived from the .dmn files. |
refresh, validate, and debug take the project directory as <project-path>. The directory must contain project.uiproj and at least one .dmn file at its top level.
Flujo típico
- Scaffold the project with
uip rules init. - Edit the
.dmnfile, in Studio Web or in a local editor. - After editing a
.dmnfile outside Studio Web, regenerate the entry points withuip rules refresh. - Check the project with
uip rules validate. - Evaluate the rule with sample inputs with
uip rules debug. - Pack, publish, and deploy the solution with
uip solution. - Read the deployed rule and its argument schemas with
uip rules describewhen binding it from a BPMN process, RPA workflow, or case.
Ver también
uip solutionfor packing, publishing, and deploying the solution that holds the rules project.uip tracesfor reading the trace thatuip rules debug --explainpublishes.- Global options and Exit codes for the contracts shared by every command.