Scheduled job in Orchestrator doesn't stop

Correct! :slight_smile:

To be more precise:

  • “Stop After” from the Orchestrator sends a stop order to a robot running a process
  • The “Should stop” activity in a process catches this stop order if it exists and stops the process
  • This is especially useful for processes that are loops, place a Should stop in the loop so that it can stop at the end of an iteration
  • If there isn’t any “Shoud stop” activity in your process, the stop order from the orchestrator won’t ever get caught by your process

If you want to run your process 6 times a day and you know it takes roughly 10 minutes, an easy solution would be to make 6 schedules (i.e. starting at 10:00, 10:10, 10:20, 10:30, 10:40, 10:50). Don’t worry, even if your process that started at 10:00 isn’t finished at 10:10, it will start again directly after it finished because the Orchestrator will make a “Pending” job for it.

2 Likes