Adding Links

A link is the point during the taskflow execution 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. For the success link, you can specify that if the first stage succeeds, the system should proceed to the second stage (Receiving stage). For the failure link, you specify the action to be performed if problems occur in the first stage.

For example, you can set a success link so that if the first stage of LoadData succeeds, 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 variables for an event. For example, you can add a variable 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. The value can be True or False.

  To add links:

  1. Click Add Link.

  2. Select General and 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 Value, select Success or Failure.

  7. 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.