<?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 Schedule in an infinite loop - SOLUTION in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60357#M13839</link>
    <description>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...

&amp;nbsp;

Cause (for me):

The&amp;nbsp;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.

&amp;nbsp;

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

&amp;nbsp;

The infinite loop should have stopped. You can restart your other schedules. Do not restart the problematic schedule. You need to schedule this differently.

&amp;nbsp;

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.

&amp;nbsp;

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.</description>
    <pubDate>Thu, 24 May 2018 10:48:00 GMT</pubDate>
    <dc:creator>PriyankaTailor</dc:creator>
    <dc:date>2018-05-24T10:48:00Z</dc:date>
    <item>
      <title>Schedule in an infinite loop - SOLUTION</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60357#M13839</link>
      <description>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...

&amp;nbsp;

Cause (for me):

The&amp;nbsp;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.

&amp;nbsp;

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

&amp;nbsp;

The infinite loop should have stopped. You can restart your other schedules. Do not restart the problematic schedule. You need to schedule this differently.

&amp;nbsp;

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.

&amp;nbsp;

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.</description>
      <pubDate>Thu, 24 May 2018 10:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60357#M13839</guid>
      <dc:creator>PriyankaTailor</dc:creator>
      <dc:date>2018-05-24T10:48:00Z</dc:date>
    </item>
    <item>
      <title>That's a long winded…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60358#M13840</link>
      <description>That's a long winded-workaround.. glad it worked for you.&amp;nbsp; However, even if the process should be scheduled to run 24/7 you need to build in control to such as abort and the ability to stop immediately from the control room. This is best practice.&amp;nbsp;</description>
      <pubDate>Thu, 31 May 2018 17:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60358#M13840</guid>
      <dc:creator>MikeHiggs</dc:creator>
      <dc:date>2018-05-31T17:34:00Z</dc:date>
    </item>
    <item>
      <title>This seems like a really big…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60359#M13841</link>
      <description>This seems like a really big issue, when retiring and even deleting the schedule doesn't stop it from running in an infinite loop.</description>
      <pubDate>Tue, 19 Jun 2018 16:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60359#M13841</guid>
      <dc:creator>MichelCavas</dc:creator>
      <dc:date>2018-06-19T16:22:00Z</dc:date>
    </item>
    <item>
      <title>We do have those controls in…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60360#M13842</link>
      <description>We do have those controls in place so&amp;nbsp;we could stop each process using the session variables... then the next one would just start...
&amp;nbsp;</description>
      <pubDate>Fri, 22 Jun 2018 09:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60360#M13842</guid>
      <dc:creator>PriyankaTailor</dc:creator>
      <dc:date>2018-06-22T09:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule in an infinite loop - SOLUTION</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60361#M13843</link>
      <description>An infinite loop occurs when, for example, the user makes some changes to a running schedule - &lt;SPAN class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en"&gt;&lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" jsdata="uqLsIf;_;$189"&gt;&lt;SPAN jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje" jsname="W297wb"&gt;it should be blocked in Blue Prism&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="VIiyi" jsaction="mouseup:BR6jm" jsname="jqKxS" lang="en"&gt;&lt;SPAN jsaction="agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb" jscontroller="Zl5N8" jsmodel="SsMkhd" jsname="txFAF" class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="pl" data-phrase-index="0" jsdata="uqLsIf;_;$203"&gt;&lt;SPAN jsaction="click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje" jsname="W297wb"&gt;if such a loop occurs &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;you just need to remove the wrong schedules and stop/restart the Blue Prism service on the server.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marcin Grzelak&lt;BR /&gt;RPA Developer&lt;BR /&gt;Open Life TU Życie S.A.&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jan 2021 11:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/60361#M13843</guid>
      <dc:creator>Ernest1</dc:creator>
      <dc:date>2021-01-08T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule in an infinite loop - SOLUTION</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/124308#M54289</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am not certain about earlier versions; however, in Blue Prism version 7.4.0, a Stop option is available for schedulers. You can access this by right-clicking on the scheduler and selecting Stop. This action will immediately stop any bot runs associated with that scheduler and stop the scheduler itself.&lt;/P&gt;&lt;P&gt;Himanshu Jain&lt;BR /&gt;RPA Developer (India)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 06:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-in-an-infinite-loop-SOLUTION/m-p/124308#M54289</guid>
      <dc:creator>Himanshujain42</dc:creator>
      <dc:date>2026-01-09T06:43:00Z</dc:date>
    </item>
  </channel>
</rss>

