Versions Compared

Key

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

...

  • Unzip all files of test_event.zip into the ./config folder of your active instance of the event service JobScheduler installation. After unzipping you will have all the objects needed to run the example in the live/DEP_EVENTS subfolder.
  • Open the JS operations gui for the workload JobScheduler in your browser using http://scheduler_host:scheduler_port
  • Find the DEP_EVENTS/JobChainB/JobChainB job chain and click on it.
  • There is an order assigned to the JobChainB. In the order menu press Start order now
  • You see the order will start , but since the JobChainA is not yet started , thus JOB_CHAINA_END event does not exist, the order will wait for 10s and then check again.
  • Find the DEP_EVENTS/JobChainA/JobChainA job chain and click on it.
  • There is an order assigned to the JobChainA. In the order menu press Start order now
  • JobChainA will start and after successful completion will submit JOB_CHAINA_END event to the JobScheduler.
  • JobChainB node CheckEvent is checking periodically, as soon as it finds the matching event , JobChainB will also start processing.
  • JobChainB has a node RemoveEvent to remove the event from DB once JobChainB successfully completed processing.

Image Added

How it works

The test_event/job_event_add job is a dummy shell script job with a post processing part. In the post processing the com.sos.jitl.eventing.EventMonitorTaskAfter JITL class is used to add an TEST.TEST_EVENT event.

...