mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
User: alex@sartography.com clicked save for misc/user-info/user-info.bpmn
This commit is contained in:
parent
493c51a243
commit
357de30877
@ -18,7 +18,7 @@
|
||||
<bpmn:sequenceFlow id="Flow_08nmyrt" sourceRef="Activity_0v13afu" targetRef="Gateway_19npvp5" />
|
||||
<bpmn:exclusiveGateway id="Gateway_0xlrnzx" name="Current User?" default="Flow_0i96b90">
|
||||
<bpmn:incoming>Flow_1mplhly</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0zr9iin</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1hctr4n</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0i96b90</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0d47w7r</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
@ -68,6 +68,8 @@ del(userTimeFormat)</bpmn:script>
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0sypyzb</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1hctr4n</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:exclusiveGateway id="Gateway_0byohhl">
|
||||
<bpmn:incoming>Flow_0d47w7r</bpmn:incoming>
|
||||
@ -94,7 +96,7 @@ is_status_email = (find_user[-9:] == "status.im")</bpmn:script>
|
||||
<bpmn:outgoing>Flow_0sypyzb</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1mplhly</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0sypyzb" name="Yes" sourceRef="Gateway_19npvp5" targetRef="Activity_1eab90d" />
|
||||
<bpmn:sequenceFlow id="Flow_0sypyzb" name="Yes" sourceRef="Gateway_19npvp5" targetRef="Activity_1uw66e8" />
|
||||
<bpmn:sequenceFlow id="Flow_0dg341m" sourceRef="Activity_1a9fimb" targetRef="Gateway_0byohhl" />
|
||||
<bpmn:sequenceFlow id="Flow_1mplhly" name="No" sourceRef="Gateway_19npvp5" targetRef="Gateway_0xlrnzx">
|
||||
<bpmn:conditionExpression>not(is_status_email)</bpmn:conditionExpression>
|
||||
@ -108,20 +110,14 @@ del(isCurrentUser)
|
||||
del(find_user)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:scriptTask id="Activity_0fk3lup" name="Check Response">
|
||||
<bpmn:incoming>Flow_08qc7v0</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0zr9iin</bpmn:outgoing>
|
||||
<bpmn:script># check the keys, let it raise an exception if they don't exist
|
||||
bamboo_get_employee["id"]
|
||||
bamboo_get_employee["supervisorEid"]
|
||||
bamboo_get_employee["supervisorEmail"]
|
||||
bamboo_get_employee["supervisorId"]</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:callActivity id="Activity_1eab90d" name="Call ST: Get Employee Bamboo Info" calledElement="Bamboo_GetEmployeeInfo">
|
||||
<bpmn:incoming>Flow_0sypyzb</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_08qc7v0</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_08qc7v0" sourceRef="Activity_1eab90d" targetRef="Activity_0fk3lup" />
|
||||
<bpmn:sequenceFlow id="Flow_0zr9iin" sourceRef="Activity_0fk3lup" targetRef="Gateway_0xlrnzx" />
|
||||
<bpmn:callActivity id="Activity_1eab90d" name="Call ST: Get Employee Bamboo Info" calledElement="Bamboo_GetEmployeeInfo" />
|
||||
<bpmn:sequenceFlow id="Flow_1hctr4n" sourceRef="Activity_1uw66e8" targetRef="Gateway_0xlrnzx" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="SR-User_Info">
|
||||
@ -156,7 +152,7 @@ bamboo_get_employee["supervisorId"]</bpmn:script>
|
||||
<bpmndi:BPMNShape id="Gateway_19npvp5_di" bpmnElement="Gateway_19npvp5" isMarkerVisible="true">
|
||||
<dc:Bounds x="445" y="202" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="505" y="220" width="68" height="14" />
|
||||
<dc:Bounds x="436" y="178" width="68" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0qu8ajx_di" bpmnElement="Activity_0djyn08">
|
||||
@ -201,10 +197,10 @@ bamboo_get_employee["supervisorId"]</bpmn:script>
|
||||
<di:waypoint x="270" y="227" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0sypyzb_di" bpmnElement="Flow_0sypyzb">
|
||||
<di:waypoint x="470" y="202" />
|
||||
<di:waypoint x="470" y="100" />
|
||||
<di:waypoint x="495" y="227" />
|
||||
<di:waypoint x="580" y="227" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="450" y="143" width="18" height="14" />
|
||||
<dc:Bounds x="529" y="209" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0dg341m_di" bpmnElement="Flow_0dg341m">
|
||||
@ -224,14 +220,8 @@ bamboo_get_employee["supervisorId"]</bpmn:script>
|
||||
<di:waypoint x="1280" y="227" />
|
||||
<di:waypoint x="1332" y="227" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_08qc7v0_di" bpmnElement="Flow_08qc7v0">
|
||||
<di:waypoint x="520" y="60" />
|
||||
<di:waypoint x="600" y="60" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0zr9iin_di" bpmnElement="Flow_0zr9iin">
|
||||
<di:waypoint x="700" y="60" />
|
||||
<di:waypoint x="730" y="60" />
|
||||
<di:waypoint x="730" y="227" />
|
||||
<bpmndi:BPMNEdge id="Flow_1hctr4n_di" bpmnElement="Flow_1hctr4n">
|
||||
<di:waypoint x="680" y="227" />
|
||||
<di:waypoint x="765" y="227" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
|
Loading…
x
Reference in New Issue
Block a user