2 Replies Latest reply on Mar 9, 2013 4:19 AM by mika1325

    Reusable subprocess static value assignment to parameter is not working

    mika1325 Newbie

      I invoking subprocess and try to pass static value to subprocess parameter. Is this feature not implemented in jbpm5.3 or am i doing something wrong?

       

      In example below I set to parameters OrderNo and RejectStatus. OrderNo value is passed to subprocess, but RejectStatus value in subprocess is null.

       

      <bpmn2:callActivity xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" id="_10" drools:selectable="true" xmlns:drools="http://www.jboss.org/drools" drools:independent="false" drools:waitForCompletion="true" name="REJECT_ORDER" calledElement="REJECT_ORDER">

            <bpmn2:incoming>_14-_10</bpmn2:incoming>

            <bpmn2:outgoing>_10-_12</bpmn2:outgoing>

            <bpmn2:ioSpecification id="_b695KhQxEeKSq8i_spxl7Q">

              <bpmn2:dataInput id="_10_OrderNoInput" drools:dtype="String" itemSubjectRef="__10_OrderNoInputItem" name="OrderNo"/>

              <bpmn2:dataInput id="_10_RejectStatusInput" drools:dtype="String" itemSubjectRef="__10_RejectStatusInputItem" name="RejectStatus"/>

              <bpmn2:inputSet id="_b695KxQxEeKSq8i_spxl7Q">

                <bpmn2:dataInputRefs>_10_OrderNoInput</bpmn2:dataInputRefs>

                <bpmn2:dataInputRefs>_10_RejectStatusInput</bpmn2:dataInputRefs>

              </bpmn2:inputSet>

              <bpmn2:outputSet id="_b695LBQxEeKSq8i_spxl7Q"/>

            </bpmn2:ioSpecification>

            <bpmn2:dataInputAssociation id="_b695LRQxEeKSq8i_spxl7Q">

              <bpmn2:sourceRef>OrderNo</bpmn2:sourceRef>

              <bpmn2:targetRef>_10_OrderNoInput</bpmn2:targetRef>

            </bpmn2:dataInputAssociation>

            <bpmn2:dataInputAssociation id="_b695LxQxEeKSq8i_spxl7Q">

              <bpmn2:targetRef>_10_RejectStatusInput</bpmn2:targetRef>

              <bpmn2:assignment id="_b695MBQxEeKSq8i_spxl7Q">

                <bpmn2:from xsi:type="bpmn2:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="_b695MRQxEeKSq8i_spxl7Q"><![CDATA[ATM]]></bpmn2:from>

                <bpmn2:to xsi:type="bpmn2:tFormalExpression" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="_b695MhQxEeKSq8i_spxl7Q">_10_RejectStatusInput</bpmn2:to>

              </bpmn2:assignment>

            </bpmn2:dataInputAssociation>

          </bpmn2:callActivity>