A DecisionTask is a control task that executes a sequence of WorkflowTasks based off decision provided and evaluated by this task.
Name | Type | Description | Notes |
---|---|---|---|
condition | str | The condition to evaluate for this decision task. The condition can be a workflow or task variable or an expression based on the input parameters. Example value for condition if its Workflow/task variable is - "${task1.output.var1} or |
[optional] |
decision_cases | list[WorkflowDecisionCase] | [optional] | |
default_task | str | The default next Task to execute if the decision cannot be evaluated to any of the DecisionCases. | [optional] |
input_parameters | object | JSON formatted map that defines the input given to the decision task. The inputs are used as variables in the condition property of decision task. The input variables can be static values like "hello" , "24", "true" OR previous task outputs/workflow inputs like "${task2.output.var1}}". The input variables are referrenced as $.inputVariableName in the condition property. | [optional] |