UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

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.

Conceitos

  • 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.

Resumo

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.

Argumentos

NameRequiredFinalidade
<file>simPath to the case management JSON file.
<stage-id>simID of the stage node.
<task-id>simID of the task.
<condition-id>simID of the entry condition to retrieve.

Exemplo

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

Formato dos dados (--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 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:

CampoValorObservações
displayNameStringDisplay name for the condition.
Regra 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.

Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades