|Modeler / jBPM Problem [message #913039]
||Fri, 14 September 2012 12:43
| Andre Pietsch
Registered: September 2012
I work with jBPM v5.3 to run BPMN 2.0 processes that have been created with the new BPMN2 Editor plugin for Eclipse (BPMN2 Editor | 0.0.1.201209101728).
Now I have a problem using global parameters in processes with that setup. The editor creates a line that looks like this
<tns:global tns:identifier="MyGlobal" tns:type="java.lang.String"/>
The jBPM KnowledgeBuilder with which I have to load the process-file to run the process gives me the following error:
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseException : <global> requires a 'identifier' attribute
When I remove the "tns:" before "identifier" and "type" (same problem here) with a text-editor, the KnowledgeBuilder has no problem with the files. The line looks like this after modification:
<tns:global identifier="MyGlobal" type="java.lang.String"/>
After that modification the BPMN2 Editor is not able to recognize the global variable so I have to change it back in order to use the editor.
This is a SERIOUS problem but I don't know who makes the mistake here. Is it the editor which generates false BPMN-XMLs or is it jBPM which interprets it the wrong way.
I also don't want to point with a finger. I only want the problem to be fixed. So is it correct to address this forum or do I have to address the jBPM guys? Or maybe both?
I hope for a fast answer because I have a project that depends on that stuff.
Powered by FUDForum
. Page generated in 0.01624 seconds