Use Status in link conditions to test the status of the previous task in the workflow.
The following figure shows a workflow with link conditions using Status:
When you run the workflow, the Integration Service evaluates the link condition, $Session2.Status = SUCCEEDED, and returns the value based on the status of Session2.