@chenderson i dont understand how to use the try catch activity.
i currently have a for-each loop that is looping through all the dates in a collection (dynamic list). In the body of the for-loop i have an if/else activity. the if/else checks each date’s status and compares it to the current status. if it doesnt match, it should be marked as an exception and if it does match, then it will proceed to the next date and check. How would i put this into the try-catch? when it is exception out, i would like it to follow an exception workflow i have created. I dont want it to terminate the process completely like when using the “terminate workflow” activity. It should not continue to loop as soon as one of the date’s current status doesnt match the current status, and then proceed to follow the exception workflow.
Would i put the ‘Then’ sequence in the the Try section, and put a Break activity in the Catch section, and the Exception workflow in the Finally section? What about the ‘Else sequence’? does that need to go into the try catch?
When i tried the above approach, the break doesnt seem to do anything. It shows the message i put “mark as exception” (in my catch block), but then it continues to the next date, even though it shouldnt.