Skip to main content
14-Alexandrite
January 13, 2021
Solved

Scheduler subscriptions

  • January 13, 2021
  • 1 reply
  • 1531 views

Hi, I have a question with the Scheduler. I have to run two services at the same time and I created two subscriptions in the same Scheduler that run one service each and that have the ScheduledEvent Event as input. In what order are the services run?

Best answer by PaiChung

If each is subscribed, you will not be able to predict which one will run first.

If you had to force the order, you can obviously run one after the other triggered in one subscription.

Not sure what requirements you have on these two services.

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
January 13, 2021

If each is subscribed, you will not be able to predict which one will run first.

If you had to force the order, you can obviously run one after the other triggered in one subscription.

Not sure what requirements you have on these two services.

anaclos14-AlexandriteAuthor
14-Alexandrite
January 14, 2021

Thanks, paiChung. A service looks for changes in a database and updates some tables. The other service has to generate production orders for several Assets, grouped by Line. I'm going to run them in that order.