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 or triggers

Syntax and options for `uip or triggers`, which manages time, queue, and API triggers in Orchestrator.

Gestionar desencadenadores de Orchestrator: hora (programación), cola y API. Los desencadenadores de tiempo y cola tienen ámbito de carpeta; Los desencadenadores de API tienen ámbito de tenant. Cada verbo acepta --type <time|queue|api> (predeterminado time).

Para las convenciones de recursos cruzados (autenticación, ámbito de carpeta, tipos de clave, sobre de salida), consulta la uip or descripción general.

Sinopsis

uip or triggers list     [--type <type>] [--folder-path <path> | --folder-key <key>] [-n <name>] [--enabled | --disabled] [--sort-by <field>] [--all-fields]
uip or triggers get      <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] [--all-fields]
uip or triggers create   --type <type> --name <n> --release-key <k> --runtime-type <r> --job-priority <p> [type-specific flags]
uip or triggers update   <trigger-key> --type <type> [type-specific flags] [--enabled | --disabled]
uip or triggers delete   <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] --yes
uip or triggers history  <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] [-l <n>] [--offset <n>] [--all-fields]
uip or triggers list     [--type <type>] [--folder-path <path> | --folder-key <key>] [-n <name>] [--enabled | --disabled] [--sort-by <field>] [--all-fields]
uip or triggers get      <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] [--all-fields]
uip or triggers create   --type <type> --name <n> --release-key <k> --runtime-type <r> --job-priority <p> [type-specific flags]
uip or triggers update   <trigger-key> --type <type> [type-specific flags] [--enabled | --disabled]
uip or triggers delete   <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] --yes
uip or triggers history  <trigger-key> --type <type> [--folder-path <path> | --folder-key <key>] [-l <n>] [--offset <n>] [--all-fields]
Nota:

There is no dedicated enable or disable command. Toggle a trigger with update <trigger-key> --enabled or update <trigger-key> --disabled instead (the two flags are mutually exclusive).

Lista

List triggers. Filters: -n, --name, --enabled, --disabled (mutually exclusive). --sort-by <field> sorts results. --all-fields returns the full API response instead of the curated subset.

uip or triggers list --type time --folder-path Shared --enabled
uip or triggers list --type time --folder-path Shared --enabled

Get a trigger by key. --all-fields returns the full API response instead of the curated subset.

Crear

Crea un desencadenador. Marcadores necesarios: --name, --release-key, --runtime-type <Serverless|Unattended|Headless|NonProduction|AgentService>, --job-priority <Low|Normal|High> (predeterminado Normal).

Específico del tipo:

  • el tiempo necesita --cron (formato de 6 campos de cuarzo) y, opcionalmente, --time-zone.
  • la cola necesita --queue-key (y acepta --items-threshold, --max-jobs, --items-per-job, --activate-on-complete).
  • api necesita --slug y --method <Get|Post|Put|Delete> (con --calling-mode opcional).

Common: -d, --description, --input-arguments <json>, --calendar-key, --stop-strategy <SoftStop|Kill>, --kill-process-expression, --resume-on-same-context, --run-as-me, repeatable --target "machine=<guid>,user=<guid>,session=<int>", --mapping-mode <dynamic|strict> (default dynamic; use strict when the folder has "Enable account-machine mappings" turned on).

uip or triggers create --type time \
  --name NightlyInvoices --release-key <release-guid> \
  --runtime-type Unattended --job-priority Normal \
  --folder-path Shared --cron "0 0 2 * * ?" --time-zone UTC
uip or triggers create --type time \
  --name NightlyInvoices --release-key <release-guid> \
  --runtime-type Unattended --job-priority Normal \
  --folder-path Shared --cron "0 0 2 * * ?" --time-zone UTC

Actualizar

Update by key. Same type-specific flags as create, all optional. Use --no-* counterparts to unset booleans (for example --no-activate-on-complete, --no-resume-on-same-context, --no-run-as-me). Pass --enabled or --disabled to toggle the trigger's state (mutually exclusive).

uip or triggers update <trigger-key> --type time --disabled
uip or triggers update <trigger-key> --type time --disabled

Eliminar

Delete a trigger by key. Requires -y, --yes — the CLI never prompts for destructive operations.

uip or triggers delete <trigger-key> --type time --yes
uip or triggers delete <trigger-key> --type time --yes

Historial

Show the trigger execution history (fire log). Paginated via -l, --limit / --offset. --all-fields returns the full API response instead of the curated subset. Useful for diagnosing why a trigger did not fire (missing license, no machines, disabled, etc.).

Códigos de salida

See Exit codes for the shared contract. delete exits 1 if -y, --yes is omitted.

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado