03-02-2011 05:30 AM
<process id="resubmitOrder">
<exclusiveGateway id="checkParameters" name="checkParameters"/>
<sequenceFlow id="resubmitFlow_1" sourceRef="startResubmitOrder" targetRef="checkParameters"/>
<sequenceFlow id="resubmitFlow_2" sourceRef="checkParameters" targetRef="endResubmitOrder">
<conditionExpression xsi:type="tFormalExpression">${orderId==null or subOrderId==null}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="resubmitFlow_3" sourceRef="checkParameters" targetRef="correctOrder">
<conditionExpression xsi:type="tFormalExpression">${orderId != null and subOrderId != null}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="resubmitFlow_4" sourceRef="correctOrder" targetRef="endResubmitOrder"/>
<endEvent id="endResubmitOrder" name="endResubmitOrder" />
</process>
03-02-2011 08:45 AM
03-03-2011 02:26 AM
<sequenceFlow id="resubmitFlow_2" sourceRef="checkParameters" targetRef="endResubmitOrder">
<conditionExpression xsi:type="tFormalExpression">${orderId==null or subOrderId==null}</conditionExpression>
</sequenceFlow>
03-03-2011 03:14 AM
But if the orderId is not passed the above XML will throw an exception saying orderId was not found.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.