Versions Compared

Key

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

...

The DEP_EVENTS/JobChainA/JobChainA/Submit_End_Event job is a JobScheduler job to Check if required event is exits in JobScheduler DB.

The test_event/job chain_example_wait_for_event }} job chain has 2 dummy steps and the wait for event stepjob DEP_EVENTS/JobChainB/JobChainB/Check_End_Event in JobChainB will wait for the event. This step executes the {{test_event/job_event_checkDEP_EVENTS/JobChainB/JobChainB/Check_End_Event job to look for the desired event specified in the scheduler_event_spec parameter. As the events are stored in a xml object you have to specify a xpath expression here.

...

After adding the event, the order will proceed with the next step and the event will be removed.

Image Removed Image Added

The test_event/job chain_example_wait_for_event_db }} job chain has 2 dummy steps and the wait for event step. This step executes the {{test_event/job_event_check_db job to look for the desired event. The difference to to first example is, that this job uses the events database. You can either specify parameters for event_id, event_class and exit_code to test for a specific event or you can specify a condition for the events you are waiting for.

...