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
------------------------------