As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<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>
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 earlier
<br><userTask id="usertask1" name="User Task" activiti:assignee="johnny"></userTask><br><sequenceFlow id="flow4" name="approve" sourceRef="usertask1" targetRef="usertask2"><br> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve}]]></conditionExpression><br></sequenceFlow><br><sequenceFlow id="flow6" name="reject" sourceRef="usertask1" targetRef="usertask3"><br> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!approve}]]></conditionExpression><br></sequenceFlow><br>
<br><userTask id="usertask1" name="User Task" activiti:assignee="johnny"></userTask><br><exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway><br><sequenceFlow id="flow8" name="" sourceRef="usertask1" targetRef="exclusivegateway1"></sequenceFlow><br><sequenceFlow id="flow4" name="approve" sourceRef="exclusivegateway1" targetRef="usertask2"><br> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve}]]></conditionExpression><br></sequenceFlow><br><sequenceFlow id="flow6" name="reject" sourceRef="exclusivegateway1" targetRef="usertask3"><br> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!approve}]]></conditionExpression><br></sequenceFlow><br>