Maciej Swiderski wrote:
Since you made a signal on the subprocess, this will alter the super process as well so you need to look up the process instance once again.
processInstance = executionService.findProcessInstanceById(processInstance.getId());
When you inspect newly loaded process instance you will get correct info.
The same rule applies to getting information about subprocess state. You are checking out of date process instance. Use execution instance returned by signal method.
This is sort of a tangent, so maybe it should be posted in a separate thread, but I'm just curious why the processInstance needs to be 'refreshed' like this?
Thanks,
Rachel