<?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 Easy way to monitoring your process in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66504#M19109</link>
    <description>&lt;A data-tag-text="BPTechTips" data-sign="#" class="user-content-hashtag" href="https://community.blueprism.com/search?s=tags%3A%22BPTechTips%22&amp;amp;executesearch=true" data-tag-key="96c6fa99-5a9a-4919-98a6-d9ce55afe99f"&gt;#BPTechTips&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;#TipOfTheDay&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;​Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I want to open a dicussion about unattended monitoring of processes.&lt;BR /&gt;&lt;BR /&gt;Here I post you a simple query for the Blue Prism Database to see the status of the workers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SELECT sessionnumber&lt;BR /&gt;, PROCESS.name&lt;BR /&gt;, RESOUR.name&lt;BR /&gt;, startdatetime&lt;BR /&gt;, enddatetime&lt;BR /&gt;, SES.lastupdated&lt;BR /&gt;, SES.laststage&lt;BR /&gt;, CASE WHEN SES.statusid = 1 AND DATEDIFF(minute,SES.lastupdated,getdate()) &amp;gt;= 5 THEN 'Warning' ELSE STAT.description END AS [status]&lt;BR /&gt;FROM BPASession SES&lt;BR /&gt;INNER JOIN BPAResource RESOUR ON SES.runningresourceid = RESOUR.resourceid&lt;BR /&gt;INNER JOIN BPAStatus STAT ON SES.statusid = STAT.statusid&lt;BR /&gt;INNER JOIN BPAProcess PROCESS ON SES.processid = PROCESS.processid&lt;BR /&gt;&lt;BR /&gt;WHERE sessionnumber IN (SELECT MAX(sessionnumber) FROM BPASession GROUP BY runningresourceid)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I create another program to check every 5 minutes about the status. If the "watcher" see any "stoped" or other issue, it send me an email.&lt;BR /&gt;&lt;BR /&gt;What do you think about this? I think it's awesome to have a robot watching the robot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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;Programmer&lt;BR /&gt;Altamira AM&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Apr 2021 13:16:00 GMT</pubDate>
    <dc:creator>PabloSarabia</dc:creator>
    <dc:date>2021-04-13T13:16:00Z</dc:date>
    <item>
      <title>Easy way to monitoring your process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66504#M19109</link>
      <description>&lt;A data-tag-text="BPTechTips" data-sign="#" class="user-content-hashtag" href="https://community.blueprism.com/search?s=tags%3A%22BPTechTips%22&amp;amp;executesearch=true" data-tag-key="96c6fa99-5a9a-4919-98a6-d9ce55afe99f"&gt;#BPTechTips&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;#TipOfTheDay&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;​Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I want to open a dicussion about unattended monitoring of processes.&lt;BR /&gt;&lt;BR /&gt;Here I post you a simple query for the Blue Prism Database to see the status of the workers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SELECT sessionnumber&lt;BR /&gt;, PROCESS.name&lt;BR /&gt;, RESOUR.name&lt;BR /&gt;, startdatetime&lt;BR /&gt;, enddatetime&lt;BR /&gt;, SES.lastupdated&lt;BR /&gt;, SES.laststage&lt;BR /&gt;, CASE WHEN SES.statusid = 1 AND DATEDIFF(minute,SES.lastupdated,getdate()) &amp;gt;= 5 THEN 'Warning' ELSE STAT.description END AS [status]&lt;BR /&gt;FROM BPASession SES&lt;BR /&gt;INNER JOIN BPAResource RESOUR ON SES.runningresourceid = RESOUR.resourceid&lt;BR /&gt;INNER JOIN BPAStatus STAT ON SES.statusid = STAT.statusid&lt;BR /&gt;INNER JOIN BPAProcess PROCESS ON SES.processid = PROCESS.processid&lt;BR /&gt;&lt;BR /&gt;WHERE sessionnumber IN (SELECT MAX(sessionnumber) FROM BPASession GROUP BY runningresourceid)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I create another program to check every 5 minutes about the status. If the "watcher" see any "stoped" or other issue, it send me an email.&lt;BR /&gt;&lt;BR /&gt;What do you think about this? I think it's awesome to have a robot watching the robot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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;Programmer&lt;BR /&gt;Altamira AM&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66504#M19109</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2021-04-13T13:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Easy way to monitoring your process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66505#M19110</link>
      <description>Hi Pablo,&lt;BR /&gt;&lt;BR /&gt;thanks for sharing. We use a similar approach in our self written scheduler. Here we concat Blue Prism processes to a job. Like 'Login' - 'Load Work Queue' - 'Process Work Queue' - 'Write Report' - 'Logout'.&lt;BR /&gt;Our scheduler uses this piece of code to monitor the running process and start the next step when the actual step last finish.&lt;BR /&gt;Our SQL runs every 20 seconds. But we do not join any other tables,&amp;nbsp;&lt;BR /&gt;Another tip: Execute the sql 'WITH NOLOCK' to prevent database locks.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tobias Arnold&lt;BR /&gt;RPA Developer&lt;BR /&gt;ITERGO GmbH&lt;BR /&gt;Europe/Duesseldorf&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66505#M19110</guid>
      <dc:creator>TobiasArnold</dc:creator>
      <dc:date>2021-04-13T13:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Easy way to monitoring your process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66506#M19111</link>
      <description>Hi Pablo,&lt;BR /&gt;&lt;BR /&gt;how did you get the below part done&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create another program to check every 5 minutes about the status. If the "watcher" see any "stoped" or other issue, it send me an email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ramya Ranganathan&lt;BR /&gt;senior system engineer&lt;BR /&gt;shell india&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Easy-way-to-monitoring-your-process/m-p/66506#M19111</guid>
      <dc:creator>ramyaranganathan</dc:creator>
      <dc:date>2021-12-02T10:38:00Z</dc:date>
    </item>
  </channel>
</rss>

