Add Activity Dependencies
When you create activities, they will be arranged, by default, to execute in the order in which you created them. To change this order, you will need to define the dependencies for each activity. The Dependencies field allows you to establish a chain of dependent activities that are triggered by the status of preceding activities. Any activity can be made dependent on any other activity’s status. In this way, Workflows can be defined with logic to take different courses of action, depending on the outcome of certain activities. To develop a dependency, select an activity in the Workflow Hierarchy window and expand the Dependencies field. Click the New Dependency button to choose one of the other activities attached to that machine. There are three dependency types: Success, Fail, or Complete. By selecting one of these dependency types, you can determine which status the selected activity will be in to trigger the execution of the dependent activity. After all dependencies for all activities have been defined, select the build machine that is executing the activities and click the Sort Machine Activities button. This step will determine the proper order of execution.
Edit Activity Dependency
Dependencies can be edited by highlighting the dependency in the Dependencies listing. By clicking on the Edit button, the Edit Activity Dependency pop-up window appears. For purposes of editing, this window displays all of the same input lines found in the Add Activity Dependency pop-up window.
Remove
Dependencies can be removed from the Dependencies listing by highlighting the dependency and then clicking the Remove button.