Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4069

XmlBPMNProcessDumper.dump() misses conditionExpression in sequenceFlow

    XMLWordPrintable

Details

    Description

      If a process has SplitNode and some conditionExpression in sequenceFlow, XmlBPMNProcessDumper.dump() misses the conditionExpression in sequenceFlow.

      original bpmn

      <conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return 1==(Integer)kcontext.getVariable("myVar");</conditionExpression>
      

      bpmn generated by XmlBPMNProcessDumper.dump()

      <conditionExpression xsi:type="tFormalExpression" language="http://www.jboss.org/drools/rule" ></conditionExpression>
      

      It is because SplitNodeBuilder doesn't map constraint.getConstraint() to ReturnValueConstraintEvaluator.

      Attachments

        Activity

          People

            marco.rietveld Marco Rietveld (Inactive)
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: