cancel
Showing results for 
Search instead for 
Did you mean: 

Parent process stuck at callActivity even though sub-process has ended

jugglingcats
Champ in-the-making
Champ in-the-making
Hi, I can produce a unit test of this if necessary but will take me a little while to extract from my project and hopefully this is something simple I'm doing wrong.

I have a parent process and sub-process (as a standalone process). The sub-process is successfully called and executes to completion (process query returns null for the sub-process id).

I am expecting the parent process to proceed beyond the callActivity element at this point, following the sequenceFlow (there is only one) to the next activity. But this is not happening! Calling getActivityIds on the parent process returns the id of the callActivity element.

I am careful not to re-cycle the ProcessInstance so don't think I'm seeing a snapshot of the parent process.

Any help appreciated.
Thanks, Alfie.
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
A unit-test would be great. We have test-coverage for these scenarios, however. Does the subprocess have an end-event?

Yes, the sub-process has an end-event and query for the sub-process returns null. I will work on a unit test… but in the meantime if you can point me at the existing test case I can compare with my scenario. Thanks!

Please ignore this thread - I'm an idiot!