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 list

Syntax and options for `uip rules list`, which lists the business rules deployed to an Orchestrator folder with their current version.

Hinweis:

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: [].

Zusammenfassung​

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

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 rules to return.
--offsetInteger0Number of rules to skip.

Beispiel​

uip rules list --folder-path "Shared" --limit 1
uip rules list --folder-path "Shared" --limit 1

Datenform (--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.

Exitcodes​

Refer to Exit codes for the shared contract. The command exits 1 with ErrorCode: "invalid_argument" when neither or both of --folder-path and --folder-key are passed.

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