UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

uip rules versions

Syntax and options for `uip rules versions`, which lists the versions of a business rule deployed to an Orchestrator folder.

Hinweis:

uip rules versions is labeled Preview in the command help. Refer to Versioning for what the Preview label means.

uip rules versions lists the versions of a business rule deployed to an Orchestrator folder. The active version, marked with IsActive: true, is the one consumers evaluate.

Zusammenfassung​

uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]
uip rules versions <rule-name> (--folder-path <path> | --folder-key <key>) [-l <number>] [--offset <number>]

Argumente​

NameErforderlichZweck
<rule-name>jaBusiness rule name.

Optionen​

Pass exactly one of --folder-path or --folder-key.

ShortLongWertStandardBeschreibung
--folder-pathstring–Folder path, for example Shared.
--folder-keyGUID–Ordnerschlüssel.
-l--limitinteger (1–10000)50Number of versions to return.
--offsetInteger0Number of versions to skip.

Beispiel​

uip rules versions LoanEligibility --folder-path "Shared"
uip rules versions LoanEligibility --folder-path "Shared"

Datenform (--output json)​

{
  "Code": "RulesVersionList",
  "Data": [
    { "Version": "1.0.2", "IsActive": true, "CreationTime": "2026-09-20T08:30:00.000Z" },
    { "Version": "1.0.1", "IsActive": false, "CreationTime": "2026-09-10T14:05:00.000Z" }
  ]
}
{
  "Code": "RulesVersionList",
  "Data": [
    { "Version": "1.0.2", "IsActive": true, "CreationTime": "2026-09-20T08:30:00.000Z" },
    { "Version": "1.0.1", "IsActive": false, "CreationTime": "2026-09-10T14:05:00.000Z" }
  ]
}

The envelope also carries a Pagination object with Returned, Limit, Offset, and HasMore.

Exitcodes​

Refer to Exit codes for the shared contract. The command exits 1 in these cases:

BedingungErrorCode
The folder holds no rule with this name.not_found
Neither or both of --folder-path and --folder-key are passed.invalid_argument

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben