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.XmlBPMNProcessDumperdump method generate process xml it missed the conditions constraint. -
While trying to generate
.xmlfile from.bpmnprocess definition usingorg.jbpm.bpmn2.xml.XmlBPMNProcessDumperdump 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.XmlBPMNProcessDumperdump 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
