cancel
Showing results for 
Search instead for 
Did you mean: 

Compensation flow design

gastonscapusio
Champ in-the-making
Champ in-the-making
Hi,
Maybe my question is not connected directly with activiti, but here it goes…

How could I manage a compensation task that could fail?
For example, I have a compensation handler task associated to a compensation boundary event. I know that this handler task can't have an outgoing flow to other task.
After throwing the compensation event I need to call a service task to send the results (for example which task we couldn't compensate).
Could I use compensation for this case?

Thanks.

Regards,
Gaston
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Sure, that sounds possible.