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 versions

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

Nota:

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.

Sinopsis​

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>]

Argumentos​

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

Opciones​

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

CortoLargoValorPredeterminadoDescripción
--folder-pathString—Folder path, for example Shared.
--folder-keyGUID—Clave de carpeta.
-l--limitinteger (1–10000)50Number of versions to return.
--offsetEntero0Number of versions to skip.

Ejemplo​

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

Forma de datos (--json de salida)​

{
  "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.

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