The image shows a block diagram of the subtask execution process in ascending order as follows. Each block is connected with an arrow to the next block, from top to bottom.

initiateSubTask (invoke)—Initiates the subtask by invoking the TaskManagerService

initiateTaskActionHandler (invoke)—Initiates the TaskActionHandler business process. This process receives the actions from the Worklist application via the TaskManagerService

receiveUpdatedTask (receive)—Receives the updated task from the TaskActionHandler business process

Compute number of outcomes based on the outcome of the subtask (switch-case and assign)