<?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: Kill the open Application before Launch if already open in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78741#M30730</link>
    <description>Hi Abhay,&lt;BR /&gt;&lt;BR /&gt;There are a few ways you could achieve this, but by far the simplest is to use an Action Stage which calls the 'Kill' action. This is found in the Business Object 'Utility - Environment'.&lt;BR /&gt;&lt;BR /&gt;The 'Process Name' input is the name of the Windows process name which you want to close (omitting the .exe). You can then launch a fresh session of the process.&lt;BR /&gt;&lt;BR /&gt;If there is the possibility of multiple Windows processes with the same name, and you wanted to kill a specific session, you would have to use a combination of a Read Stage and a Decision Stage to check if connected to the application, followed by a Navigate Stage to Attach (if not connected), and finally using a Navigate Stage to Terminate the application.&lt;BR /&gt;&lt;BR /&gt;If your requirement is the second option, then please review Section 6 of Foundation Training on the Blue Prism University which will take you through the steps to achieve this.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Developer Program Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Dec 2019 09:09:00 GMT</pubDate>
    <dc:creator>Carl__Carter</dc:creator>
    <dc:date>2019-12-19T09:09:00Z</dc:date>
    <item>
      <title>Kill the open Application before Launch if already open</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78740#M30729</link>
      <description>​​Hi ,&lt;BR /&gt;&lt;BR /&gt;how to identify the open desktop&amp;nbsp;application (Training Order)&amp;nbsp;and then close it before we launch a fresh?&amp;nbsp;. What Object and Action would be utilized to do so.&lt;BR /&gt;&lt;BR /&gt;TA&lt;BR /&gt;Abhay</description>
      <pubDate>Thu, 19 Dec 2019 08:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78740#M30729</guid>
      <dc:creator>AbhayVerma1</dc:creator>
      <dc:date>2019-12-19T08:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Kill the open Application before Launch if already open</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78741#M30730</link>
      <description>Hi Abhay,&lt;BR /&gt;&lt;BR /&gt;There are a few ways you could achieve this, but by far the simplest is to use an Action Stage which calls the 'Kill' action. This is found in the Business Object 'Utility - Environment'.&lt;BR /&gt;&lt;BR /&gt;The 'Process Name' input is the name of the Windows process name which you want to close (omitting the .exe). You can then launch a fresh session of the process.&lt;BR /&gt;&lt;BR /&gt;If there is the possibility of multiple Windows processes with the same name, and you wanted to kill a specific session, you would have to use a combination of a Read Stage and a Decision Stage to check if connected to the application, followed by a Navigate Stage to Attach (if not connected), and finally using a Navigate Stage to Terminate the application.&lt;BR /&gt;&lt;BR /&gt;If your requirement is the second option, then please review Section 6 of Foundation Training on the Blue Prism University which will take you through the steps to achieve this.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Developer Program Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Dec 2019 09:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78741#M30730</guid>
      <dc:creator>Carl__Carter</dc:creator>
      <dc:date>2019-12-19T09:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Kill the open Application before Launch if already open</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78742#M30731</link>
      <description>​Hi Carl,&lt;BR /&gt;&lt;BR /&gt;Thanks for your input. It worked. &lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;Abhay Verma&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Abhay Verma&lt;BR /&gt;Consultant Specialist&lt;BR /&gt;HSBC&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Dec 2019 02:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/78742#M30731</guid>
      <dc:creator>AbhayVerma</dc:creator>
      <dc:date>2019-12-26T02:47:00Z</dc:date>
    </item>
  </channel>
</rss>

