Database Reference
In-Depth Information
The decision task
You can control the execution of the workflow by defining the condition in the decision
task. The decision task allows you to specify the condition using which you can control the
execution of branches in a workflow. In other words, you can check the condition of mul-
tiple tasks, and based on that, you can decide whether you wish to trigger the next task or
not.
Consider the workflow shown in the next screenshot. As you can see, the session task
should be triggered only if the two tasks before the decision task are successful. We can
define the condition in the two link tasks, but the problem in that case will be that the ses-
sion task will be triggered even if one task is successful. This issue can be resolved using
the decision task. You can define the condition in the decision task that will make the ses-
sion task execute only if the two tasks are successful.
Search WWH ::




Custom Search