XmlBPMNProcessDumper.INSTANCE.dump(definition,true) ignoring conditions on split gateway while trying to generate .xml file from .bpmn process definition

Solution Unverified - Updated -

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 using org.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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content