- 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 list
Syntax and options for `uip rules list`, which lists the business rules deployed to one Orchestrator folder or to every folder you can access.
uip rules list is labeled Preview in the command help. Refer to Versioning for what the Preview label means.
uip rules list lists the business rules deployed to an Orchestrator folder. Each row returns the rule's key, name, folder, description, and current version. An empty folder returns Data: [].
With --all-folders, the command lists the business rules in every folder you can access, from the resource catalog of the tenant you are logged in to. It returns one row per folder a rule is shared to, and the rows have no CurrentVersion, because the catalog carries no version.
Synopsis
uip rules list (--folder-path <path> | --folder-key <key> | --all-folders) [-l <number>] [--offset <number>]
uip rules list (--folder-path <path> | --folder-key <key> | --all-folders) [-l <number>] [--offset <number>]
Options
Pass exactly one of --folder-path, --folder-key, or --all-folders.
| Short | Long | Value | Default | Description |
|---|---|---|---|---|
--folder-path | string | — | Folder path, for example Shared. | |
--folder-key | GUID | — | Folder key. | |
--all-folders | flag | — | List business rules across every folder you can access. Cannot be combined with --folder-path or --folder-key. | |
-l | --limit | integer (1–10000) | 50 | Number of rules to return. |
--offset | integer | 0 | Number of rules to skip. |
Examples
uip rules list --folder-path "Shared" --limit 1
# One row per folder a rule is shared to, across every folder you can access
uip rules list --all-folders
uip rules list --folder-path "Shared" --limit 1
# One row per folder a rule is shared to, across every folder you can access
uip rules list --all-folders
Data shape (--output json)
{
"Code": "RulesList",
"Data": [
{
"Key": "3f1c2a9e-8b4d-4e2a-9c1f-6d7e8f9a0b1c",
"Name": "LoanEligibility",
"FolderPath": "Shared",
"FolderKey": "9b2d4f6a-1c3e-4a5b-8d7f-0e1a2b3c4d5e",
"Description": "Decides loan eligibility",
"CurrentVersion": "1.0.2"
}
]
}
{
"Code": "RulesList",
"Data": [
{
"Key": "3f1c2a9e-8b4d-4e2a-9c1f-6d7e8f9a0b1c",
"Name": "LoanEligibility",
"FolderPath": "Shared",
"FolderKey": "9b2d4f6a-1c3e-4a5b-8d7f-0e1a2b3c4d5e",
"Description": "Decides loan eligibility",
"CurrentVersion": "1.0.2"
}
]
}
The envelope also carries a Pagination object with Returned, Limit, Offset, and HasMore.
Exit codes
Refer to Exit codes for the shared contract. The command exits 1 with ErrorCode: "invalid_argument" when no folder selector or more than one is passed.
Related commands
uip rules getgets one rule by name.uip or folders listfinds folder paths and keys.
See also
uip rulesfor the tool overview.