I created diagram which used boundaryEvent to signalize that some action was done.
<boundaryEvent id="boundarysignal1" name="cancel" attachedToRef="subprocess3" cancelActivity="true">
Everything is working ok, but in one moment (I didn't catch it yet), the process loses binding to the event so I can't use flow which related to boundaryEvent at all. Found out that during runtime Activiti creates records into ACT_RU_EVENT_SUBSCR table which holds event subscriptions to appropriate record in ACT_HI_PROCINST table which stores the process instance data. In the same time I see that process is not closed and is alive, the appropriate END_FIELD column is null.
What can be the reason that boundaryEvent is detached from Process?
ACT_RU_EVENT_SUBSCR table(Working example):
ACT_HI_PROCINST table(Working example):
ACT_RU_EVENT_SUBSCR table(NOT Working example, table is empty):
ACT_HI_PROCINST table(NOT Working example):
Process definition di#agram: