I’m using foreach loop in Try catch activity in that if any error occurs during the flow , the catch activty gets the error and it stopped the next iteration but after the error throws to the catch , I want to go back to the next iteration of for loop …
In the catches part of the try catch add a Continue activity ( https://docs.uipath.com/activities/docs/continue ).
If trying to add the Continue activity in Catch block , it gets an error says Continue activity is used only in foreach loop…But in my case try catch only contains the foreach…
The for each itself might throw an error? Or the processing of each item? If it’s the latter, then i think the try catch should be inside the for each (then you’ll have access to each item, and manage the error it may throw).
After using try catch in foreach it solves…Thank you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.