UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip rules versions

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

Observação:

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.

Resumo​

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​

NameRequiredFinalidade
<rule-name>simBusiness rule name.

Opções​

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

ShortLongValorPadrãoDescription
--folder-pathString—Folder path, for example Shared.
--folder-keyGUID—Chave da pasta.
-l--limitinteger (1–10000)50Number of versions to return.
--offsetNúmero inteiro0Number of versions to skip.

Exemplo​

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

Formato dos dados (--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.

Códigos de saída​

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

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

Veja também​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte(opens in new window)

Quer aprender? Academia UiPath(opens in new window)

Tem perguntas? Fórum do UiPath(opens in new window)

Fique por dentro das novidades