07-02-2014 12:43 PM
<?xml version="1.0" encoding="UTF-8" ?>
<definitions id="definitions"
targetNamespace="http://activiti.org/bpmn20"
xmlns:activiti="http://activiti.org/bpmn"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<process id="IndividualAppealNM" name="Individual Appeal for New Mexico state exchange">
<startEvent id="request" activiti:initiator="requesterName">
<extensionElements>
<activiti:formProperty id="groupName" name="Group Name" type="string"/>
<activiti:formProperty id="requesterName" name="Requester Name" type="string"/>
<activiti:formProperty id="leaveReason" name="leave Reason" type="string" value="SomeValue"/>
</extensionElements>
</startEvent>
<sequenceFlow id="flow1" sourceRef="request" targetRef="checkleaveReason" />
<exclusiveGateway id="checkleaveReason" name="check leave Reason?" />
<sequenceFlow id="flow201" sourceRef="checkleaveReason" targetRef="reviewLeaveForm">
<conditionExpression xsi:type="tFormalExpression">${leaveReason!= 'test'}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow202" sourceRef="checkleaveReason" targetRef="theEndAll">
<conditionExpression xsi:type="tFormalExpression">${leaveReason== 'test'}</conditionExpression>
</sequenceFlow>
<userTask id="reviewLeaveForm" name="Review leaveForms" >
<documentation>
Review the leave.
</documentation>
<extensionElements>
<activiti:formProperty id="leaveReason" name="Motivation" type="string" >${leaveReason}</activiti:formProperty>
</extensionElements>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>${groupName}</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id="flow3" sourceRef="reviewLeaveForm" targetRef="proceedWithLeaveReason" />
<exclusiveGateway id="proceedWithLeaveReason" name="Validate the leave to proceed" />
<sequenceFlow id="flow1702" sourceRef="proceedWithLeaveReason" targetRef="theEndAll">
<conditionExpression xsi:type="tFormalExpression">${leaveReason == 'Medical'}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow1703" sourceRef="proceedWithLeaveReason" targetRef="theEndAll">
<conditionExpression xsi:type="tFormalExpression">${leaveReason== 'Casual'}</conditionExpression>
</sequenceFlow>
<endEvent id="theEndAll" />
</process>
</definitions>
07-07-2014 08:26 AM
07-07-2014 12:32 PM
07-08-2014 12:58 AM
>${leaveReason}</
is not needed.
<activiti:formProperty id="leaveReason" name="leave Reason" type="string" />
07-08-2014 01:12 AM
07-09-2014 12:40 AM
<activiti:formProperty id="leaveReason1" name="Motivation" type="string" value="${leaveReason}"></activiti:formProperty>
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.