Hide Forgot
Adhoc subprocess does not end when completion condition has following value: <![CDATA[getActivityInstanceAttribute("numberOfActiveInstances") == 0]]> which is legal output from Guvnor BPMN designer (it does XML escaping when you save or export process definition). On the other hand, the process ends as expected when the condition is: <![CDATA[getActivityInstanceAttribute("numberOfActiveInstances") == 0]]> Reproducer is within commit https://github.com/rsynek/jbpm/commit/32fc4cda86d947e1e2c05aa82d2b7e9e36ecbcd8 in pull request https://github.com/droolsjbpm/jbpm/pull/56.
I don't think it is a legal output. Since the condition is enclosed by CDATA section, it should not escape XML special characters. To me it looks more like a designer bug.
This issue seems to already have been fixed but we are testing with an older war. What gets generated with latest build from designer master or 2.1.x branch for the issue is not present.
I see that this has 5.3.0-. However, since it's already fixed, it should have 5.3.0+. This is just a formality, everyone please approve.
Update status to ON_QA. Please verify them against ER6.