-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.5.0
-
None
The language attribute XSD Type for the conditionExpression of a SequnceFlow should be tFormalExpression not tExpression
The following produces a schema validation exception
ConditionExpression cEl = modelInstance.newInstance(ConditionExpression.class); cEl.setLanguage("qscript");
sequenceFlow.setConditionExpression(cEl);
Solution:
Change the XSD type in the Semantic.xsd projects
camunda-bpmn-model
camunda-engine found at package: org.camunda.bpmn.engine.impl.bpmn.parser
Example:
<xsd:element name="sequenceFlow" type="tSequenceFlow" substitutionGroup="flowElement"/> <xsd:complexType name="tSequenceFlow"> <xsd:complexContent> <xsd:extension base="tFlowElement"> <xsd:sequence> <xsd:element name="conditionExpression" type="tFormalExpression" minOccurs="0" maxOccurs="1"/> </xsd:sequence> ... </xsd:extension> </xsd:complexContent> </xsd:complexType>