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

UIP Maestro ケース task-entry-conditions

「uip maestro case task-entry-conditions get」の構文とオプション。ケース管理定義の JSON ファイル内のタスクが実行可能になったときにゲートされるルールと、ケース管理定義の JSON ファイル用の JSON フィールド参照を読み取ります。

タスク開始条件は、タスクにアタッチされた名前付きルールセットで、タスクがいつ実行可能になるかを決定します (たとえば、ステージ内の他のすべてのタスクが完了した後のみ、または特定の名前付きタスクが完了した後のみ)。uip maestro case task-entry-conditions は、ケース定義の JSON ファイルからこれらの条件を読み取ります。

これらの条件によってゲートされるタスクについては、「 uip maestro case tasks」をご覧ください。ケース管理の全体的な概念モデルについては、「 uip maestro case」をご覧ください。

概念​

  • ルールの種類 — ソースで検証済みの実際のセットは、 current-stage-entered、 selected-tasks-completed、 wait-for-connector、 adhoc、 runs-sequentiallyです。selected-tasks-completed さらにタスク ID のリストが必要です。注: このコマンド独自の組み込み --help 例は、上記の検証済みリストにない --rule-type all-previous-tasks-completedを示しています — その特定の値は、有効なルールタイプではなく、ソース独自の例のバグとして扱ってください。

概要​

uip maestro case task-entry-conditions get <file> <stage-id> <task-id> <condition-id>
uip maestro case task-entry-conditions get <file> <stage-id> <task-id> <condition-id>

UIP Maestro ケース task-entry-conditions get​

入力条件をIDで印刷します。

引数​

名前Required目的
<file>○ケース管理の JSON ファイルへのパスです。
<stage-id>○ステージ ノードの ID です。
<task-id>○タスクの ID です。
<condition-id>○取得するエントリ条件の ID です。
uip maestro case task-entry-conditions get case.json Stage_1 Task_1 Condition_a1b2c3d4
uip maestro case task-entry-conditions get case.json Stage_1 Task_1 Condition_a1b2c3d4

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

{
  "Code": "TaskEntryConditionFound",
  "Data": {
    "Condition": { "id": "Condition_a1b2c3d4", "displayName": "Start", "rules": [[{ "id": "Rule_e5f6a7b8", "type": "current-stage-entered" }]] }
  }
}
{
  "Code": "TaskEntryConditionFound",
  "Data": {
    "Condition": { "id": "Condition_a1b2c3d4", "displayName": "Start", "rules": [[{ "id": "Rule_e5f6a7b8", "type": "current-stage-entered" }]] }
  }
}

Condition はディスクに保存されている未加工のノード オブジェクトです。 caseplan.jsonを手動編集する場合は、この図形を参照として使用します。rules は入れ子になった配列です。OR 分岐ルール グループごとに 1 つの内部配列です。

Task-entry-condition JSON フィールド​

条件の追加、編集、削除は、 caseplan.jsonの task-entry-conditions 配列で手動で行います。フィールド参照:

フィールド値 (Value)備考
displayNamestring条件の表示名。
ルール typecurrent-stage-entered|selected-tasks-completed|wait-for-connector|adhoc|runs-sequentiallyrules[][] エントリ内に移動します。
条件式stringルールの自由形式の式です (ルールの種類でサポートされている場合)。
selectedTasksIdsString の配列selected-tasks-completed ルールとともに必要です。

caseplan.jsonの task-entry-conditions 配列を直接編集した後、 を実行しますuip maestro case validate。

参照​

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得