Skip to end of metadata
Go to start of metadata

This example has 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

The event handler

You can download the source for this example from here.

In the zip, you find two live folders, one for host1 and one for host2.
There is also a event handler for host1. Please copy this the config/events and configure the actual host names or ip addresses.