UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip or queues

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

按密钥获取队列详细信息。跨文件夹。

创建

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

获取文件夹、共享、取消共享

与资产和存储桶对应语义相同 — 有关共享模型,请参阅assetsbuckets

退出代码

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

另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新