Queuing and retry mechanism on schedule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-12-18 08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-01-19 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-04-19 12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-05-19 12:58 PM
So when you create task for Schedule A, you will see option 'On Completion' there you can give Task which will run Process/Scheduler B.
Attached snapshot for more details.
------------------------------
Ravinder saini
Consultant
Ernst & Young India
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-05-19 01:28 PM
The feature you mention regarding On Complete/On Exception is very useful, but the problem is that Lap Hon's need is to re-run a Schedule that was missed and there's currently no interaction between Schedules. What you're referring to is between tasks within the same schedule.
Still, I wonder if the suggestion might not be a good workaround. Instead of scheduling the two processes on separate schedules, maybe they could be combined together into the same schedule. The tasks that were previously in Schedule A would be the first few tasks and Schedule B's tasks would be the latter half of a combined Schedule AB.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-05-19 01:30 PM
What did you use to code that? Did you guys make up something quick or a full-on app?
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-19 09:30 AM
Hi,
Even though I also access the dateabase and do SQL queries towards it, BluePrism acatually provide another option to get a status report.
AutomateC.exe /sso /viewschedreport { days } { date } /dbconnname { database } /format csv
Give the ouput :
Type,Status,Name,Instance,Start,End,Termination Reason
Otherwize I gues you find most of the important stuff in BPAScheduleLogEntry table in the database. Personally I'm trying to move away from accessing the db directly. The output could be "piped" to your homebuilt re-scheduler code.
Just as an option.
Thank you,
Håkan Engman
------------------------------
Hakan Engman
Automation engineer
Teliacompany.com
Europe/Stockholm
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-20 09:42 PM
It's part of a BluePrism process that runs 24 *7. It uses AutomateC commands + Database queries + BluePrism queue
First it queries the database tables BPAScheduleLogEntry and BPAScheduleLog to find any schedules that have been missed. These could have been missed for any reason: machine offline, conflicting schedule, etc. It adds the schedule name to a queue "Missed Schedules".
Second, it takes the queue items and tries to trigger the process via AutomateC.exe. The return message only means it's added to the queue, not that it actually triggered.
Finally, in every process we callan object that we call called "Close Missed Schedules". This gets the Schedule name (via searching the session ID in the database). It then closes any pending items in the queue "Missed Schedules" . This ensures the schedule won't be re-run.
------------------------------
Tom Cirone
Application Developer
Essity
America/New_York
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-02-20 01:51 PM
That makes sense. I have been considering making a Controller app ever since I saw that Ami Barrett made one. I don't like the idea of relying on a Blue Prism Runtime Resource being available to run such a process for the purpose of making sure other processes have run. We have some similar utilities, including some queries that @BrentonWestwood set up which keep us aware of any failed schedules and stuff like that. We haven't implemented any queue logic like you described. Have you encountered any unintended situations from doing that, such as schedules being run more than they're supposed to?
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-02-20 02:04 PM
Yeah that's definitely a fair point about relying on another RR. The whole process does a lot of other stuff (mail distributing, alerting, restarting machines, event based triggering, etc.). When that process goes down generally someone notices within a couple hours when they are doing something that uses it. I've also thought about lifting into a .NET app that runs as a service to free up the license. The trickiest part I imagine is once you get into anything with BP queues. It's going to be quite an ugly SQL query to add a queue item via the database directly.
We encountered schedules running multiple times in the beginning. We fixed it by putting the "Closed Missed Schedules" both at the beginning and end of the process. I don't think it's happened since but not 100% sure.
------------------------------
Tom Cirone
Application Developer
Essity
America/New_York
------------------------------
