AnsweredAssumed Answered

Start subprocess on signal

Question asked by jolo_ on Aug 22, 2013
Latest reply on Aug 23, 2013 by trademak
I start embedded subprocess on signal, all works like in example

What I do:
1. Launch process
2. runtimeService.signalEventReceived("launchCandidateSubprocessSignal")
3. End Process

When I start the process first time - all works fine. But if I start it the second time - it launch TWO subprocess, the third - THREE subprocess, and so on.

Bad way to resolve it:
I noticed that if to clear ACT_RU_EVENT_SUBSCR table each time, all works fine.

1. How to correctly populate signals?
2. Does it acceptable to clear the ACT_RU_EVENT_SUBSCR table on main process start