<?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: Scheduler process start to Fail in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84096#M35283</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="efd5deae-1300-4e82-a5de-6ddae1d943b7" data-tag-text="@vignesh Shankar" href="https://community.blueprism.com/network/profile?UserKey=efd5deae-1300-4e82-a5de-6ddae1d943b7" data-itemmentionkey="72658250-0850-4002-832f-80edd6313e6a"&gt;@vignesh Shankar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I understand that your problem is that the previous session has not started, and the new scheduler session could not be started.&lt;BR /&gt;&lt;BR /&gt;You have a complete log in the DataBase​. You will get something similar to this: (Table &lt;SPAN style="color: #339966;"&gt;[BPAScheduleLogEntry]&lt;/SPAN&gt;)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11647.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11814iAD7C4F92A4CB3100/image-size/large?v=v2&amp;amp;px=999" role="button" title="11647.png" alt="11647.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Here you have a complete query to get it easy:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;SELECT [name] AS ScheduleName&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.id&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.servername&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.instancetime&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLogEntryEnd.entrytime AS EndTime&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLogEntry.terminationreason&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM [BPASchedule] BPSche&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;INNER JOIN [BPAScheduleLog] BPLog ON BPSche.id = BPLog.scheduleid&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;INNER JOIN [BPAScheduleLogEntry] BPLogEntry ON BPLog.id = BPLogEntry.schedulelogid AND BPLogEntry.entrytype IN (2, 5, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;LEFT JOIN [BPAScheduleLogEntry] BPLogEntryEnd ON BPLog.id = BPLogEntryEnd.schedulelogid AND BPLOGEntryEnd.entrytype in (1,2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WHERE BPLog.instancetime &amp;gt; DATEADD(DAY,-1,GETDATE())&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This query gives you only the Schedule Errors. For more info, you can change a little bit the query by removing the filters with the EntryType Field.&lt;BR /&gt;&lt;BR /&gt;Here you have the relation between the number and description&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;0 = Start of schedule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 = End of schedule, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 = End of schedule, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 = Start of task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4 = End of task, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5 = End of task, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6 = Start of session&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7 = End of session, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8 = End of session, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can create another Process to check this query results&lt;BR /&gt;&lt;BR /&gt;Also, I will give you some information about Alerts in BluePrism. Really interesting if you want to create a process to check the status of the rest of the Schedules&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpProcessAlerts.htm#Processalerts" target="_blank" rel="noopener"&gt;Blue Prism Alerts&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/frmAlertConfig.htm?Highlight=schedule" target="_blank" rel="noopener"&gt;Blue Prism Alerts Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(Check your BP Version to see if you have this functionality)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you. And if this solves the problem, remember mark as the best answer!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;634726270&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 19 Feb 2022 11:19:00 GMT</pubDate>
    <dc:creator>PabloSarabia</dc:creator>
    <dc:date>2022-02-19T11:19:00Z</dc:date>
    <item>
      <title>Scheduler process start to Fail</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84095#M35282</link>
      <description>Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I have a one minor query in BP scheduler functionalities like is there any way we could get alert /Notification ? when the scheduler process fail to start as per the scheduled time period due to (Resource not in active state) .&lt;BR /&gt;&lt;BR /&gt;Instead of we have to manually go to check in scheduler --&amp;gt; report -&amp;gt;&amp;gt; Recent activity .&amp;nbsp; I would like to know alternative option if the scheduler process fail as per the time period.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vignesh.S&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vignesh Shankar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Feb 2022 09:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84095#M35282</guid>
      <dc:creator>vigneshShankar</dc:creator>
      <dc:date>2022-02-19T09:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Scheduler process start to Fail</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84096#M35283</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="efd5deae-1300-4e82-a5de-6ddae1d943b7" data-tag-text="@vignesh Shankar" href="https://community.blueprism.com/network/profile?UserKey=efd5deae-1300-4e82-a5de-6ddae1d943b7" data-itemmentionkey="72658250-0850-4002-832f-80edd6313e6a"&gt;@vignesh Shankar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I understand that your problem is that the previous session has not started, and the new scheduler session could not be started.&lt;BR /&gt;&lt;BR /&gt;You have a complete log in the DataBase​. You will get something similar to this: (Table &lt;SPAN style="color: #339966;"&gt;[BPAScheduleLogEntry]&lt;/SPAN&gt;)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11647.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/11814iAD7C4F92A4CB3100/image-size/large?v=v2&amp;amp;px=999" role="button" title="11647.png" alt="11647.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Here you have a complete query to get it easy:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;SELECT [name] AS ScheduleName&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.id&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.servername&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLog.instancetime&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLogEntryEnd.entrytime AS EndTime&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;, BPLogEntry.terminationreason&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM [BPASchedule] BPSche&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;INNER JOIN [BPAScheduleLog] BPLog ON BPSche.id = BPLog.scheduleid&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;INNER JOIN [BPAScheduleLogEntry] BPLogEntry ON BPLog.id = BPLogEntry.schedulelogid AND BPLogEntry.entrytype IN (2, 5, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;LEFT JOIN [BPAScheduleLogEntry] BPLogEntryEnd ON BPLog.id = BPLogEntryEnd.schedulelogid AND BPLOGEntryEnd.entrytype in (1,2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WHERE BPLog.instancetime &amp;gt; DATEADD(DAY,-1,GETDATE())&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This query gives you only the Schedule Errors. For more info, you can change a little bit the query by removing the filters with the EntryType Field.&lt;BR /&gt;&lt;BR /&gt;Here you have the relation between the number and description&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;0 = Start of schedule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 = End of schedule, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 = End of schedule, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 = Start of task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4 = End of task, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5 = End of task, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6 = Start of session&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7 = End of session, success&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8 = End of session, exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can create another Process to check this query results&lt;BR /&gt;&lt;BR /&gt;Also, I will give you some information about Alerts in BluePrism. Really interesting if you want to create a process to check the status of the rest of the Schedules&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpProcessAlerts.htm#Processalerts" target="_blank" rel="noopener"&gt;Blue Prism Alerts&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/frmAlertConfig.htm?Highlight=schedule" target="_blank" rel="noopener"&gt;Blue Prism Alerts Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(Check your BP Version to see if you have this functionality)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you. And if this solves the problem, remember mark as the best answer!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;634726270&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Feb 2022 11:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84096#M35283</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-02-19T11:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Scheduler process start to Fail</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84097#M35284</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;To add to the thread, it would be worth looking at this asset on DX as well that can a&lt;SPAN&gt;utomatically monitor and send notifications for misfired schedules in a Blue Prism environment&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor&amp;nbsp;" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-schedule-monitor&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Feb 2022 13:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Scheduler-process-start-to-Fail/m-p/84097#M35284</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-02-21T13:39:00Z</dc:date>
    </item>
  </channel>
</rss>

