I am trying to call 2 processes as call activity from the main process. I need to trigger the compensation handlers for the first process if the 2nd process has caught an error. I am using
During each process called, we will collect the signal names for which the rollback has to be triggered.
Assume the failure occurred at Task 3 then the Error-Event will trigger the compensation of the same process and will signal the start event of the completed process synchronously as shown in figure.
The signal process has the same compensation tasks in reverse order. It can be made asynchronous as well.