How can I model compensation/rollback?

uzhivach: Hello, is possible to go back to Exclusive Gateway “Go to start 1” or. “Go to start 2" happened and how?

korthout: Not with an interrupting event sub process. You can do this by wrapping the part that can be interrupted in an embedded sub process and connect it with the interrupting error boundary events that you currently have connected to your service tasks. From those boundary events you can flow back to the entry point of the sub process

korthout: Something like this:

korthout: I’m not sure what the tasks after the boundary events are, but I assume some kind of compensation/rollback actions, right?

uzhivach: yes, thank you

Note: This post was generated by Slack Archivist from a conversation in the Zeebe Slack, a source of valuable discussions on Zeebe (get an invite). Someone in the Slack thought this was worth sharing!

If this post answered a question for you, hit the Like button - we use that to assess which posts to put into docs.