Setting Up Dependencies Between Activities

 

You will now create another activity and make it dependent on the status (Success, Failure, or Completion) of a previous activity. This step allows you to establish a chain of dependent activities that are triggered by the status of preceding activities.

 

Create another new activity by clicking the Add Activity button. Then choose the Mojo plug-in, select the Execute External Ant Script activity, and click OK. Once you have created the Execute External Ant Script activity, you can make this activity dependent on the status of the previous Update from CVS $(JOB_NAME) activity by following the steps in Table DW-5.

 

Table DW-5 Setting Up Dependencies Between Activities

Steps

Actions

1

Select the Execute External Ant Script activity from within the Workflow Hierarchy window.

2

Click the Dependencies field located on the lower right portion of the Workflow Editor screen.

3

Click the New Dependency button within the Dependencies field.

4

Select the Update from CVS $(JOB_NAME) activity from the CVS plug-in list.

5

Choose a dependency status Success. Your newly created activity, Execute External Ant Script, will depend on the successful completion of the Update from CVS $(JOB_NAME) activity.

6

Click OK. The attributes of the dependency will appear in the Dependencies field.