<?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: Login BP VM &amp; run a process in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Login-BP-VM-run-a-process/m-p/91265#M2506</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="0f987505-74e3-49b4-9555-f5d13a027d9e" data-tag-text="@Jasmeet Singh" href="https://community.blueprism.com/network/profile?UserKey=0f987505-74e3-49b4-9555-f5d13a027d9e" data-itemmentionkey="d67060ca-0746-4b48-bd9a-24064f1d5652"&gt;@Jasmeet Singh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;​Fortunately, Blue Prism has the Blue Prism Login Agent. This commponent give you the possibility to login into your Virtual Machine. Here you have the official documentation for this: &lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/login-agent/login-agent.htm" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/login-agent/login-agent.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All of the password in Blue Prism are saved in the Credential Manager. This component encrypt the password and stores it securely. Here you have the article of this component: &lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpCredentials.htm" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/helpCredentials.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then... when you talk about execute a process through a command, you mean to execute a command in the CMD or Powershell? If this is it, you can use the action "Start Process" from the VBO Utility - Environment (Here you have the DX Asset: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;And finally, for logout, you can use again the "Start Process" action and call the "shutdown" command with the argument "/l".&lt;BR /&gt;&lt;BR /&gt;So, finally, you need to create a full process that:&lt;BR /&gt;&lt;BR /&gt;1.- Login in the VM by using the Login Agent&lt;BR /&gt;2.- Execute your process with the Start Process action&lt;BR /&gt;3.- And logout using the the command "shutdown /l"&lt;BR /&gt;&lt;BR /&gt;This process should be executed from the Blue Prism scheduler this will allow you to launch automatically&lt;BR /&gt;&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;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;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 20 Aug 2022 20:18:00 GMT</pubDate>
    <dc:creator>PabloSarabia</dc:creator>
    <dc:date>2022-08-20T20:18:00Z</dc:date>
    <item>
      <title>Login BP VM &amp; run a process</title>
      <link>https://community.blueprism.com/t5/University-Forum/Login-BP-VM-run-a-process/m-p/91264#M2505</link>
      <description>I'm looking for a solution to login BP VM through BP core code and execute a BP process through a command or query.&lt;BR /&gt;&lt;BR /&gt;In detail, this logic needs to implement on a BP code level&lt;BR /&gt;1. Login BP VM through windows cred (where are creds stored for BP login?).&lt;BR /&gt;2. once it login then execute a BP process through a command with specific parameters.&lt;BR /&gt;3. Once a process is done then needs to logout from the VM.&lt;BR /&gt;&lt;BR /&gt;One more thing I need to adhere about is if a resource or machine is already occupied or busy with other process then a existing new process should wait until it's free up a machine.&lt;BR /&gt;&lt;BR /&gt;Answers for this question will extremely appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jasmeet Singh&lt;BR /&gt;------------------------------</description>
      <pubDate>Sat, 20 Aug 2022 08:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Login-BP-VM-run-a-process/m-p/91264#M2505</guid>
      <dc:creator>JasmeetSingh</dc:creator>
      <dc:date>2022-08-20T08:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Login BP VM &amp; run a process</title>
      <link>https://community.blueprism.com/t5/University-Forum/Login-BP-VM-run-a-process/m-p/91265#M2506</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="0f987505-74e3-49b4-9555-f5d13a027d9e" data-tag-text="@Jasmeet Singh" href="https://community.blueprism.com/network/profile?UserKey=0f987505-74e3-49b4-9555-f5d13a027d9e" data-itemmentionkey="d67060ca-0746-4b48-bd9a-24064f1d5652"&gt;@Jasmeet Singh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;​Fortunately, Blue Prism has the Blue Prism Login Agent. This commponent give you the possibility to login into your Virtual Machine. Here you have the official documentation for this: &lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/login-agent/login-agent.htm" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/login-agent/login-agent.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All of the password in Blue Prism are saved in the Credential Manager. This component encrypt the password and stores it securely. Here you have the article of this component: &lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpCredentials.htm" target="_blank" rel="noopener"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/helpCredentials.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then... when you talk about execute a process through a command, you mean to execute a command in the CMD or Powershell? If this is it, you can use the action "Start Process" from the VBO Utility - Environment (Here you have the DX Asset: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment" target="_blank" rel="noopener"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;And finally, for logout, you can use again the "Start Process" action and call the "shutdown" command with the argument "/l".&lt;BR /&gt;&lt;BR /&gt;So, finally, you need to create a full process that:&lt;BR /&gt;&lt;BR /&gt;1.- Login in the VM by using the Login Agent&lt;BR /&gt;2.- Execute your process with the Start Process action&lt;BR /&gt;3.- And logout using the the command "shutdown /l"&lt;BR /&gt;&lt;BR /&gt;This process should be executed from the Blue Prism scheduler this will allow you to launch automatically&lt;BR /&gt;&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;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;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2022 20:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Login-BP-VM-run-a-process/m-p/91265#M2506</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-08-20T20:18:00Z</dc:date>
    </item>
  </channel>
</rss>

