1 Reply Latest reply on Sep 30, 2013 11:20 AM by bbrodt

    Error while validating bpmn flow.

    pathfinder2104

      I am getting following error while validating the bpmn flow.

       

      The error is about : The FormalExpressionID must be a valid ID.

       

      I am unable to find the problem with this, this is my work flow.

       

      <?xml version="1.0" encoding="UTF-8"?>

      <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.jboss.org/drools" xmlns="http://www.jboss.org/drools" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" id="Definition" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">

        <bpmn2:process id="com.sample.bpmn" tns:version="1" tns:packageName="defaultPackage" tns:adHoc="false" name="Sample Process" isExecutable="true" processType="Private">

          <bpmn2:startEvent id="_1" name="">

            <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>

          </bpmn2:startEvent>

          <bpmn2:sequenceFlow id="SequenceFlow_2" tns:priority="1" name="" sourceRef="_1" targetRef="ExclusiveGateway_1"/>

          <bpmn2:exclusiveGateway id="ExclusiveGateway_1" name="" gatewayDirection="Diverging">

            <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>

            <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>

          </bpmn2:exclusiveGateway>

          <bpmn2:endEvent id="EndEvent_1" name="">

            <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>

          </bpmn2:endEvent>

          <bpmn2:sequenceFlow id="SequenceFlow_3" tns:priority="1" name="" sourceRef="ExclusiveGateway_1" targetRef="UserTask_1"/>

          <bpmn2:userTask id="UserTask_1" name="Assign Counsellor">

            <bpmn2:extensionElements>

              <tns:onEntry-script scriptFormat="http://www.java.com/java">

                <tns:script></tns:script>

              </tns:onEntry-script>

              <tns:onExit-script scriptFormat="http://www.java.com/java">

                <tns:script></tns:script>

              </tns:onExit-script>

            </bpmn2:extensionElements>

            <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>

            <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>

            <bpmn2:ioSpecification id="_InputOutputSpecification_168">

              <bpmn2:dataInput id="_DataInput_1052" name="TaskName"/>

              <bpmn2:dataInput id="_DataInput_1053" name="Priority"/>

              <bpmn2:dataInput id="_DataInput_1054" name="Comment"/>

              <bpmn2:dataInput id="_DataInput_1055" name="GroupId"/>

              <bpmn2:dataInput id="_DataInput_1056" name="Skippable"/>

              <bpmn2:dataInput id="_DataInput_1057" name="Content"/>

              <bpmn2:dataInput id="_DataInput_1058" name="Locale"/>

              <bpmn2:inputSet id="_InputSet_168" name="Input Set 168">

                <bpmn2:dataInputRefs>_DataInput_1052</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1053</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1054</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1055</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1056</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1057</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_DataInput_1058</bpmn2:dataInputRefs>

              </bpmn2:inputSet>

              <bpmn2:outputSet id="_OutputSet_23" name="Output Set"/>

            </bpmn2:ioSpecification>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1052">

              <bpmn2:targetRef>_DataInput_1052</bpmn2:targetRef>

              <bpmn2:assignment id="Assignment_1">

                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_1">AssignCounsellor</bpmn2:from>

                <bpmn2:to xsi:type="bpmn2:tFormalExpression">_DataInput_1052</bpmn2:to>

              </bpmn2:assignment>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1053">

              <bpmn2:targetRef>_DataInput_1053</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1054">

              <bpmn2:targetRef>_DataInput_1054</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1055">

              <bpmn2:targetRef>_DataInput_1055</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1056">

              <bpmn2:targetRef>_DataInput_1056</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1057">

              <bpmn2:targetRef>_DataInput_1057</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_DataInputAssociation_1058">

              <bpmn2:targetRef>_DataInput_1058</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

          </bpmn2:userTask>

          <bpmn2:sequenceFlow id="SequenceFlow_1" tns:priority="1" name="" sourceRef="UserTask_1" targetRef="EndEvent_1"/>

        </bpmn2:process>

        <bpmndi:BPMNDiagram id="BPMNDiagram_1">

          <bpmndi:BPMNPlane id="BPMNPlane_Process_1" bpmnElement="com.sample.bpmn">

            <bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="_1">

              <dc:Bounds height="36.0" width="36.0" x="540.0" y="52.0"/>

            </bpmndi:BPMNShape>

            <bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_1">

              <dc:Bounds height="36.0" width="36.0" x="540.0" y="560.0"/>

            </bpmndi:BPMNShape>

            <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_UserTask_1" targetElement="BPMNShape_EndEvent_1">

              <di:waypoint xsi:type="dc:Point" x="559.0" y="410.0"/>

              <di:waypoint xsi:type="dc:Point" x="558.0" y="560.0"/>

            </bpmndi:BPMNEdge>

            <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_1" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">

              <dc:Bounds height="50.0" width="50.0" x="533.0" y="216.0"/>

            </bpmndi:BPMNShape>

            <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_ExclusiveGateway_1">

              <di:waypoint xsi:type="dc:Point" x="558.0" y="88.0"/>

              <di:waypoint xsi:type="dc:Point" x="558.0" y="216.0"/>

            </bpmndi:BPMNEdge>

            <bpmndi:BPMNShape id="BPMNShape_UserTask_1" bpmnElement="UserTask_1">

              <dc:Bounds height="50.0" width="110.0" x="504.0" y="360.0"/>

            </bpmndi:BPMNShape>

            <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_UserTask_1">

              <di:waypoint xsi:type="dc:Point" x="558.0" y="267.0"/>

              <di:waypoint xsi:type="dc:Point" x="559.0" y="360.0"/>

            </bpmndi:BPMNEdge>

          </bpmndi:BPMNPlane>

        </bpmndi:BPMNDiagram>

      </bpmn2:definitions>

       

      I am creating flow using the bpmn 2.0 modeler using eclipse. I recently updated my plugin from 0.2.5 to 0.2.6.201306192132.