I can see two thing.
- You have a embedded subprocess (instead of reusable subprocess), for this reason you get only one process instance.
- In the subprocess you have a parallel gateway and the process instance is waiting for completed the two branch.
- If you want complete your process you must throw two signal events (waitsig1 and waitsig2), i have checked and it work fine.
- If your business process wait only a signal event, use "inclusive gateway" instead of "parallel gateway" .
I hope this help you.
thanks for your reply.
If I'm not wrong the "Terminate End Event" element should terminates the whole subprocess, so all the parallel activities.
What happens instead is that the "Terminate End Event" behave just like the "End Event" element, that is one flow of execution terminates and the other one remains active.
Vittorio, that is indeed bug in handling terminate end events for subprocesses. Could you please file a jira issue so we can quickly fix this?
Vittorio, you're right.
Thanks for the correction.