- 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 validate
Syntax and options for `uip rules validate`, which checks a Business Rules project for the errors Studio Web blocks publish and debug on.
uip rules validate checks a Business Rules project for what Studio Web blocks publish and debug on. It reports two kinds of diagnostics:
- The Studio Web designer's diagnostics for each
.dmnfile at the top level of the project. Their codes start withDMN_. RULES_ENTRY_POINTS_STALEwhenentry-points.jsondoes not match the.dmnfiles. Runuip rules refreshto fix it.
Diagnostics with severity error fail the command. Diagnostics with severity warning are reported only. The command does not write any file.
Sinopsis
uip rules validate <project-path>
uip rules validate <project-path>
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<project-path> | Sí | Path to the Business Rules project directory. The directory must contain project.uiproj. |
Ejemplo
uip rules validate ./LoanEligibilitySolution/LoanEligibility
uip rules validate ./LoanEligibilitySolution/LoanEligibility
Forma de datos (--json de salida)
{
"Code": "RulesValidate",
"Data": {
"Status": "Valid",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"Diagnostics": []
}
}
{
"Code": "RulesValidate",
"Data": {
"Status": "Valid",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"Diagnostics": []
}
}
When the project has at least one error, the command returns a failure envelope with Code: "RulesValidate", ErrorCode: "invalid_argument", and Data.Status: "Invalid". Instructions lists each diagnostic on its own line.
Each entry in Diagnostics has these fields:
| Campo | Descripción |
|---|---|
File | The file the diagnostic applies to: a .dmn file, or entry-points.json. |
Code | The diagnostic code, for example RULES_ENTRY_POINTS_STALE. |
Severity | error o warning. |
Message | The diagnostic message. |
Instructions | How to fix the issue, when available. |
Target | The element of the document the diagnostic points to. |
Códigos de salida
Refer to Exit codes for the shared contract. The command exits 1 when any diagnostic has severity error, or when the project has no .dmn file at its top level (ErrorCode: "not_found").
Comandos relacionados
uip rules refreshfixesRULES_ENTRY_POINTS_STALE.uip rules debugevaluates the rule with sample inputs.
Ver también
uip rulesfor the tool overview and project layout.