Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JobScheduler provides a solution to set off events and to handle these events on an active instance of the eventservice event service JobScheduler. However it is also possible to check for events in job chains and then conditionally proceed.
You find the complete documentation in scheduler_events.pdf - Documentation. In particular, how to define event handlers with JOE is described in chapter XML Event Handlers (However this should not be needed for the actual example here.)
To demonstrate how to create an event and wait for it in a job chain we will draw up a simple scenario:

  1. JobChainA contains 3 Task nodes i.e. TaskA1,TaskB1TaskA2,TaskC1TaskA3
  2. JobChainA contains 1 last job node i.e. Submit_End_Event, which will send a EVENT notification to JobScheduler that job has finished.
  3. JobChainB also contains 3 Task nodes i.e. TaskB1,TaskB2,TaskB3
  4. JobChainB contains 1 job node i.e. Check_End_Event, which will check if required EVENT notification is present in the JobScheduler DB.

Requirements

The JobScheduler must run using a database. The events are stored permanently in the table "SCHEDULER_EVENTS".

...