<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: We coded a program that… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90518#M40718</link>
    <description>​Yes that's exactly what happened with the forum!&lt;BR /&gt;&lt;BR /&gt;Yeah that's definitely a fair point about relying on another RR.&amp;nbsp; The whole process does a lot of other stuff (mail distributing, alerting, restarting machines, event based triggering, etc.).&amp;nbsp; When that process goes down generally someone notices within&amp;nbsp;a couple&amp;nbsp;hours when they are doing something that uses it.&amp;nbsp; I've also thought about lifting into a .NET app that runs as a service to free up the license.&amp;nbsp; The trickiest part&amp;nbsp;I imagine&amp;nbsp;is once you get into anything with BP queues.&amp;nbsp; It's going to be quite an ugly SQL query to add a queue item via the database directly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We encountered schedules running multiple times in the beginning.&amp;nbsp; We fixed it by putting the "Closed Missed Schedules" both at the beginning and end of the process.&amp;nbsp; I don't think it's happened since but not 100% sure.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tom Cirone&lt;BR /&gt;Application Developer&lt;BR /&gt;Essity&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Feb 2020 14:04:00 GMT</pubDate>
    <dc:creator>TomCirone</dc:creator>
    <dc:date>2020-02-18T14:04:00Z</dc:date>
    <item>
      <title>Queuing and retry mechanism on schedule</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90509#M40709</link>
      <description>Scenario as below

If there are two schedules "Schedule A" &amp;amp; "Schedule B" and both having object with foregroun run mode. "Schedule A" run at 1:00 pm "Schedule B" run at 1:30 pm If "Schedule A" run more than 30 mins. &amp;nbsp;"Schedule B" will be marked as failed with message "Runtime Resource xxxxxx is too busy".

Is it possible to allow "Schedule B" to&amp;nbsp;be queued up or re-try the schedule after failure

This enhancement allow us to better ultilize the robot and handle fail case&amp;nbsp;</description>
      <pubDate>Thu, 06 Dec 2018 08:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90509#M40709</guid>
      <dc:creator>Wang_LapHon</dc:creator>
      <dc:date>2018-12-06T08:54:00Z</dc:date>
    </item>
    <item>
      <title>We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90510#M40710</link>
      <description>We coded a program that checks the sql table for any failed missed schedules, adds it to a queue, and then it continually tries to run the process until it successfully runs.&amp;nbsp; It's been working pretty well for us.</description>
      <pubDate>Tue, 08 Jan 2019 00:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90510#M40710</guid>
      <dc:creator>TomCirone</dc:creator>
      <dc:date>2019-01-08T00:50:00Z</dc:date>
    </item>
    <item>
      <title>Hi Tom,
 
can you elaborate…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90511#M40711</link>
      <description>Hi Tom,
&amp;nbsp;
can you elaborate on how you coded for&amp;nbsp; failed or missed schedule&amp;nbsp; in the queue? not sure how you are calling the failed queue ?</description>
      <pubDate>Thu, 11 Apr 2019 23:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90511#M40711</guid>
      <dc:creator>HarishM2</dc:creator>
      <dc:date>2019-04-11T23:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Queuing and retry mechanism on schedule</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90512#M40712</link>
      <description>While creating your scheduler for Schedule A , we can add Schedule B to run on completion of Scheduler A.&amp;nbsp;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Attached snapshot for more details.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravinder saini&lt;BR /&gt;Consultant&lt;BR /&gt;Ernst &amp;amp; Young India&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2019 11:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90512#M40712</guid>
      <dc:creator>Ravindersaini</dc:creator>
      <dc:date>2019-05-30T11:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Queuing and retry mechanism on schedule</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90513#M40713</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/456"&gt;@Ravindersaini&lt;/a&gt;​,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2019 12:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90513#M40713</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-05-30T12:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90514#M40714</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/55085"&gt;@TomCirone&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;What did you use to code that? Did you guys make up something quick or a full-on app?​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 May 2019 12:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90514#M40714</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-05-30T12:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90515#M40715</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even though I also access the dateabase and do SQL queries towards it, BluePrism acatually provide another option to get a status report.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;AutomateC.exe /sso /viewschedreport { days } { date } /dbconnname { database } /format csv&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give the ouput :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Type,Status,Name,Instance,Start,End,Termination Reason&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwize I gues you find most of the important stuff in&amp;nbsp;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just as an option.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Håkan Engman&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hakan Engman&lt;BR /&gt;Automation engineer&lt;BR /&gt;Teliacompany.com&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2019 08:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90515#M40715</guid>
      <dc:creator>HakanEngman</dc:creator>
      <dc:date>2019-06-17T08:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90516#M40716</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="ae9fdab1-2d26-46c7-9f20-a84e446d45c9" data-tag-text="@Dave Morris" href="https://community.blueprism.com/network/profile?UserKey=ae9fdab1-2d26-46c7-9f20-a84e446d45c9" data-itemmentionkey="31f2a5ec-f1b9-40c7-832f-f12d0c5c921c"&gt;@Dave Morris&lt;/A&gt;&amp;nbsp; Sorry--Just saw this message now&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It's part of a BluePrism process that runs 24 *7. It uses AutomateC commands + Database queries + BluePrism queue&lt;BR /&gt;&lt;BR /&gt;First it queries the database tables BPAScheduleLogEntry and&amp;nbsp; BPAScheduleLog to find any schedules that have been missed.&amp;nbsp; These could have been missed for any reason: machine offline, conflicting schedule, etc.&amp;nbsp; It adds the schedule name to a queue "Missed Schedules".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Second, it&amp;nbsp; takes the queue items and tries to trigger the process via AutomateC.exe.&amp;nbsp; The return message only means it's added to the queue, not that it actually triggered.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Finally, in every process we callan object that we call called "Close Missed Schedules".&amp;nbsp; This gets the Schedule name (via searching the session ID in the database). It then closes any pending items in the queue "Missed Schedules" .&amp;nbsp; This ensures the schedule won't be re-run.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tom Cirone&lt;BR /&gt;Application Developer&lt;BR /&gt;Essity&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Feb 2020 21:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90516#M40716</guid>
      <dc:creator>TomCirone</dc:creator>
      <dc:date>2020-02-17T21:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90517#M40717</link>
      <description>Ha, wow! I guess the Communities Messaging feature came through for us? I assume my tagging your name caused a message to be put there. Nice. +1 for the new Forum! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;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 &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/49044"&gt;@bjwestwo&lt;/a&gt;&amp;nbsp;​​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?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90517#M40717</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-02-18T13:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90518#M40718</link>
      <description>​Yes that's exactly what happened with the forum!&lt;BR /&gt;&lt;BR /&gt;Yeah that's definitely a fair point about relying on another RR.&amp;nbsp; The whole process does a lot of other stuff (mail distributing, alerting, restarting machines, event based triggering, etc.).&amp;nbsp; When that process goes down generally someone notices within&amp;nbsp;a couple&amp;nbsp;hours when they are doing something that uses it.&amp;nbsp; I've also thought about lifting into a .NET app that runs as a service to free up the license.&amp;nbsp; The trickiest part&amp;nbsp;I imagine&amp;nbsp;is once you get into anything with BP queues.&amp;nbsp; It's going to be quite an ugly SQL query to add a queue item via the database directly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We encountered schedules running multiple times in the beginning.&amp;nbsp; We fixed it by putting the "Closed Missed Schedules" both at the beginning and end of the process.&amp;nbsp; I don't think it's happened since but not 100% sure.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tom Cirone&lt;BR /&gt;Application Developer&lt;BR /&gt;Essity&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90518#M40718</guid>
      <dc:creator>TomCirone</dc:creator>
      <dc:date>2020-02-18T14:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: We coded a program that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90519#M40719</link>
      <description>Hi Tom, thanks for the input. Can you please share the coded program it's really helpful&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mohammed Kaleem&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Oct 2021 12:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Queuing-and-retry-mechanism-on-schedule/m-p/90519#M40719</guid>
      <dc:creator>MohammedKaleem</dc:creator>
      <dc:date>2021-10-04T12:41:00Z</dc:date>
    </item>
  </channel>
</rss>

