State Machine: If there is an exception, log it and move on to the next state. How do I format this in Studio?

I am trying to build an automation that has to go on different websites to get information. I want to set up an error handling structure for whenever there is an error, I want the robot to log the error, but then move on to the next website without aborting the whole process. I already started creating the workflow ( in picture) with each website connected to an error State that logs the error message. How do I code an exception to go specifically to the Error State without stopping the whole process?

image

@elisa.sacchetti

Use a try catch…Catch the error and change a variable to true and in the transitions check for the variables if they are true or false and accordingly transition to the next state

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.