- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
Syntax and options for `uip or queues`, which manages Orchestrator queue containers for transactional work items.
管理 Orchestrator队列— 自动化以事务方式处理的工作项目的容器。队列是文件夹范围内的。有关队列中每个项目的操作,请参阅uip or queue-items 。
有关跨资源约定(身份验证、文件夹作用域、密钥类型、输出信封),请参阅uip or概述。
大纲
uip or queues list --folder-path <path> | --folder-key <key> [-n <name>] [-l <n>] [--offset <n>] [--sort-by <field>]
uip or queues get <queue-key>
uip or queues create <name> --folder-path <path> | --folder-key <key> [options below]
uip or queues update <queue-key> [options as for create]
uip or queues delete <queue-key> --yes [-f]
uip or queues get-stats --key <queue-key> [--folder-path <path> | --folder-key <key>] [-n <name>] [--from <date>] [--to <date>] [--all-fields]
uip or queues get-folders <queue-key>
uip or queues share <queue-key> --folder-path <path> | --folder-key <key>
uip or queues unshare <queue-key> --folder-path <path> | --folder-key <key>
uip or queues list --folder-path <path> | --folder-key <key> [-n <name>] [-l <n>] [--offset <n>] [--sort-by <field>]
uip or queues get <queue-key>
uip or queues create <name> --folder-path <path> | --folder-key <key> [options below]
uip or queues update <queue-key> [options as for create]
uip or queues delete <queue-key> --yes [-f]
uip or queues get-stats --key <queue-key> [--folder-path <path> | --folder-key <key>] [-n <name>] [--from <date>] [--to <date>] [--all-fields]
uip or queues get-folders <queue-key>
uip or queues share <queue-key> --folder-path <path> | --folder-key <key>
uip or queues unshare <queue-key> --folder-path <path> | --folder-key <key>
列表
List queues in a folder. Requires --folder-path or --folder-key. Filter: -n, --name <name>. --sort-by <field> sorts results (default Id desc).
uip or queues list --folder-path Shared
uip or queues list --folder-path Shared
get
按密钥获取队列详细信息。跨文件夹。
创建
Create a queue in a folder. Requires <name>. Flags: -d, --description, --max-retries, --sla-in-minutes <minutes>, --risk-sla-in-minutes <minutes>, --auto-retry / --no-auto-retry (default on), --retry-abandoned-items / --no-retry-abandoned-items, --enforce-unique-reference / --no-enforce-unique-reference, --encrypted, --retention-action <Delete|Archive|None> (default Delete), --retention-period <days> (default 30), --stale-retention-action (default Delete), --stale-retention-period <days> (default 180).
uip or queues create InvoiceQueue --folder-path Shared \
--max-retries 3 --retention-period 90
uip or queues create InvoiceQueue --folder-path Shared \
--max-retries 3 --retention-period 90
更新
按密钥更新队列属性。跨文件夹。与create相同的标志,均为可选。
删除
Delete a queue by key. Cross-folder. Requires -y, --yes — the CLI never prompts for destructive operations. Add -f, --force to delete a queue that still has items — without it, a non-empty queue is refused; --force deletes the items along with the queue and implies --yes.
uip or queues delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or queues delete a1b2c3d4-0000-0000-0000-000000000010 --yes
get-stats
Get processing statistics (item counts, exception counts, processing times) for a queue. Unlike every other verb on this page, the queue is identified by a required option, not a positional argument: --key <queue-key>. Optional -n, --name <name> (contains-match, combined with --key), --from <date> / --to <date> (ISO 8601, filter by last-processed date), --all-fields.
uip or queues get-stats --key a1b2c3d4-0000-0000-0000-000000000001
uip or queues get-stats --key a1b2c3d4-0000-0000-0000-000000000001
获取文件夹、共享、取消共享
退出代码
See Exit codes for the shared contract. delete exits 1 if -y, --yes is omitted.
相关命令
uip or queue-items— 队列中每个项目的操作。
另请参阅
uip or概述— 每个uip or动词的共享约定。- 操作方法:管理 Orchestrator 资产和队列— 队列项目的批量模式。