Examples of using the sequencer stage

A sequencer allows you to synchronize the control flow of multiple activities in a job sequence.

The following is a job sequence that synchronizes the running of a job to the successful completion of three other jobs. The sequencer mode is set to All. When job1, job2, and job3 have all finished successfully, the sequencer will start jobfinal (if any of the jobs fail, the corresponding terminator stage will end the job sequence).

Figure 1. Example of sequencer stage with mode set to all

Shows the a sequence job using the sequencer activity to synchronize jobs

The following is section of a similar job sequence, but this time the sequencer mode is set to Any. When any one of the Wait_For_File or job activity stages complete successfully, Job_Activity_12 will be started.

Figure 2. Example of sequencer stage with mode set to any

Shows a similar example job sequence using a sequencer activity set to start a job activity if any of the preceding activities succeed