<?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 Use a master process to run login agent, then work a process, then logout in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48456#M3980</link>
    <description>As part of a reporting build I'm trying to make it easier for us to run reports with a single main process. The basic concept is that the main process should

&amp;gt; Login to the target PC*&amp;nbsp;using Login Agent (calling this as a sub-process)

&amp;gt; Wait 2 mins for the login to complete and the PC&amp;nbsp;to become available again in the control room

&amp;gt; Run the reports that we want (calling these as sub-processes)

&amp;gt; Logout from the target PC&amp;nbsp;using the Login Agent

&amp;nbsp;

When testing I have found that this does not work using&amp;nbsp;a single PC&amp;nbsp;as the&amp;nbsp;target machine. The login agent starts but as the PC&amp;nbsp;logs in it becomes temporarily unavailable to the control room, stopping the process.

Is there a way to do this on a single PC, or alternatively using a Master PC&amp;nbsp;to run the top level process and target another PC to actually be logged in etc. At the moment the Login Agent we use does not have any Input parameters to tell it which PC to run on, can this be added?

* In our setup the PC's are Windows Server 2012 Virtual Machines.</description>
    <pubDate>Thu, 29 Mar 2018 15:00:00 GMT</pubDate>
    <dc:creator>ChrisCutting</dc:creator>
    <dc:date>2018-03-29T15:00:00Z</dc:date>
    <item>
      <title>Use a master process to run login agent, then work a process, then logout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48456#M3980</link>
      <description>As part of a reporting build I'm trying to make it easier for us to run reports with a single main process. The basic concept is that the main process should

&amp;gt; Login to the target PC*&amp;nbsp;using Login Agent (calling this as a sub-process)

&amp;gt; Wait 2 mins for the login to complete and the PC&amp;nbsp;to become available again in the control room

&amp;gt; Run the reports that we want (calling these as sub-processes)

&amp;gt; Logout from the target PC&amp;nbsp;using the Login Agent

&amp;nbsp;

When testing I have found that this does not work using&amp;nbsp;a single PC&amp;nbsp;as the&amp;nbsp;target machine. The login agent starts but as the PC&amp;nbsp;logs in it becomes temporarily unavailable to the control room, stopping the process.

Is there a way to do this on a single PC, or alternatively using a Master PC&amp;nbsp;to run the top level process and target another PC to actually be logged in etc. At the moment the Login Agent we use does not have any Input parameters to tell it which PC to run on, can this be added?

* In our setup the PC's are Windows Server 2012 Virtual Machines.</description>
      <pubDate>Thu, 29 Mar 2018 15:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48456#M3980</guid>
      <dc:creator>ChrisCutting</dc:creator>
      <dc:date>2018-03-29T15:00:00Z</dc:date>
    </item>
    <item>
      <title>The reason it won't work is…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48457#M3981</link>
      <description>The reason it won't work is because the resource PC that executes the Login process will close down shortly after logging into Windows.&amp;nbsp;Realistically the 'system space' resource PC can only be used to run the Login process, and to run any other process you need to start a second 'user space' resource PC after logging into Windows. Currently&amp;nbsp;there isn't&amp;nbsp;a good way of bridging this gap, other than hardcoding a delay between scheduled tasks and like you, I would like our development team to address this problem.
The master PC idea is worth a try and it's something I've been meaning to investigate. In theory PC1 could use the command line to tell PC2 to run the Logout process, wait, then tell it to run Login, wait again and then tell it to run process ABC.</description>
      <pubDate>Thu, 29 Mar 2018 17:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48457#M3981</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-03-29T17:42:00Z</dc:date>
    </item>
    <item>
      <title>Thanks John, back to…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48458#M3982</link>
      <description>Thanks John, back to Scheduler it is then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 30 Mar 2018 11:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Use-a-master-process-to-run-login-agent-then-work-a-process-then/m-p/48458#M3982</guid>
      <dc:creator>ChrisCutting</dc:creator>
      <dc:date>2018-03-30T11:09:00Z</dc:date>
    </item>
  </channel>
</rss>

