Adding Links to Taskflows

A link is the point during the execution of the taskflow at which the activity in one stage is completed, and the taskflow ends or control passes to another stage, which starts. A link can be unconditional, where the completion of one stage always leads to the start of another, or conditional, where the sequence of operation depends on one or more link conditions.

A link specifies the action for the system to take next. Every stage needs a link. In general, most stages have two links: success and failure. You can specify that, if the first stage is successful, the system should proceed to the second stage (Receiving stage). You can also specify the action to be performed if problems occur in the first stage and it does not successfully complete.

For example, you can set a success link so that if the first stage of LoadData is successful, the system should proceed to the Receiving stage of Consolidation. You can set a failure link so that if failure occurs or any problems are encountered in the LoadData stage, the system should proceed to the Receiving stage of End, which ends the process and terminates the taskflow.

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

You can specify conditions for a link. For example, you can add a condition for a load data task such as LoadData_Result= =Success.

You must enter two equal signs (= =) after the variable, and place single quotation marks (') around the condition that you are evaluating. The value can be True or False.

To add links:

  1. From a task flow, click Add Link.
  2. From the General tab, for Name, enter a link name.

    The name can contain up to 30 characters.

  3. For Description, enter a link description.

    The Sending Stage is displayed for informational purposes.

  4. From Receiving Stage select a stage.
  5. Select Condition tab if applicable, and from Variable, select a variable, for example, LoadData_Result.

    Tip:

    To delete a condition, click Delete.

  6. From Relational Operators, select Equal to or Not equal to.
  7. From Value, select Success or Failure.
  8. Click Add.

    Note:

    Ensure that the last stage in the taskflow has a link with an End target.

    Tip:

    To delete a condition, click Delete.