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

uip maestro case case-exit-conditions, stage-entry-conditions, stage-exit-conditions

Syntax and options for the `get` verbs of the case-level and stage-level condition groups in a local case management JSON file — case-exit-conditions, stage-entry-conditions, and stage-exit-conditions — plus the JSON field reference for hand-editing each.

Three command groups manage the rule-based conditions that gate transitions inside a local case management definition file: case-exit-conditions (when can the whole case complete or close), stage-entry-conditions (when can a stage start), and stage-exit-conditions (when can a stage finish or hand off). All three share an identical get shape and read the same case management JSON document; see uip maestro case for the file format and the rest of the subsystem. For the task-level equivalent, see task-entry-conditions.

Conditions are edited by hand in caseplan.json — each group's JSON field reference is below its get verb.

概念

  • A condition is a named container for one or more rule groups. rules is an array of arrays — each inner array is one OR-branch, and every rule inside an inner array is ANDed together. In practice, every worked example in source has exactly one rule per condition, but the shape supports multiple.
  • The completion/exit rule-type split. On case-exit-conditions and stage-exit-conditions, which rule-type value is valid depends on whether the condition marks its parent complete: marksCaseComplete/marksStageComplete: true uses the completion rule-type set; false (or absent) uses the exit set.
  • stage-entry-conditions has a single rule-type enum, no completion/exit split.

uip maestro case case-exit-conditions

Read exit/completion conditions on the whole case (file-scoped, no stage argument).

概要

uip maestro case case-exit-conditions get <file> <condition-id>
uip maestro case case-exit-conditions get <file> <condition-id>

uip maestro case case-exit-conditions get

引数
名前Required目的
<file>Path to the case management JSON file.
<condition-id>ID of the case exit condition to retrieve.
uip maestro case case-exit-conditions get case.json Condition_a1b2c3d4
uip maestro case case-exit-conditions get case.json Condition_a1b2c3d4
データシェイプ(--output json)
{
  "Code": "CaseExitConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Completed",
      "marksCaseComplete": true,
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "required-stages-completed" }]]
    }
  }
}
{
  "Code": "CaseExitConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Completed",
      "marksCaseComplete": true,
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "required-stages-completed" }]]
    }
  }
}

Condition is the raw node object as stored on disk — use this shape as a reference when hand-editing caseplan.json.

Case-exit-condition JSON fields

Field reference for hand-editing a condition into caseplan.json:

フィールド値 (Value)備考
displayNamestringDisplay name for the condition.
marksCaseCompletetrue | falseSwitches which rule-type set is valid (see Concepts).
ルール typeCompletion set (marksCaseComplete: true): required-stages-completed, wait-for-connector. Exit set (false/absent): selected-stage-completed, selected-stage-exited, wait-for-connector.Goes inside a rules[][] entry.
condition expressionstringFree-form expression on a rule, when the rule type supports one.
selectedStageIdstringStage ID for selected-stage-* rules.

After editing, run uip maestro case validate.

uip maestro case stage-entry-conditions

Read entry conditions on one stage (file + stage-scoped).

概要

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

uip maestro case stage-entry-conditions get

引数
名前Required目的
<file>Path to the case management JSON file.
<stage-id>ID of the stage node.
<condition-id>ID of the entry condition to retrieve.
uip maestro case stage-entry-conditions get case.json Stage_1 Condition_a1b2c3d4
uip maestro case stage-entry-conditions get case.json Stage_1 Condition_a1b2c3d4
データシェイプ(--output json)
{
  "Code": "StageEntryConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Start",
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "current-stage-entered" }]]
    }
  }
}
{
  "Code": "StageEntryConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Start",
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "current-stage-entered" }]]
    }
  }
}

Stage-entry-condition JSON fields

Field reference for hand-editing:

フィールド値 (Value)備考
displayNamestringDisplay name for the condition.
isInterruptingtrue | falseWhether the condition is interrupting.
ルール typeone of case-entered, selected-stage-exited, selected-stage-completed, wait-for-connector, user-selected-stageSingle enum, no completion/exit split.
condition expressionstringFree-form expression on a rule, when supported.
selectedStageIdstringStage ID for selected-stage-* rules.

After editing, run uip maestro case validate.

uip maestro case stage-exit-conditions

Read exit/completion conditions on one stage (file + stage-scoped). The richest of the three groups — it also controls where execution goes on exit.

概要

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

uip maestro case stage-exit-conditions get

引数
名前Required目的
<file>Path to the case management JSON file.
<stage-id>ID of the stage node.
<condition-id>ID of the exit condition to retrieve.
uip maestro case stage-exit-conditions get case.json Stage_1 Condition_a1b2c3d4
uip maestro case stage-exit-conditions get case.json Stage_1 Condition_a1b2c3d4
データシェイプ(--output json)
{
  "Code": "ExitConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Done",
      "marksStageComplete": true,
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "required-tasks-completed" }]]
    }
  }
}
{
  "Code": "ExitConditionFound",
  "Data": {
    "Condition": {
      "id": "Condition_a1b2c3d4",
      "displayName": "Done",
      "marksStageComplete": true,
      "rules": [[{ "id": "Rule_e5f6a7b8", "type": "required-tasks-completed" }]]
    }
  }
}

Stage-exit-condition JSON fields

Field reference for hand-editing:

フィールド値 (Value)備考
displayNamestringDisplay name for the condition.
typeexit-only | wait-for-user | return-to-originWhat happens on exit.
exitToStageIdstringStage to transition to on exit (paired with return-to-origin).
marksStageCompletetrue | falseSwitches which rule-type set is valid (see Concepts).
ルール typeCompletion set (marksStageComplete: true): required-tasks-completed, wait-for-connector. Exit set (false/absent): selected-tasks-completed, wait-for-connector.Goes inside a rules[][] entry.
condition expressionstringFree-form expression on a rule, when supported.
selectedTasksIdsarray of stringsTask IDs for a selected-tasks-completed rule.

After editing, run uip maestro case validate.

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得