<?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 process does not detach… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70376#M22981</link>
    <description>Kill process does not detach your VBO from IE, so you better first try killing it with Terminate action, then kill process.
In fact, I didn't ever need to use kill process for IE so far - we make sure to clean up lauched browsers on process exit, so problems can only really happen if you attach to some running app.</description>
    <pubDate>Tue, 02 Oct 2018 14:25:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-10-02T14:25:00Z</dc:date>
    <item>
      <title>Utility Environment - Kill Process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70375#M22980</link>
      <description>Hello team

I have an object launching IE to read data from it, the current workflow is&amp;nbsp;

Kill Process -&amp;gt; Launch IE -&amp;gt; Read data -&amp;gt; Kill Process

if it fails to read the data it has a recover stage that will retry 3 times by closing IE using the Kill Process Action and launching IE one more time, the issue is that the bot encountered the following exception

"ERROR: Internal : Failed to perform step 1 in Navigate Stage 'Open IE' on page 'Get Uploader Latest Version' - Application already launched"

I was able to manually replicate the exception message in the dev server, so it looks like the Kill Process action in the Prod servers' Environment Utility didn't work, have you had any similar issue? any thoughts or recommendations on how to handle this kind of situation?

Thanks in advance</description>
      <pubDate>Tue, 02 Oct 2018 03:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70375#M22980</guid>
      <dc:creator>RicardoCabrera</dc:creator>
      <dc:date>2018-10-02T03:15:00Z</dc:date>
    </item>
    <item>
      <title>Kill process does not detach…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70376#M22981</link>
      <description>Kill process does not detach your VBO from IE, so you better first try killing it with Terminate action, then kill process.
In fact, I didn't ever need to use kill process for IE so far - we make sure to clean up lauched browsers on process exit, so problems can only really happen if you attach to some running app.</description>
      <pubDate>Tue, 02 Oct 2018 14:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70376#M22981</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-10-02T14:25:00Z</dc:date>
    </item>
    <item>
      <title>What's probably happening is…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70377#M22982</link>
      <description>What's probably happening is you are trying to relaunch too soon. Applications don't close instantly, and in some cases you have to wait for the application do close completely, even if the UI is no longer visible. A quick fix would be to add a fixed wait of about 2 seconds between the end of one session ans the launch of the next. A more formal approach would be to turn in a loop waiting until IsConnected returns False.
Also bear in mind that many apps don't like to be terminated and require that you close them down like a user would.</description>
      <pubDate>Tue, 02 Oct 2018 20:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Utility-Environment-Kill-Process/m-p/70377#M22982</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-10-02T20:15:00Z</dc:date>
    </item>
  </channel>
</rss>

