Kill the open Application before Launch if already open
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-12-19 08:40 AM
Hi ,
how to identify the open desktop application (Training Order) and then close it before we launch a fresh? . What Object and Action would be utilized to do so.
TA
Abhay
how to identify the open desktop application (Training Order) and then close it before we launch a fresh? . What Object and Action would be utilized to do so.
TA
Abhay
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-12-19 09:09 AM
Hi Abhay,
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'.
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.
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.
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.
Hope this helps.
------------------------------
Carl Carter
Developer Program Manager
Blue Prism
Europe/London
------------------------------
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'.
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.
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.
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.
Hope this helps.
------------------------------
Carl Carter
Developer Program Manager
Blue Prism
Europe/London
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-12-19 02:47 AM
Hi Carl,
Thanks for your input. It worked.
Many Thanks,
Abhay Verma
------------------------------
Abhay Verma
Consultant Specialist
HSBC
------------------------------
Thanks for your input. It worked.
Many Thanks,
Abhay Verma
------------------------------
Abhay Verma
Consultant Specialist
HSBC
------------------------------
