UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

uip rules get

Syntax and options for `uip rules get`, which gets a business rule deployed to an Orchestrator folder by name, with its tags and timestamps.

Nota:

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

uip rules get gets one business rule deployed to an Orchestrator folder by name. It returns the same fields as uip rules list, plus the rule's tags and timestamps. Use uip rules versions for the rule's version history and uip rules describe for its argument schemas.

Sinopsis​

uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)
uip rules get <rule-name> (--folder-path <path> | --folder-key <key>)

Argumentos​

NombreObligatorioPropósito
<rule-name>SíBusiness rule name.

Opciones​

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

LargoValorDescripción
--folder-pathStringFolder path, for example Shared.
--folder-keyGUIDClave de carpeta.

Ejemplo​

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

Forma de datos (--json de salida)​

{
  "Code": "RulesGet",
  "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",
    "Tags": [],
    "CreationTime": "2026-09-01T10:00:00.000Z",
    "LastModificationTime": "2026-09-20T08:30:00.000Z"
  }
}
{
  "Code": "RulesGet",
  "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",
    "Tags": [],
    "CreationTime": "2026-09-01T10:00:00.000Z",
    "LastModificationTime": "2026-09-20T08:30:00.000Z"
  }
}

Códigos de salida​

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

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

Ver también​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado