Creating Job Chains with Job Dependencies 
Complex job dependencies can be implemented with job chains and other repository objects in an intuitive way.
The following different repository objects can be used to create dependencies:
Locks - Prevent two different jobs to run simultaneously.
Events - Jobs can raise and clear events as well as get submitted by events.
The following job chain features create dependencies:
Status Handlers - Job chain execution can be adapted at runtime by the use of status handlers.
Precondition function - Allow or disallow job execution based on the output of a function.
Two independent job chains are not to run simultaneously and no job chain should be running twice simultaneously.
1. Creating a lock
Choose in the Navigation bar.
Choose New and fill in a name.
Choose Save and Close.
2. Attaching the lock to the job chains
Choose .
From the context menu, choose Edit.
Choose the job chain.
Choose the Job Locks tab and choose New, choose the previously created lock.
Choose Save and Close.
Create an event
Choose in the Navigation bar.
Choose New and fill in a name.
Choose Save and Close.
Attach an event to be raised by the job chain.
Choose
From the context menu, choose Edit.
Choose the job chain.
Choose the Raise Events tab and choose New, choose the previously created event.
Choose Save to save the job chain.
Attach an event to submit the job chain.
Choose
From the context menu, choose Edit.
Choose the job chain.
Choose the Wait Events tab and choose New, choose the previously created event.
Choose Save to save the job chain.
A job chain with four steps should run step 4 only when one of the three previous steps failed and upon successful completion restart the job chain.
When step 4 fails an operator should be informed of the problem.
Choose
From the context menu, choose Edit.
Under Error, choose GotoStep and step 4.
Edit the second step in the same way.
Choose the third Step, choose the Status Handler tab.
Under Error, choose GotoStep and step 4.
Under Completed, choose MarkCompleted.
Choose the last Step.
UnderCompleted, choose RestartChain.
Under Error, choose RequestRestart.
Choose Save to save the job chain.
The 1st step should only run on Mondays
Choose
From the context menu, choose Edit.
Choose the first Step.
Fill in an expression under Precondition.
Choose Save to save the job chain.