<?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: Read the state of a Resource PC in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53725#M8362</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1854"&gt;@EmersonF&lt;/a&gt; and &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for the answers. &lt;BR /&gt;&lt;BR /&gt;To be honest, I did try the CMD options, which I found on the BP website.&lt;BR /&gt;&lt;BR /&gt;The thing is, everything I found (e.g. the /resourcestatus one Emerson suggested) all return information on the sessions running on a resource PC and not the resource state.&lt;BR /&gt;&lt;BR /&gt;What I really need is to know when a machine is not in its proper state. For example, sometimes, 1 of the machines goes into "Missing (X seconds)..." and I don't want to go and check every time. I want to make a simple process that checks if the machine is Idle, Logged Out or Missing and run a "shutdown /r /m",&lt;BR /&gt;&lt;BR /&gt;I couldn't find neither a VBO, nor a Command Line function to get that.&lt;BR /&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdravko Botushanov&lt;BR /&gt;Senior RPA Consultant&lt;BR /&gt;Human+&lt;BR /&gt;Europe/Sofia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Jun 2021 11:20:00 GMT</pubDate>
    <dc:creator>ZdravkoBotushan</dc:creator>
    <dc:date>2021-06-07T11:20:00Z</dc:date>
    <item>
      <title>Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53719#M8356</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I noticed that the scheduler I've set up doesn't always log in the machines. How can I read the State of a Resource PC &lt;SPAN style="text-decoration: underline;"&gt;programmatically&lt;/SPAN&gt;, so I know if the machine went into "Idle" or is still in "Logged Out" and can automate that.&lt;BR /&gt;&lt;BR /&gt;E.g. Read state of machine 01. I get "Logged Out". I have code that runs the log in process again, if the state is logged out.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16812.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16966iBC9098D63EA535A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="16812.png" alt="16812.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdravko Botushanov&lt;BR /&gt;Senior RPA Consultant&lt;BR /&gt;Human+&lt;BR /&gt;Europe/Sofia&lt;BR /&gt;------------------------------</description>
      <pubDate>Fri, 04 Jun 2021 12:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53719#M8356</guid>
      <dc:creator>ZdravkoBotushan</dc:creator>
      <dc:date>2021-06-04T12:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53720#M8357</link>
      <description>You might be looking at this in the BPAResources table, it will return the name and current status of the machine!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 13:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53720#M8357</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-04T13:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53721#M8358</link>
      <description>I want to read the state of the machine programmatically, not manually.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdravko Botushanov&lt;BR /&gt;Senior RPA Consultant&lt;BR /&gt;Human+&lt;BR /&gt;Europe/Sofia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 13:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53721#M8358</guid>
      <dc:creator>ZdravkoBotushan</dc:creator>
      <dc:date>2021-06-04T13:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53722#M8359</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/132"&gt;@ZdravkoBotushan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1854"&gt;@EmersonF&lt;/a&gt;'s response is a programmatic example. There is no direct API exposed by Blue Prism for what you're looking for. You're options amount to:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Query the database, as Emerson alluded to.&lt;/LI&gt;
&lt;LI&gt;Use the HTTP interface of each individual runtime resource to get it's status. You can find more about the HTTP interface in the BP help files.&lt;/LI&gt;
&lt;LI&gt;Use the AutomateC CLI (you could call it via a VBO code stage).&lt;/LI&gt;
&lt;/UL&gt;
Cheers,&lt;BR /&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53722#M8359</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-06-04T14:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53723#M8360</link>
      <description>As @Eric Wilson commented there are some ways to do this, I believe the simplest is you consulting the bank directly, but you can create a process that does this reading and saves a txt with the information and would schedule that process.&lt;BR /&gt;&lt;BR /&gt;You could expose this process described above and get the result via SOAP Request, if any...&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53723#M8360</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-04T14:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53724#M8361</link>
      <description>&lt;SPAN style="font-size: 12pt;"&gt;You can also be using the CLI, look for "/resourcestatus" in &lt;A href="https://digitalexchange.blueprism.com/site/global/developer/blue_prism_cli_journey/index.gsp" target="_blank" rel="noopener"&gt;Blue Prism CLI Journey - blueprism® DX&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Emerson Ferreira&lt;BR /&gt;Sr Business Analyst&lt;BR /&gt;Avanade Brasil&lt;BR /&gt;If my answer helped you? Mark as useful!&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53724#M8361</guid>
      <dc:creator>EmersonF</dc:creator>
      <dc:date>2021-06-04T14:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53725#M8362</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1854"&gt;@EmersonF&lt;/a&gt; and &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for the answers. &lt;BR /&gt;&lt;BR /&gt;To be honest, I did try the CMD options, which I found on the BP website.&lt;BR /&gt;&lt;BR /&gt;The thing is, everything I found (e.g. the /resourcestatus one Emerson suggested) all return information on the sessions running on a resource PC and not the resource state.&lt;BR /&gt;&lt;BR /&gt;What I really need is to know when a machine is not in its proper state. For example, sometimes, 1 of the machines goes into "Missing (X seconds)..." and I don't want to go and check every time. I want to make a simple process that checks if the machine is Idle, Logged Out or Missing and run a "shutdown /r /m",&lt;BR /&gt;&lt;BR /&gt;I couldn't find neither a VBO, nor a Command Line function to get that.&lt;BR /&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdravko Botushanov&lt;BR /&gt;Senior RPA Consultant&lt;BR /&gt;Human+&lt;BR /&gt;Europe/Sofia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 11:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53725#M8362</guid>
      <dc:creator>ZdravkoBotushan</dc:creator>
      <dc:date>2021-06-07T11:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53726#M8363</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/132"&gt;@ZdravkoBotushan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I don't believe there's any API or interface that will give you information about the logged-in state​ of a resource PC. You can get information about whether a resource PC is available to run a process, what specific state (ex pending, running, completed) sessions are on that resource, what types of processes it's available run, and whether it's online.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All of those options are available via the resource PC commands that can be executed via the HTTP interface on each runtime. You can find more about that interface at the following 2 links:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpHTTPInterface.htm?Highlight=HTTP%20interface" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/helpHTTPInterface.htm?Highlight=HTTP%20interface&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpResourcePCCommands.htm" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/helpResourcePCCommands.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Beyond that, there's a tool on the DX for monitoring resource PC's and sending email or text notifications if they become unresponsive.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-resource-pc-monitor" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-resource-pc-monitor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 12:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53726#M8363</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-06-07T12:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53727#M8364</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/132"&gt;@ZdravkoBotushan&lt;/a&gt; I guess you should try the database query approach&amp;nbsp; within a process and which keeps returning you current state.&lt;BR /&gt;&lt;BR /&gt;Only additional point is that you should try this with no lock hint as executing select query back to back may impact the prod DB. ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tushar Varshney&lt;BR /&gt;Senior Consultant - Intelligent Automation&lt;BR /&gt;Ernst &amp;amp; Young India&lt;BR /&gt;+91-9880188366&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53727#M8364</guid>
      <dc:creator>TusharVarshney</dc:creator>
      <dc:date>2021-06-07T14:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53728#M8365</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/132"&gt;@ZdravkoBotushan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;FWIW - You could try using the WMI interfaces via C# or VB.NET to determine if someone is logged in on a resource PC. Whatever process runs this check would probably need elevated permissions, but the combination of that and the other options listed above should give you most of what you're looking for I think.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53728#M8365</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-06-07T14:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53729#M8366</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We did something like that for our "Launcher Robot". It tries to run a process on a resource, but if the resource does not "answer" correctly it check the error and send an email letting us know.&lt;BR /&gt;&lt;BR /&gt;We use the "VBO AutomateC" to run the process and then check for the message that it throws. Then you can check the "reason" and decide what to do with that. There are two states that are easy to recognise, "BUSY"&amp;nbsp; or "Connection time out". The second one i think is what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Let me know if this is what you are looking for, and i wil give you more details.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Conrado Meli&lt;BR /&gt;Managing Partner&lt;BR /&gt;Primus IA&lt;BR /&gt;America/Santiago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 15:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53729#M8366</guid>
      <dc:creator>ConradoMeli</dc:creator>
      <dc:date>2021-06-07T15:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53730#M8367</link>
      <description>Dear Eric, could you please specify what events Blue Prism Resource PC Monitor monitors. If the specific resource is offline ?&lt;BR /&gt;&lt;BR /&gt;Then I also did not understand from the user guide of this tool where it installs. On one of the resources of a given environment ? &lt;BR /&gt;&lt;BR /&gt;Thank you for the reply.&lt;BR /&gt;&lt;BR /&gt;Jiri&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jiri Hlucil&lt;BR /&gt;Blue Prism Developer&lt;BR /&gt;Sberbank CZ, a. s.&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2021 07:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53730#M8367</guid>
      <dc:creator>hlucil.jiri</dc:creator>
      <dc:date>2021-06-08T07:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53731#M8368</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/933"&gt;@hlucil.jiri&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Presently, the runtime monitor service is only checking to see if the configured resource PC are reachable/responsive on the network. In other words it's performing a ping of each configured runtime resource using the HTTP interface.&lt;BR /&gt;&lt;BR /&gt;The service only needs to be installed on a single machine somewhere in your network and then configured with the IP/hostname of each runtime resource you want it to monitor.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2021 12:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53731#M8368</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-06-08T12:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Read the state of a Resource PC</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53732#M8369</link>
      <description>Hey Conrado, I am looking for same solution. could you please share details ?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mahaboobsubani Shaik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2022 23:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Read-the-state-of-a-Resource-PC/m-p/53732#M8369</guid>
      <dc:creator>smssubhani</dc:creator>
      <dc:date>2022-12-07T23:30:00Z</dc:date>
    </item>
  </channel>
</rss>

