I am running process or workflows from robot tray. if robot get stop (because of “selector not found” or any other reason) running process. to check why it is stop i need to open robot tray then error message gets display.
instead of opening robot tray “want to display error message on screen once robot gets stop”
Fine
As you are running the process from robot tray it should be like the system is on and you are in front of it
In that case we can place the whole sequence inside the TRY block in TRY CATCH activity
So that if any error occurs it will come to catch block and there we can use Message Box activity and mention the input as Exception.Source.ToString to Know the source and to know the exception message keep the input as Exception.Message.ToString
so, if i get an error it will throw error message like below snap.
after click on “ok”. i used terminate workflow other wise it will execute next invoke workflow
is it possible to hide below message. it appears when opening robot tray after terminating workflow. I know its standard message but still it is possible?
Fine
is this error throwing from this workflow like due to TERMINATE WORKFLOW
and to avoid that popup kindly try with this buddy BlankProcess11.zip (10.0 KB)
Correct me if am wrong , If 1st xaml is success, need to proceed with 2nd workflow right?
Why cant you place all the workflows in a try block?.Whatever exception happens in any xaml , it will be caught in catch block and process will end there.
Is possible Use Kill Process in catch block to kill your application and move to next step