cancel
Showing results for 
Search instead for 
Did you mean: 

Compensation event in activiti : super urgent

shivnarayanvarm
Champ in-the-making
Champ in-the-making
Dear Developers,

Did anybody tried Compensation event in activiti framework.
We got very urgent requirement to implement rollback functionality in. e.g how we can declare that the “book hotel” activity can be compensated using the “cancel hotel reservation” activity.

I am looking at urgent solution.
Looking at link : http://www.bpm-guide.de/2012/03/02/activiti-5-9-introduces-bpmn-compensation-and-transactions/
It seems that activiti supports compensation event, but Eclipse BPMN plugin not showing suitable boundry event for same.

Please advise, if somebody implemented this functionality earlier.

Regards, Shiv
5 REPLIES 5

jbarrez
Star Contributor
Star Contributor
It is in the engine, but not yet fully in the designer. So the xml approach works.

samaneh_zamanif
Champ in-the-making
Champ in-the-making
I was wonder if anybody could help me by using compensation element, I am beginner in activity and I want to make a process with compensation and I do not know how I can deal with modeler which dose not has compensation element. unfortunately I was not successful to make a XML file based on user guide.

martin_grofcik
Confirmed Champ
Confirmed Champ
One example is org.activiti.engine.test.bpmn.event.compensate.CompensateEventTest in activiti source.

Regards
Martin

thanks for your help.
I check in user guide and found link https://github.com/Activiti/Activiti for activity source but I could not find where it is, could you please help me?

martin_grofcik
Confirmed Champ
Confirmed Champ
Yes it is exactly there. GitHub.

regards
Martin