<?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 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/69752#M22357</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>
    <dc:creator>AbhayVerma1</dc:creator>
    <dc:date>2019-12-19T08:40: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/69752#M22357</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/69752#M22357</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/69753#M22358</link>
      <description>I haven't tried this with the Training Order app, but there are a few ways you can try.&lt;BR /&gt;&lt;BR /&gt;First, you could use the Utility - Environment VBO action 'Wait for Process' or 'Wait for Process Window'. That could tell you whether the app is running already or not.&lt;BR /&gt;&lt;BR /&gt;Second, you could simply use an attach stage and try to attach to the app. If it fails, then you could effectively assume it is not open. It'd be a good idea to use a catch block, a recover, and a resume stage either in the object or in the process that calls it.&lt;BR /&gt;&lt;BR /&gt;Third, you could just use the Utility - Environment VBO action 'Kill Process' to kill the app's windows process whether it is open already or not. This action, in my experience with it, does not throw errors so you can have it try to kill processes that are not open without error.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Kill-the-open-Application-before-Launch-if-already-open/m-p/69753#M22358</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-12-19T11:58:00Z</dc:date>
    </item>
  </channel>
</rss>

