05-31-2011 05:42 AM
<userTask id="usertask1" name="User Task" activiti:assignee="johnny"></userTask>
<sequenceFlow id="flow4" name="approve" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
<sequenceFlow id="flow6" name="reject" sourceRef="usertask1" targetRef="usertask3"></sequenceFlow>
05-31-2011 11:22 AM
05-31-2011 12:07 PM
it might help to search the forum since this has been discussed. But…. this is not good bpmn, since BOTH sequenceflows will be taken in this case, all of the time. You need conditions and and an exclusive gateway afaik… but as mentioned, this has been discussed earlierThank you for your reply.
<userTask id="usertask1" name="User Task" activiti:assignee="johnny"></userTask>
<sequenceFlow id="flow4" name="approve" sourceRef="usertask1" targetRef="usertask2">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow6" name="reject" sourceRef="usertask1" targetRef="usertask3">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!approve}]]></conditionExpression>
</sequenceFlow>
<userTask id="usertask1" name="User Task" activiti:assignee="johnny"></userTask>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow8" name="" sourceRef="usertask1" targetRef="exclusivegateway1"></sequenceFlow>
<sequenceFlow id="flow4" name="approve" sourceRef="exclusivegateway1" targetRef="usertask2">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow6" name="reject" sourceRef="exclusivegateway1" targetRef="usertask3">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!approve}]]></conditionExpression>
</sequenceFlow>
05-31-2011 07:48 PM
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.