XmlBPMNProcessDumper.INSTANCE.dump(definition,true) ignoring conditions on split gateway while trying to generate .xml file from .bpmn process definition
Issue
-
While is trying to generate .xml file from ".bpmn" process definition using
org.jbpm.bpmn2.xml.XmlBPMNProcessDumper
dump method generate process xml it missed the conditions constraint. -
While trying to generate
.xml
file from.bpmn
process definition usingorg.jbpm.bpmn2.xml.XmlBPMNProcessDumper
dump method, but generated process xml it missed the conditions constraint.
Gateway defined in process definition as below:
. . .
<conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return 1==(Integer)kcontext.getVariable("myVar");</conditionExpression>
. . .
- But when we use
org.jbpm.bpmn2.xml.XmlBPMNProcessDumper
dump method to generate process xml it missed the constraint as below:
. . .
<conditionExpression xsi:type="tFormalExpression" language="http://www.jboss.org/drools/rule" ></conditionExpression>
. . .
Environment
- Red Hat JBoss Business Rules Management System (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.