Support Portal

for ProcessRobot and WinAutomation

Start a new topic

If job failed, how do i make it automatically restart job

 If job failed, there will be alot of opened windows and programmes which are opened by the job. how do i kill everything and make the job start all over again?

1 person has this question



If the exception can be caught from within the process, then you could run a function and use the action "Terminate Process" to handle any applications opened by the process. As a reminder, you would need to specify the name of the application as seen in the Task Manager > Details window, without the extension. So if you wish to close a chrome window, the name would be "chrome".

In case the exception cannot be caught and the "Error Handling" kicks in instead, then you could use the option "Run Another Process" which would use the same logic/actions as mentioned above.

First you need to catch the exception. Then you run process to kill all the program/windows that opened.
Login or Signup to post a comment