Description of problem: Since bug 1170281 was fixed, the validator checks if the completion condition of an ad-hoc subprocess is not empty. After the validation is performed in the Designer, wrong node is highlighted as invalid. Version-Release number of selected component (if applicable): 6.1.0 ER4 Steps to Reproduce: 1. Create a process with Start -> Ad-hoc subprocess -> End. 2. Run the validation. 3. See which node is highlighted. Actual results: Start node Expected results: Ad-hoc subprocess node
Still valid. P.S. other problems like "Node has no outgoing connections" or "Node has no incoming connections" is highlight.
This issue is jBPM RuleProcessValidator (it is still checking if completion condition is empty and shows error if so) and not in Designer. The Ad-hoc subprocess for me shows up correctly (see attached video). i will update the RuleProcessValidator for the fix
Created attachment 1108673 [details] adhoc process validation
Looking at this further BZ 1170281 also updates the validator: https://github.com/droolsjbpm/jbpm/commit/f37cf2f6f16f00af6ae308bc5274352ed1a3fc51#diff-3f817daf9ffde3edd8cfc8fc3e9dd0b3R411 and given that Designer correctly highlights the ad-hoc subprocess (see attached video) I don't really see an issue here.
Created attachment 1111843 [details] adhoc subprocess validation The bug is still present in BPM Suite 6.2.0 GA