uipath-cli
latest
false
UiPath CLI user guide
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip maestro authoring
- uip maestro registry
- uip model-hub
- activities find
- activities get-default-xaml
- analyze
- analyzer-rules list
- build
- cleanup
- data-fabric-entities install
- data-fabric-entities list
- files diff
- get-library-object-repository
- get-object-repository
- init
- instances list
- pack
- packages inspect
- packages install
- packages versions
- publish
- remote
- restore
- run, debug & execution
- settings
- studio start
- templates search
- test-data add-entity
- test-data add-queue
- test-data add-variation
- tm
- uia
- validate
- workflow-examples get
- workflow-examples list
- uip tasks
- uip traces
- uip traces feedback
- Migration
- Reference & support
uip rules refresh
Syntax and options for `uip rules refresh`, which regenerates a Business Rules project's entry points and bindings from its `.dmn` files.
uip rules refresh regenerates entry-points.json and bindings_v2.json from the .dmn files at the top level of a Business Rules project. Each entry point keeps the uniqueId it already has in entry-points.json, so processes and workflows bound to the rule stay bound. Only the files whose content changes are written.
Run it after you edit a .dmn file outside Studio Web, before uip solution pack.
Synopsis
uip rules refresh <project-path>
uip rules refresh <project-path>
Arguments
| Name | Required | Purpose |
|---|---|---|
<project-path> | yes | Path to the Business Rules project directory. The directory must contain project.uiproj. |
Example
uip rules refresh ./LoanEligibilitySolution/LoanEligibility
uip rules refresh ./LoanEligibilitySolution/LoanEligibility
Data shape (--output json)
{
"Code": "RulesRefresh",
"Data": {
"Status": "Updated business rules package files",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"WrittenFiles": ["entry-points.json"],
"UnchangedFiles": ["bindings_v2.json"]
}
}
{
"Code": "RulesRefresh",
"Data": {
"Status": "Updated business rules package files",
"ProjectPath": "/workspace/LoanEligibilitySolution/LoanEligibility",
"DmnFiles": ["Business rule.dmn"],
"WrittenFiles": ["entry-points.json"],
"UnchangedFiles": ["bindings_v2.json"]
}
}
Status is Business rules package files are up to date when no file needed rewriting.
Exit codes
Refer to Exit codes for the shared contract. The command exits 1 in these cases:
| Condition | ErrorCode |
|---|---|
The project has no .dmn file at its top level. | not_found |
A .dmn file cannot be read. No file is written. | invalid_argument |
Related commands
uip rules validatereportsRULES_ENTRY_POINTS_STALEwhenentry-points.jsonneeds a refresh.uip solution packpacks the solution after the refresh.
See also
uip rulesfor the tool overview and project layout.