<?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: Schedule Process to stop after 23.45 hours in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92960#M42636</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;I figured it out... I got the start date, then used the following calculation..&lt;BR /&gt;&lt;BR /&gt;IsStopRequested()&lt;BR /&gt;OR&lt;BR /&gt;([S_time_Stop_After_Time] &amp;lt; LocalTime()&lt;BR /&gt;AND&lt;BR /&gt;Today() &amp;gt; [G_date_Start_Date])&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alex Faulkner&lt;BR /&gt;RPA Lead&lt;BR /&gt;Babylon Health&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 06 Dec 2019 09:45:00 GMT</pubDate>
    <dc:creator>Alex__Faulkner</dc:creator>
    <dc:date>2019-12-06T09:45:00Z</dc:date>
    <item>
      <title>Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92956#M42632</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a daily 24 hour process, which is scheduled to start running at 09:00 each morning. As is best practice, the process should stop and restart at least once in this period.&lt;BR /&gt;&lt;BR /&gt;I would like to stop the process at 08:45 each morning, then the scheduler will kick it off again at 09:00.&lt;BR /&gt;&lt;BR /&gt;I've looked at adding the "Stop After Time" session variable to the Stop decision, but can't find a way that would work. Example below.&lt;BR /&gt;&lt;BR /&gt;I have a session variable of 08:45 to stop the process from the previous day. The scheduler kicks off at 09:00, but that would then be after 08:45, so would stop the process.&lt;BR /&gt;&lt;BR /&gt;Is there any way around this? Could I use the Hourly/Minutely schedule option and start at 09:00 and stop at 08:45?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help here would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alex Faulkner&lt;BR /&gt;RPA Lead&lt;BR /&gt;Babylon Health&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2019 14:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92956#M42632</guid>
      <dc:creator>Alex__Faulkner</dc:creator>
      <dc:date>2019-12-05T14:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92957#M42633</link>
      <description>Hi Alex,&amp;nbsp;&lt;BR /&gt;You can try and add a check of time in the process before start and work on Next Item, if Local Time &amp;gt;=&lt;SPAN style="display: inline !important; float: none; background-color: #ebebeb; color: #333333; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 500; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;23.45.&lt;BR /&gt;&lt;BR /&gt;If that will be true, just complete the process. Otherwise continue.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="img-responsive" src="https://cdn.filestackcontent.com/FzwoaEj9ROu5jESZhdWQ" data-mce-hlimagekey="bc163d07-cf44-c1bd-c246-5cda1e130b7d" data-mce-hlselector="#ReplyInline_ba0b62a2f8394a7b924e2413b018fcb4-tinyMce" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kind regards, &lt;BR /&gt;&lt;BR /&gt;Dmitrij Mamajev&lt;BR /&gt;RPA Developer&lt;BR /&gt;Volvo Cars&lt;BR /&gt;Gothenburg - Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2019 14:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92957#M42633</guid>
      <dc:creator>dmma</dc:creator>
      <dc:date>2019-12-05T14:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92958#M42634</link>
      <description>What if you calculate the stop datetime at the very start of your process and use that to compare it to the current datetime in the Stop decision?&lt;BR /&gt;I.e. calculate a date time using Today +1 day and 08:45, then compare it to Now in the stop stage.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jeroen Oosterholt&lt;BR /&gt;Automation Designer&lt;BR /&gt;DHL&lt;BR /&gt;Maastricht&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2019 14:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92958#M42634</guid>
      <dc:creator>JeroenOosterhol</dc:creator>
      <dc:date>2019-12-05T14:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92959#M42635</link>
      <description>&lt;DIV class="uconBody"&gt;&lt;DIV dir="auto"&gt;Hi Alex,&lt;DIV dir="auto"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Your requirement is to stop the process next day 8.45 am if that start at today 9 am.&amp;nbsp;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Keep the start day in a variable and check if the end date time greater or equal to&amp;nbsp;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Start Day +1 8:45 am or not.&lt;/DIV&gt;&lt;DIV dir="auto"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;I guess it will resolve your problem.&lt;/DIV&gt;&lt;DIV dir="auto"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Regards&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Sutirtha Gupta&lt;/DIV&gt;&lt;DIV dir="auto"&gt;TCS, Kolkata&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------Original Message------&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a daily 24 hour process, which is scheduled to start running at 09:00 each morning. As is best practice, the process should stop and restart at least once in this period.&lt;BR /&gt;&lt;BR /&gt;I would like to stop the process at 08:45 each morning, then the scheduler will kick it off again at 09:00.&lt;BR /&gt;&lt;BR /&gt;I've looked at adding the "Stop After Time" session variable to the Stop decision, but can't find a way that would work. Example below.&lt;BR /&gt;&lt;BR /&gt;I have a session variable of 08:45 to stop the process from the previous day. The scheduler kicks off at 09:00, but that would then be after 08:45, so would stop the process.&lt;BR /&gt;&lt;BR /&gt;Is there any way around this? Could I use the Hourly/Minutely schedule option and start at 09:00 and stop at 08:45?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help here would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alex Faulkner&lt;BR /&gt;RPA Lead&lt;BR /&gt;Babylon Health&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 06:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92959#M42635</guid>
      <dc:creator>sutirtha.gupta</dc:creator>
      <dc:date>2019-12-06T06:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92960#M42636</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;I figured it out... I got the start date, then used the following calculation..&lt;BR /&gt;&lt;BR /&gt;IsStopRequested()&lt;BR /&gt;OR&lt;BR /&gt;([S_time_Stop_After_Time] &amp;lt; LocalTime()&lt;BR /&gt;AND&lt;BR /&gt;Today() &amp;gt; [G_date_Start_Date])&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Alex Faulkner&lt;BR /&gt;RPA Lead&lt;BR /&gt;Babylon Health&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 09:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92960#M42636</guid>
      <dc:creator>Alex__Faulkner</dc:creator>
      <dc:date>2019-12-06T09:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Schedule Process to stop after 23.45 hours</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92961#M42637</link>
      <description>&lt;P&gt;If you use the standard blue prism process u have a data Item &lt;STRONG&gt;&lt;EM&gt;Stop After Time&lt;/EM&gt;&lt;/STRONG&gt; on the mainpage.&lt;BR /&gt;&lt;BR /&gt;And in the &lt;EM&gt;&lt;STRONG&gt;Stop?&lt;/STRONG&gt;&lt;/EM&gt; Stage you have the following code:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;PRE class="language-java"&gt;&lt;SPAN class="token function"&gt;IsStopRequested&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; OR &lt;SPAN class="token function"&gt;LocalTime&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;Stop After Time&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;If you set the data item to initial value 08:45:00 it should work.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The Process stops at 8:45. I guess it will log off the machine. And at 09:00 you can start the process from the control room again.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 12:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Schedule-Process-to-stop-after-23-45-hours/m-p/92961#M42637</guid>
      <dc:creator>MarcoMatuttis1</dc:creator>
      <dc:date>2019-12-06T12:29:00Z</dc:date>
    </item>
  </channel>
</rss>

