- Überblick
- Erste Schritte
- Konzepte
- Verwenden der UiPath CLI
- Anleitungen
- CI/CD-Rezepte
- Befehlsreferenz
- Überblick
- Exitcodes
- Globale Optionen
- UIP-codierter Agent
- UIP-Coded
- UIP-Kontextgrundlage
- UIP-Dokumentation
- UIP-Funktion
- UIP-Leitplanken
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- UIP-Modellhub
- activities find
- activities get-default-xaml
- Analysieren
- analyzer-rules list
- Erstellen
- Bereinigung
- data-fabric-entities install
- data-fabric-entities list
- files diff
- Get-Library-Object-Repository
- Get-Object-Repository
- Init
- instances list
- Packen
- packages inspect
- packages install
- packages versions
- Veröffentlichen
- Remote
- restore
- Ausführen, Debuggen & Ausführung enthält
- Einstellungen
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- Überprüfen
- workflow-examples get
- workflow-examples list
- UIP-Aufgaben
- Anhang
- benutzerdefiniertes Feld
- defects
- Ausführungen
- export-jobs
- migration
- Objektbeschriftung
- Packen
- perf-szenario
- Perf-Szenario-Lastgruppen
- Ausführungsdaten für perf-szenario
- Perf-Szenario-Bericht
- Projekt
- project-permissions
- prompts
- Melden
- Anforderungen
- Ergebnis
- Ausführen
- schedules
- testcaselog
- Testfälle
- Testsätze
- Testschrittprotokoll
- Benutzer
- Warten
- UIP-Ablaufverfolgungen
- Feedback zu UIP-Ablaufverfolgungen
- Migration
- Referenz und Support
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.
Zusammenfassung
uip rules validate <project-path>
uip rules validate <project-path>
Argumente
| Name | Erforderlich | Zweck |
|---|---|---|
<project-path> | ja | Path to the Business Rules project directory. The directory must contain project.uiproj. |
Beispiel
uip rules validate ./LoanEligibilitySolution/LoanEligibility
uip rules validate ./LoanEligibilitySolution/LoanEligibility
Datenform (--output json)
{
"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:
| Feld | Beschreibung |
|---|---|
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 oder warning. |
Message | The diagnostic message. |
Instructions | How to fix the issue, when available. |
Target | The element of the document the diagnostic points to. |
Exitcodes
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").
Zugehörige Befehle
uip rules refreshfixesRULES_ENTRY_POINTS_STALE.uip rules debugevaluates the rule with sample inputs.
Siehe auch
uip rulesfor the tool overview and project layout.