Description of problem: JBDS8 Diagram Editor does not allow to use a variable for "Called Element" in CallActivity Version-Release number of selected component (if applicable): JBDS 8.1 BPMS2 Modeler - Diagram Editor 1.1.2.Final How reproducible: Steps to Reproduce: 1.create business process and then create call activity 2.create Reusable Process (Call Activity) 3.open property then go to Call Activity tab, In the Called Element field, click pencil icon and then input something like #{processId} Actual results: OK button is grayed out if non alphabet character is included. (unable input numeric and special character, such as '#','{') Expected results: variable representation can be accepted and saved. Additional info: It fails to save business process which is imported from business central if variable is specified in called element. Error Message somehing like: ----- The file can not be saved because the current stateod the model is invalid. Please resolve the following issues before saving: The ExternalProcess ID is invalid: #(subprocessId} ----
Added support for process variable references in Called Element attribute. Also fixed validation to conform to process ID naming conventions as defined in jBPM documentation section 17.2.1.1. See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=476672
Still reproducible on: jbds-9.0.0.CR2_jbdsis-9.0.0.Alpha2 1.2.1.201509111741 bpmn2 modeler I am marking this again as assigned, because Bob mentioned in linked bugzilla, that fix should be available in 1.2.1.201509020220 bmn2 modeler.
This is fixed in build 1.2.1.201509162051 of the editor. I forgot to promote that build, so the update site still contained the previous version.
In build 1.2.1.201509162051 fix looks very good. There is feature, which checks if really exists declared variable with given name. Great job Bob. Thanks. I will mark this as verified, as soon as there will be JBDSIS 9 which will contain this fix.
Verified on jbdsis-8.0.5.CR1, BPMN2 Modeller 1.1.4.Final #{processId} can be added as callable element.