Select the decision rule so that when the Condition is
satisfied, the Task is sent to the users associated with this task.
Select the required option for Generate:
On Entry - Task is sent before executing the activity
business logic.
On Exit - Task is sent before leaving the activity and
moving to the next activity.
On Stage - When there is a transition where the target and
source are the same activity, and if that transition happens, then
OnStage tasks are triggered.