Managing Schedules outside of the GUI (AutomateC.exe ?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-03-21 03:16 PM
We have regularly scheduled maintenance windows which often result in team members having to log on after hours to manually set schedules to Maintenance mode. They then have to log on following the outage and re-enable schedules (disabling maintenance mode), manually starting ones that should have started prior to the end of the maintenance window to ensure they're running.
I've been tasked with finding a way to automatically turn schedules off for these maintenance windows, and it's been suggested to modify the database values to initiate a maintenance mode event.
I would much rather use the tools provided to achieve this task, however it doesn't appear as though AutomateC.exe provides the necessary functionality to do so.
I see the following cli switches (running BP 6.9):
/startschedule
/deleteschedule
/viewschtimetable
/viewschedreport
Has anyone tackled a similar requirement, stopping and starting Blue Prism schedules automatically with either AutomateC, or by creating the DB relationships to link a BP Schedule to a Maintenance calendar?
Thanks in advance, for any guidance anyone can provide!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-03-21 06:36 AM
I have had come across such requirement once where we used Blue prism BP to extract Schedule reports and reason. We have no write access to PROD db hence we have not done this however we have had a successful PoC if that can be achieved. if you need if could share the SQL query to find out the schedule reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-03-21 08:15 AM
This is a problem I have not encountered as all the maintenance windows for projects I have worked on have been night and weekends, when we could schedule around these times and not worry about them in the long run.
Maybe the solution can be to shut down the BP Applications servers for the maintenance period. I imagine that would be the easiest thing to automate. Or you can try to bring the resources down before maintenance and then back up without worrying about BP schedules. When the resources would come back on the BP schedule would run the processes itself, provided that the settings configuration can be correctly adjusted. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-04-21 10:44 PM
Can't say I understood the problem correctly, but wouldn't setting up the day as holiday in calendar disable all the schedules.. Of course all the schedules are expected to use a calendar. If some schedule does not use any calendar then it will continue to trigger during a holiday as well.
In my case most of the maintainenance happens on weekends and only one calendar has weekends as working day - so I just need to setup an holiday in that calendar. However when there is a maintenance on working weeks, i have to setup holiday on all the calendars. One inconvenience with this approach is that if you want to disable the schedule for only few hours - you cannot do it in advance as it sets the "entire day" as holiday. So you need to set up the holiday before you start maintenance; wait for any already triggered schedules to complete; perform maintenance and then remove the holiday so that the schedules can resume.
It should be quite easy to add holidays to system calendars directly in the database too instead of through the interface, although i can appreciate your reluctance to do it this way.
Hope this helps.
