What happens when a subflow is rollbacked and the looped activity error handling is set to continue?

4
I have a looped activity where the error handling is set to continue. In the loop there is an activity (A) which calls a Microflow (in a subflow) followed by an activity (B) where a simple query is executed. What happens if the Microflow called by activity A is rollbacked? Will activity B be executed or not?
asked
3 answers
5

B will not be executed. The microflow will continue with the next iteration of the loop.

answered
3

As Johan said, B is not executed, unless the activity that was rollbacked had a custom error handler. In this case your error handling routine should perform the necessary cleanup actions.

answered
1

Probably not, activity A is rolled back so activity B will not be executed.

The 'continue' property on the loop will execute the next loop and if activity A is executed succesfully activity B will be executed that time. If not, then activity A is rolled back so activity B will not be executed

answered