In case anyone else goes through this...
Issue:
You set up a schedule and now it won't stop running. You try to update the tasks to stop on complete or abort on exception and it doesn't do what it's told.
You've expired and retired the schedule, or even deleted it, yet the tasks/processes continue to run in control room.
When you disconnect the resource(s), the processes stop running, but they restart as soon as the resource is reconnected.
Stopping the process will stop that one, but then the next task starts straight away. It's an infinite loop within scheduler! I didn't know that that could happen...
Cause (for me):
The schedule was set up where no process had "Stop" or "Abort" as it's On Complete or On Exception action. This was because the business asked for process to run 24/7 and to go back up to the top when finished. So each task in the schedule led to another task in the schedule.
Solution (for me - and we tested this in QA first):
1. Immediate solution: retire all the processes in the problematic schedule - this stops the infinite loop (for now)
2. Stop all the other schedules running on all resources in that environment.
3. Disconnect all resources (so they all show as offline)
4. Close Blue Prism (and get everyone on the environment to save their work and do the same)
5. Restart the App Server Blue Prism Service
6. Open Blue Prism back up and un-retire the processes
7. Re-connect your resources
The infinite loop should have stopped. You can restart your other schedules. Do not restart the problematic schedule. You need to schedule this differently.
For me the optimal schedule was to have the original schedule running from start to finish and with the last one having Stop and Abort as the On Complete or On Exception actions. Then scheduling the schedule to run frequently.
Please note this wasn't a Blue Prism recommended solution but it worked for us. Hope this helps others - feel free to comment after if there are better alternatives.