Stop Process through Notification window
A Process can stop another Process that is already running, using the code of the attached Process.
We just need to know the name of the Process that we want to kill.
In this way, we can implement execution priority to our Processes.
2 people like this idea
Is there any way where I can stop any previous process running, thru the process above without knowing the previous process name ? Or you have any suggestion?
Yes, you can do that, but you would need to use a different control than the one provided in the above example.
Please follow the steps below:
1. Run any random process from within the WA Console.
2. Open the attached Process ("Stop Process through Notification window") with the Process Designer and click on Add Control in order to add the control of the "Stop Process" link at the bottom right corner of the screen.
3. Modify the "If Window Contains" and the "Click Element on Window" actions to work with the previously captured controls.
Whenever you run your Process, any previous process that is running will stop.