Links

Links connect taskflow stages. Links can be unconditional where the completion of a stage leads to the start of the next stage, or conditional where the results of the operations of a stage determines how the taskflow proceeds.

Links specify the action that the taskflow should take next. Every stage needs a link. Generally, most stages have two links: success and failure. For the success link, you specify the next processing stage (receiving stage) based on the results of the current stage. For the failure link, you specify the action to take if the taskflow action in the stage fails.

The last stage in each taskflow must have a final link with "End" as the target to complete the taskflow.