UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

uip or queue-roi

Syntax and options for `uip or queue-roi`, which manages the Business ROI configuration of an Orchestrator queue.

uip or queue-roi manages the Business ROI configuration of a queue: the manual time a human spends per item, the item volume, the employee cost, and the cost per item. Each queue has at most one ROI configuration. For the same configuration on a process, refer to uip or process-roi.

For the cross-resource conventions (auth, folder scoping, key types, output envelope), refer to the uip or overview.

注:

Every verb needs the OR.BusinessValue scope on the login, the BusinessValue folder permission that matches the verb (View, Create, Edit, or Delete), and the Business ROI feature enabled on the tenant.

概要​

uip or queue-roi get     <queue> [--folder-path <path> | --folder-key <key>]
uip or queue-roi create  <queue> --manual-time <number> [value options] [--disabled] [--folder-path <path> | --folder-key <key>]
uip or queue-roi update  <queue> [value options] [--no-volume] [--no-employee-cost] [--no-cost-per-item] [--enabled | --disabled] [--folder-path <path> | --folder-key <key>]
uip or queue-roi delete  <queue> --yes [--folder-path <path> | --folder-key <key>]
uip or queue-roi get     <queue> [--folder-path <path> | --folder-key <key>]
uip or queue-roi create  <queue> --manual-time <number> [value options] [--disabled] [--folder-path <path> | --folder-key <key>]
uip or queue-roi update  <queue> [value options] [--no-volume] [--no-employee-cost] [--no-cost-per-item] [--enabled | --disabled] [--folder-path <path> | --folder-key <key>]
uip or queue-roi delete  <queue> --yes [--folder-path <path> | --folder-key <key>]

動詞​

動詞目的
getGet the ROI configuration of a queue. Reports Configured: false when none exists.
createCreate the ROI configuration of a queue. Fails when one exists.
updateUpdate the ROI configuration of a queue. Values you do not pass keep their current setting.
deleteDelete the ROI configuration of a queue.

引数​

Every verb takes the same positional argument.

名前Required目的
<queue>○Queue name or key (GUID). A name needs --folder-path or --folder-key when it exists in more than one folder you can see. Find queues with uip or queues list.

フォルダーのオプション​

Every verb accepts these options. They scope a name lookup and are not needed for a key.

Short長押し値 (Value)既定 (Default)説明
—--folder-pathパス—Folder path the queue name is looked up in (for example, Shared).
—--folder-keyGUID—Folder key the queue name is looked up in.

uip or queue-roi get​

Get the ROI configuration of a queue. When the queue has no ROI configuration, the command succeeds with Configured: false.

uip or queue-roi get InvoiceQueue --folder-path Shared
uip or queue-roi get a1b2c3d4-0000-0000-0000-000000000010
uip or queue-roi get a1b2c3d4-0000-0000-0000-000000000010 \
    --output-filter 'Configured'
uip or queue-roi get InvoiceQueue --folder-path Shared
uip or queue-roi get a1b2c3d4-0000-0000-0000-000000000010
uip or queue-roi get a1b2c3d4-0000-0000-0000-000000000010 \
    --output-filter 'Configured'

データシェイプ(--output json)​

{
  "Code": "QueueRoiGet",
  "Data": {
    "QueueKey": "a1b2c3d4-0000-0000-0000-000000000010",
    "QueueName": "InvoiceQueue",
    "Folder": "Shared",
    "Configured": true,
    "Key": "e5f6a7b8-0000-0000-0000-000000000001",
    "Enabled": true,
    "ManualTimePerItem": 12,
    "ManualTimeUnit": "Minutes",
    "ProcessVolume": 4000,
    "ProcessVolumePeriod": "Month",
    "EmployeeCost": 65000,
    "EmployeeCostPeriod": "Annual",
    "ManualCostPerItem": null,
    "Currency": "Usd"
  }
}
{
  "Code": "QueueRoiGet",
  "Data": {
    "QueueKey": "a1b2c3d4-0000-0000-0000-000000000010",
    "QueueName": "InvoiceQueue",
    "Folder": "Shared",
    "Configured": true,
    "Key": "e5f6a7b8-0000-0000-0000-000000000001",
    "Enabled": true,
    "ManualTimePerItem": 12,
    "ManualTimeUnit": "Minutes",
    "ProcessVolume": 4000,
    "ProcessVolumePeriod": "Month",
    "EmployeeCost": 65000,
    "EmployeeCostPeriod": "Annual",
    "ManualCostPerItem": null,
    "Currency": "Usd"
  }
}

A queue with no ROI configuration returns only QueueKey, QueueName, Folder, and Configured: false.

フィールド説明
KeyKey of the ROI configuration.
EnabledWhether ROI tracking is on for the queue.
ManualTimePerItem / ManualTimeUnitManual time a human spends per item, and its unit.
ProcessVolume / ProcessVolumePeriodItems processed per period. null when not set.
EmployeeCost / EmployeeCostPeriodFully loaded employee cost, in USD, over the period. null when not set.
ManualCostPerItemManual cost per item, in USD. null when not set, in which case the Orchestrator UI computes it from the other values.
CurrencyCurrency of the cost values.

uip or queue-roi create​

Create the ROI configuration of a queue. Requires --manual-time. Fails when the queue already has an ROI configuration; use update to change it.

オプション​

Short長押し値 (Value)既定 (Default)説明
—--manual-timewhole number, 0 or more必須Manual time a human spends per item, in --time-unit.
—--time-unitSecondsMinutes、HoursMinutesUnit of --manual-time.
—--volumewhole number, 0 or more—Items processed per --volume-period.
—--volume-periodDay、Week、Month、YearMonth when --volume is setPeriod --volume is measured over. Requires --volume.
—--employee-costnumber, 0 or more, up to 4 decimals—Fully loaded cost of the employee doing the work, in USD, over --cost-period.
—--cost-periodAnnual, HourlyAnnual when --employee-cost is setPeriod --employee-cost is expressed over. Requires --employee-cost.
—--cost-per-itemnumber, 0 or more, up to 4 decimals—Manual cost per item, in USD. When omitted, the Orchestrator UI computes it from the other values.
—--disabledフラグ無効Create the configuration with ROI tracking off (the UI's "not applicable").

Orchestrator applies upper limits configured on the tenant. By default, the limits are 10,000 for --manual-time, 10,000,000 for --volume and --employee-cost, and 100,000 for --cost-per-item.

uip or queue-roi create InvoiceQueue --folder-path Shared --manual-time 12

uip or queue-roi create a1b2c3d4-0000-0000-0000-000000000010 \
    --manual-time 12 --time-unit Minutes \
    --volume 4000 --volume-period Month \
    --employee-cost 65000 --cost-period Annual

uip or queue-roi create a1b2c3d4-0000-0000-0000-000000000010 \
    --manual-time 0 --disabled --output-filter 'Key'
uip or queue-roi create InvoiceQueue --folder-path Shared --manual-time 12

uip or queue-roi create a1b2c3d4-0000-0000-0000-000000000010 \
    --manual-time 12 --time-unit Minutes \
    --volume 4000 --volume-period Month \
    --employee-cost 65000 --cost-period Annual

uip or queue-roi create a1b2c3d4-0000-0000-0000-000000000010 \
    --manual-time 0 --disabled --output-filter 'Key'

データシェイプ(--output json)​

Code: "QueueRoiCreated", with the same Data fields as get.

uip or queue-roi update​

Update the ROI configuration of a queue. Values you do not pass keep their current setting. Pass at least one value option, --enabled, --disabled, or a --no-* option. Fails with ErrorCode: "not_found" when the queue has no ROI configuration; use create first.

オプション​

update accepts the value options of create, all optional and without defaults. When you set --volume or --employee-cost without a period, the stored period is kept, or the create default is used when none is stored. It also accepts:

Short長押し値 (Value)既定 (Default)説明
—--no-volumeフラグ—Clear the stored volume and its period.
—--no-employee-costフラグ—Clear the stored employee cost and its period.
—--no-cost-per-itemフラグ—Clear the manual cost per item, so the Orchestrator UI computes it again.
—--enabledフラグ—Turn ROI tracking on. Mutually exclusive with --disabled.
—--disabledフラグ—Turn ROI tracking off. Mutually exclusive with --enabled.
uip or queue-roi update InvoiceQueue --folder-path Shared --volume 5000

uip or queue-roi update a1b2c3d4-0000-0000-0000-000000000010 \
    --employee-cost 45 --cost-period Hourly --no-cost-per-item

uip or queue-roi update a1b2c3d4-0000-0000-0000-000000000010 \
    --disabled --output-filter 'Enabled'
uip or queue-roi update InvoiceQueue --folder-path Shared --volume 5000

uip or queue-roi update a1b2c3d4-0000-0000-0000-000000000010 \
    --employee-cost 45 --cost-period Hourly --no-cost-per-item

uip or queue-roi update a1b2c3d4-0000-0000-0000-000000000010 \
    --disabled --output-filter 'Enabled'

データシェイプ(--output json)​

Code: "QueueRoiUpdated", with the same Data fields as get.

uip or queue-roi delete​

Delete the ROI configuration of a queue. Requires -y, --yes — the CLI never prompts for destructive operations.

オプション​

Short長押し値 (Value)既定 (Default)説明
-y--yesフラグ—Required. Confirms the deletion.
uip or queue-roi delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or queue-roi delete a1b2c3d4-0000-0000-0000-000000000010 --yes

データシェイプ(--output json)​

{
  "Code": "QueueRoiDeleted",
  "Data": {
    "QueueKey": "a1b2c3d4-0000-0000-0000-000000000010",
    "QueueName": "InvoiceQueue",
    "Folder": "Shared",
    "Status": "Deleted"
  }
}
{
  "Code": "QueueRoiDeleted",
  "Data": {
    "QueueKey": "a1b2c3d4-0000-0000-0000-000000000010",
    "QueueName": "InvoiceQueue",
    "Folder": "Shared",
    "Status": "Deleted"
  }
}

終了コード​

Refer to Exit codes for the shared contract. Verb-specific behavior:

  • update exits 3 (ValidationError) when no value option is passed.
  • create and update exit 3 when --volume-period is passed without --volume, when --cost-period is passed without --employee-cost, or when --enabled and --disabled are both passed.
  • update exits 1 with ErrorCode: "not_found" when the queue has no ROI configuration.
  • delete exits 1 if -y, --yes is omitted.

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得