AnsweredAssumed Answered

Activiti 5.11 - Cannot set boundaryEvent on subprocess

Question asked by pitagoras on Jan 10, 2013
Latest reply on Jan 10, 2013 by frederikheremans1
I have the following (fragment):

     <subProcess id="fulfillServices" name="Confirm Services">
        <boundaryEvent id="boundarysignal3" name="Signal" attachedToRef="fulfillServices" cancelActivity="true">


But when deploying I get

org.activiti.engine.ActivitiException: Invalid reference in boundary event. Make
sure that the referenced activity is defined in the same scope as the boundary
event | processes/ventaoffline.bpmn20.xml | line 197 | column 111

The same exception happens with an exception boundary event

     <boundaryEvent id="boundaryerror1" name="Error" attachedToRef="fulfillServices">
        <errorEventDefinition errorRef="SERVICE_KO"></errorEventDefinition>