<?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: Resource PC Commands - outputs in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61836#M15031</link>
    <description>This format worked for me:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://{Resource" target="test_blank"&gt;http://{Resource&lt;/A&gt; IP}:8181/user name {USERNAME} password {PASSWORD}&amp;amp;outputs {SESSION ID}&lt;BR /&gt;&lt;BR /&gt;It looks like you have the '&amp;amp;' in the wrong spot - meaning there should &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; be an ampersand before &lt;STRONG&gt;password&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Jul 2022 16:30:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-07-27T16:30:00Z</dc:date>
    <item>
      <title>Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61833#M15028</link>
      <description>&lt;P&gt;Hi guys,&lt;BR /&gt;&lt;BR /&gt;does anyone of you was using the &lt;STRONG&gt;outputs&lt;/STRONG&gt; command from Ressource PC Commands?&lt;BR /&gt;My goal is to get termination reason for a session without accessing database.&lt;BR /&gt;&lt;BR /&gt;From the command description it should be doable, but when I execute it on various session ids, I'm receiving the response: &lt;EM&gt;SESSION NOT FOUND&lt;/EM&gt;. The session id can be found in database though...&lt;BR /&gt;The only case, when it worked is when I create and run a session using PC Commands, then output for the session is found.&lt;BR /&gt;&lt;BR /&gt;Is there any limitation for &lt;STRONG&gt;outputs&lt;/STRONG&gt;? For example: it's only applicable for sessions created via Resource Commands? Or am I missing something?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Ł&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Łukasz Kiciak&lt;BR /&gt;RPA Developer&lt;BR /&gt;UI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2022 08:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61833#M15028</guid>
      <dc:creator>l.kiciak</dc:creator>
      <dc:date>2022-07-20T08:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61834#M15029</link>
      <description>Hello Łukasz&lt;BR /&gt;&lt;BR /&gt;Thank you for contacting the Blue Prism community.&lt;BR /&gt;&lt;BR /&gt;Can you please provide a sample command you use and also the snapshot?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hossein Azimi&lt;BR /&gt;Customer Support Engineer, APAC&lt;BR /&gt;Blue Prism&lt;BR /&gt;Sydney NSW&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jul 2022 22:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61834#M15029</guid>
      <dc:creator>hossein.azimi</dc:creator>
      <dc:date>2022-07-26T22:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61835#M15030</link>
      <description>&lt;P&gt;Hi Hossein,&lt;BR /&gt;&lt;BR /&gt;sure!&lt;BR /&gt;The request looks as follows:&lt;BR /&gt;&lt;A href="http://{myResource}:8181/user" target="test_blank"&gt;http://{myResource}:8181/user&lt;/A&gt; name {myUserName}&amp;amp;password {myPassword}&amp;amp;outputs {mySessionID}&lt;BR /&gt;&lt;BR /&gt;Variables in curly braces are replaced with valid and existing values.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Ł&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Łukasz Kiciak&lt;BR /&gt;RPA Developer&lt;BR /&gt;UI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jul 2022 12:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61835#M15030</guid>
      <dc:creator>l.kiciak</dc:creator>
      <dc:date>2022-07-27T12:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61836#M15031</link>
      <description>This format worked for me:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://{Resource" target="test_blank"&gt;http://{Resource&lt;/A&gt; IP}:8181/user name {USERNAME} password {PASSWORD}&amp;amp;outputs {SESSION ID}&lt;BR /&gt;&lt;BR /&gt;It looks like you have the '&amp;amp;' in the wrong spot - meaning there should &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; be an ampersand before &lt;STRONG&gt;password&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jul 2022 16:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61836#M15031</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-27T16:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61837#M15032</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;thanks for your feedback!&lt;BR /&gt;Unfortunately it's not the case for me. Without ampersand before password I cannot authenticate the user.&lt;BR /&gt;Full response for: &lt;A href="http://%7Bmyresource%7D:8181/user" target="_blank" rel="noopener"&gt;http://{myResource}:8181/user&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;name {myUserName}&amp;amp;password {myPassword}&amp;amp;outputs {mySessionID}&lt;/SPAN&gt;&lt;BR /&gt;
&lt;PRE&gt;USER SET
USER AUTHENTICATED
SESSION NOT FOUND&lt;/PRE&gt;
Full response for: &lt;A href="http://%7Bresource/" target="_blank" rel="noopener"&gt;http://{Resource&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; IP}:8181/user name {USERNAME} password {PASSWORD}&amp;amp;outputs {SESSION ID}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;PRE&gt;USER SET
USER NOT SET&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Currently I'm using BP version 6.6.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Ł&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Łukasz Kiciak&lt;BR /&gt;RPA Developer&lt;BR /&gt;UI&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2022 11:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61837#M15032</guid>
      <dc:creator>l.kiciak</dc:creator>
      <dc:date>2022-07-28T11:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Resource PC Commands - outputs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61838#M15033</link>
      <description>That's interesting. If I run the command w/o the ampersand before password I receive:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;USER SET
OUTPUTS:&amp;lt;outputs&amp;gt;&amp;lt;output name="Final Loop Count" type="number" value="3" /&amp;gt;&amp;lt;/outputs&amp;gt;​&lt;/CODE&gt;&lt;/PRE&gt;
​&lt;BR /&gt;If I add the ampersand before password then I get this output:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;USER SET
USER AUTHENTICATED
OUTPUTS:&amp;lt;outputs&amp;gt;&amp;lt;output name="Final Loop Count" type="number" value="3" /&amp;gt;&amp;lt;/outputs&amp;gt;​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;Have you tried breaking this up into two separate requests? In other words, send the &lt;EM&gt;&lt;STRONG&gt;user name password&lt;/STRONG&gt;&lt;/EM&gt; combination in the first request which should render the &lt;STRONG&gt;USER SET&lt;/STRONG&gt; and &lt;STRONG&gt;USER AUTHENTICATED&lt;/STRONG&gt; responses. Then immediately send the &lt;EM&gt;&lt;STRONG&gt;outputs {session id}&lt;/STRONG&gt;&lt;/EM&gt; request.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Resource-PC-Commands-outputs/m-p/61838#M15033</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-28T13:14:00Z</dc:date>
    </item>
  </channel>
</rss>

