<?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: How do I use the Runtime Resource HTTP commands to delete a pending process in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90826#M40967</link>
    <description>&lt;P&gt;Hi &lt;SPAN&gt;Andrzej,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;the problem is not the commands but as I find the information needed to create the command, I try to give an example.&lt;/P&gt;
&lt;P&gt;I connect to a machine and find that there is a pending process, assume I don't know what process it is. The only information that i can retrive is the session id.&lt;BR /&gt;I have to delete it and to do that I need a token, to create the token I need to know the id of the pending process, but I have only session id not the process id.&lt;BR /&gt;How can I create a token?&lt;BR /&gt;If I don't generate the token with the correct process, the response to deleteas command is &lt;STRONG&gt;ERROR:Could not update database following deletion - Authorization error: No matching token found in database&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;bye&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Maurizio Tranquilli&lt;BR /&gt;process engineer&lt;BR /&gt;TELECOM ITALIA&lt;BR /&gt;Europe/Rome&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Apr 2023 10:04:00 GMT</pubDate>
    <dc:creator>MaurizioTranqui</dc:creator>
    <dc:date>2023-04-11T10:04:00Z</dc:date>
    <item>
      <title>How do I use the Runtime Resource HTTP commands to delete a pending process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90824#M40965</link>
      <description>&lt;P&gt;hello everyone, I read this guide &lt;A href="https://portal.blueprism.com/customer-support/support-center#/path/Installation-Platform/Configuration/Runtime-Resources-Configuration/1232324412/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-run-a-Process.htm"&gt;link&lt;/A&gt; which talks about how to start a process with a http request but I didn't understand how to cancel a pending session.&lt;BR /&gt;Example:&lt;BR /&gt;1. I connect to a resource and find it occupied by a pending process&lt;BR /&gt;2. i don't know how create the session and what process was used&lt;BR /&gt;3. I have to delete it (or start it, the problem is there anyway)&lt;BR /&gt;4. i need to create an auth token with process id (not session id)&lt;BR /&gt;Problem: how can I find the process id of the session that is pending on the machine&lt;BR /&gt;Clearly the answers have to be found with available commands like http request&lt;BR /&gt;&lt;BR /&gt;with previous versions it was possible to use start, delete, create, which didn't require a tolen... now only startas, createas, deleteas&lt;BR /&gt;&lt;BR /&gt;thank for replies&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Maurizio Tranquilli&lt;BR /&gt;process engineer&lt;BR /&gt;TELECOM ITALIA&lt;BR /&gt;Europe/Rome&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Apr 2023 08:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90824#M40965</guid>
      <dc:creator>MaurizioTranqui</dc:creator>
      <dc:date>2023-04-07T08:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How do I use the Runtime Resource HTTP commands to delete a pending process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90825#M40966</link>
      <description>&lt;P&gt;Hi Maurizio,&lt;BR /&gt;&lt;BR /&gt;You need to start with getting the auth token:&lt;/P&gt;
&lt;P&gt;You request a token with the 'getauthtoken' command. &lt;BR /&gt;See below example:&lt;/P&gt;
&lt;DIV class="bquote"&gt;
&lt;P&gt;&lt;A href="http://jr-bpresource:8181/getauthtoken%203f19ea4a-259a-4433-bb39-2d1a2de2195c%20cd8a1208-b432-4650-8b4d-78d42b52e047%20Password01" target="test_blank"&gt;http://jr-bpresource:8181/getauthtoken%203f19ea4a-259a-4433-bb39-2d1a2de2195c%20cd8a1208-b432-4650-8b4d-78d42b52e047%20Password01&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;This will give back the token:&lt;BR /&gt;&lt;IMG alt="" src="https://blueprism.nanorep.co/storage/nr1/kb/433BEFA2/433BF0A6/4973C73C/4/resourcepc-getauthtoken.png" style="width: 450px; height: 55px;" class="img-responsive" data-mce-hlimagekey="df07f5a9-0124-c9e0-698b-dacae16c9ecb" data-mce-hlselector="#ReplyInline_d5458258fb484483b84d047261e8fbec-tinyMce" /&gt;&lt;BR /&gt;Note it down (Copy/paste) somewhere as you will need it in the next command.&lt;BR /&gt;If you will want to run this in a process, then you will need a code stage that will run this command and save the output to a data item.&lt;BR /&gt;&lt;EM&gt;Helpful link: &lt;A href="https://social.msdn.microsoft.com/Forums/en-US/f3edc876-44e0-4bcc-8dd2-95bddd115849/how-to-save-cmd-output-into-a-variable?forum=csharpgeneral" target="test_blank"&gt;https://social.msdn.microsoft.com/Forums/en-US/f3edc876-44e0-4bcc-8dd2-95bddd115849/how-to-save-cmd-output-into-a-variable?forum=csharpgeneral&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Once you have that, then you can run proclist:&lt;BR /&gt;&lt;/P&gt;
&lt;DIV class="bquote"&gt;
&lt;P&gt;&lt;A href="http://jr-bpresource:8181/user%20name%20Fred&amp;amp;password%20Password01&amp;amp;proclist" target="test_blank"&gt;http://jr-bpresource:8181/user%20name%20Fred&amp;amp;password%20Password01&amp;amp;proclist&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;From the returned list, make a note of the ID listed next to your target process. You will need this, and the auth token in order to delete the session.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jr-bpresource:8181/user%20name%20Fred&amp;amp;password%20Password01&amp;amp;" target="test_blank"&gt;http://jr-bpresource:8181/user%20name%20Fred&amp;amp;password%20Password01&amp;amp;&lt;/A&gt;;&lt;STRONG&gt;deleteas&lt;/STRONG&gt;%&lt;STRONG&gt;20cd8a1208-b432-4650-8b4d-78d42b52e047_6b3efa2f-6f57-4378-816b-6cd69f45f87a&lt;/STRONG&gt;%20&lt;STRONG&gt;5342d1fe-cb0f-4b69-86cf-73d2d608e1b3&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The syntax is: 'deleteas &amp;lt;token&amp;gt; &amp;lt;sessionid&amp;gt;'. &lt;BR /&gt;The response is 'SESSION DELETED' or an error code.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrzej Silarow&lt;BR /&gt;Principal Consultant&lt;BR /&gt;Ignite IPA&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Apr 2023 21:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90825#M40966</guid>
      <dc:creator>asilarow</dc:creator>
      <dc:date>2023-04-07T21:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: How do I use the Runtime Resource HTTP commands to delete a pending process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90826#M40967</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Andrzej,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;the problem is not the commands but as I find the information needed to create the command, I try to give an example.&lt;/P&gt;
&lt;P&gt;I connect to a machine and find that there is a pending process, assume I don't know what process it is. The only information that i can retrive is the session id.&lt;BR /&gt;I have to delete it and to do that I need a token, to create the token I need to know the id of the pending process, but I have only session id not the process id.&lt;BR /&gt;How can I create a token?&lt;BR /&gt;If I don't generate the token with the correct process, the response to deleteas command is &lt;STRONG&gt;ERROR:Could not update database following deletion - Authorization error: No matching token found in database&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;bye&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Maurizio Tranquilli&lt;BR /&gt;process engineer&lt;BR /&gt;TELECOM ITALIA&lt;BR /&gt;Europe/Rome&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Apr 2023 10:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-do-I-use-the-Runtime-Resource-HTTP-commands-to-delete-a/m-p/90826#M40967</guid>
      <dc:creator>MaurizioTranqui</dc:creator>
      <dc:date>2023-04-11T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

