Skip to main content
June 15, 2023
Question

Running Schedulars

  • June 15, 2023
  • 10 replies
  • 0 views

Hello Everyone,

I have created two schedulars through PMs that executes one by one. But sometimes the first schedular runs longer and in that case I want my second schedular to wait until the first schedular finishes.

Can anyone please help me out how to acheive this?

Thank you!

    10 replies

    June 15, 2023

    You can use Process messaging to trigger the second process from first, but my question is if you want second process to start just after the finish of first process then why not just plug second process using Start process smart service in the first process itself?

    June 15, 2023

    because the schedulars can be more than ten and in that case the PM will keep running even if the other schedular is yet to run. 

    June 15, 2023
    that executes one by one

    But you said that they run one by one, and in that case there is no need for the upcoming processes to be a scheduler process (?). Just get all these processes and form a loop around them with Start Process to execute them one by one.

    harshitb6843
    June 15, 2023

    You can use Start Process smart service in the end of 1st scheduler. That way, when the first one finishes, then it will trigger the next one on the available engine, keeping the load balanced and ensuring that your process doesn't stay active forever. 

    If you have multiple such schedulers, then you can build a loop in the process. 

    June 20, 2023

    Hi [mention:ef600ff8f5d2497eb2def2126dc89484:e9ed411860ed4f2ba0265705b8793d05],

    Some of the schedulars are which falls on weekends will be pushed to the weekdays where some of other schedules are already planned at the same time. So in that case the weekend schedulars should run first before the other schedulars planned at the same time.