UiPath Documentation
uipath-cli
latest
false
Guide de l'utilisateur de UiPath CLI
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

uip maestro case task-entry-conditions

Syntax and options for `uip maestro case task-entry-conditions get`, which reads the rules that gate when a task becomes runnable in a case management definition JSON file, plus the JSON field reference for hand-editing one.

A task entry condition is a named rule set attached to a task that determines when the task becomes eligible to run — for example, only after every other task in the stage has completed, or only after specific named tasks finish. uip maestro case task-entry-conditions reads these conditions from a case-definition JSON file.

For the tasks these conditions gate, see uip maestro case tasks. For the overall Case Management concept model, see uip maestro case.

Concepts

  • Rule type — the real, source-validated set is current-stage-entered, selected-tasks-completed, wait-for-connector, adhoc, runs-sequentially. selected-tasks-completed additionally requires a list of task IDs. Note: this command's own built-in --help example demonstrates --rule-type all-previous-tasks-completed, which is not in the validated list above — treat that specific value as a bug in the source's own example, not a valid rule type.

Synthèse

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 case task-entry-conditions get

Print an entry condition by ID.

Arguments

NomRequisObjectif
<file>ouiPath to the case management JSON file.
<stage-id>ouiID of the stage node.
<task-id>ouiID of the task.
<condition-id>ouiID of the entry condition to retrieve.

Exemple

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

Format des données (--sortie 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 is the raw node object as stored on disk — use this shape as a reference when hand-editing caseplan.json. rules is a nested array — one inner array per OR-branch rule group.

Task-entry-condition JSON fields

Conditions are added, edited, and removed by hand in caseplan.json's task-entry-conditions array. Field reference:

ChampValeur (Value)Remarques
displayNamestringDisplay name for the condition.
Règles typecurrent-stage-entered|selected-tasks-completed|wait-for-connector|adhoc|runs-sequentiallyGoes inside a rules[][] entry.
condition expressionstringFree-form expression on a rule, when the rule type supports one.
selectedTasksIdsarray of stringsRequired alongside a selected-tasks-completed rule.

After editing caseplan.json's task-entry-conditions array directly, run uip maestro case validate.

Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour