You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

</noinclude>

This example have

Three Job Chains. Each job chain having its own set of jobs as shown below.

Job_Chain1

  • Job11
  • Job12
  • Job13
  • finish

Job_Chain2

  • Job21
  • Job22
  • Job23
  • finish

Job_Chain3

  • Job31
  • Job32
  • Job33

When Job_Chain1 has finished on host1 Job_Chain2 on host2 should start. When Job_Chain2 on host2 has finished Job_Chain3 on host1 should start.

How it works:

  1. The finish job in Job_Chain1 creates an event for the event processor on host1.
  2. The event handler creates an order for Job_Chain2 on host 2 when the event "jobchain1" arrives. Than the event will "jobchain1" be deleted
  3. The finish job in Job_Chain2 creates an event for the event processor on host1.
  4. The event handler creates an order for Job_Chain3 on host 1 when the event "jobchain2" arrives. Than the event "jobchain2" will be deleted

You can download the source for this example from here.

  • No labels