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

Compare with Current View Page History

« Previous Version 8 Next »

Scope:

Global is a keyword used before the name of the event to make the event accessible throughout the multiple JobScheduler with the same database. Once the Global Event is created we can use it as an In Conditions and Out Conditions of the same or different JobScheduler masters. 

Earlier if the event is created in one JobScheduler master then we can't use it in another JobScheduler master. That's why Global Event is introduced. Now, if Global Event has created in one JobScheduler master then multiple JobScheduler masters with the same database use this Global Event. If you want to automatic start one JobScheduler's jobs and job chains with the conditions of another JobScheduler master then we can use Global Events as an In and Out Conditions

How to create Global Events: 

For creating Global Event, in the Condition Editor write the name of the event which you want to access globally and then select the Global Event checkbox to true for making the event global. Now, the event is ready to access in another JobScheduler.


Use Case:

Use case: Create Global Event in one JobScheuler master and use it in another JobScheduler master

Explanation
Here we are using JobScheduler master_01 and another JobScheduler master_02 uses the same database. Create Global Event ( global:event1 ) in master_01 and uses it in master_02.

  • Login to JOC Cockpit and switch to the Job Streams tab. 
  • Select the graphical view of the Job Stream.  
  • Drag and drop jobs and edit OutCondition of JobScheduler master_01 
  • In the Condition Editor Event List under Create Event write the name of the event you want to create and enable the Global Event  checkbox for making the event global 
  •  Save and Submit it. 

        


  • Now, a global event is created. 





  • Now, in the different JobScheduler master (JobScheduler ID: master_02)  add a global event as an InCondition of JobStream's Job.


  • In the In Condition's Condition Editor, add the global event as an in condition

    • Either write the expression, i.e. global:name_of_event 
      For example: global:event1 





    • Or click on the pencil icon to add the In Conditions in JobScheduler master_02




  • Save and Submit 


  • Now, add Out Conditions for JobScheduler master_02. If the In Conditions of master_02 is true then event2 of JobScheduler master_02 is created.





  • No labels