AnsweredAssumed Answered

Sub Process as Compensation Handler

Question asked by gokceng1 on Mar 20, 2013
Latest reply on Mar 26, 2013 by gokceng1

I noticed that org.activiti.bpmn.converter.parser.SubProcessParser.parse method does not check org.activiti.bpmn.constants.BpmnXMLConstants.ATTRIBUTE_ACTIVITY_ISFORCOMPENSATION property. So deploying subprocess which has isForCompensation="true" causes

Caused by: org.activiti.engine.ActivitiException: Errors while parsing:
compensation boundary catch must be connected to element with isForCompensation=true | _38 | line 169 | column 86
   at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute( ~[activiti-engine-5.12.jar:5.12]

at org.activiti.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler line 236. Is this a bug?

If it is, may I contribute to this, I worked hard to find it  :)