Database Reference
In-Depth Information
Creating a decision task
To create a decision task in Workflow Manager, follow these steps:
1. In Workflow Manager, navigate to
Tasks
|
Create
.
2. From the list of tasks, select the
Decision
task and specify the name of the decision
task, which is
dec_TASK_NAME
. For our reference, we are using the decision
task named
dec_CONDITION
. Click on
Create
, and then click on
Done
.
The decision task appears in Workflow Manager. Use the link task to connect the
start task to the control task. In our case, we are implementing a scenario where the
s_m_max
session task should be triggered only after the successful execution of
the
em_FAILURE_NOTIFICATION
Email task and the
s_m_CONCAT_TOTAL
session task, as shown in the preceding screenshot:
3. Double-click on the decision task to open the task in the edit view. Click on
Prop-
erties
and mention the condition under
Value
. As per our requirement, we have
defined the condition as
$em_FAILURE_NOTIFICATION.Status =
SUCCEEDED AND $s_m_CONCAT_TOTAL.Status = SUCCEEDED
. Now,
click on
OK
.