User: dan@sartography.com clicked save for webinar/2-approval-process-4-eyes/2-approval-foureyes.bpmn

This commit is contained in:
sartography-automated-committer 2024-01-30 22:02:34 +00:00
parent 23f1a8d4f7
commit 7e63d6ace8
1 changed files with 172 additions and 92 deletions

View File

@ -8,20 +8,101 @@
<bpmn:lane id="Lane_12bfbfq">
<bpmn:flowNodeRef>Event_1j46dtl</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1b6yy5f</bpmn:flowNodeRef>
<bpmn:childLaneSet id="LaneSet_1wdre0l" />
</bpmn:lane>
<bpmn:lane id="Lane_0eyho2y" name="Manager">
<bpmn:flowNodeRef>Activity_1hm0gvh</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1uqog42</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1bommi3</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_08z1s0c</bpmn:flowNodeRef>
<bpmn:lane id="Lane_1dh6dcy" name="Manager">
<bpmn:flowNodeRef>Event_0ycn1jy</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_09826yr</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1hm0gvh</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1uqog42</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0xqyf21</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1y72d1e" name="Director">
<bpmn:flowNodeRef>Event_08z1s0c</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1bommi3</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0323wdp</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_09pp53w</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:sequenceFlow id="Flow_0kj9uoo" sourceRef="Event_1j46dtl" targetRef="Activity_1b6yy5f" />
<bpmn:startEvent id="Event_1j46dtl">
<bpmn:outgoing>Flow_0kj9uoo</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1r664rf" sourceRef="Activity_1b6yy5f" targetRef="Activity_1hm0gvh" />
<bpmn:sequenceFlow id="Flow_14r1wq7" sourceRef="Activity_1hm0gvh" targetRef="Gateway_1uqog42" />
<bpmn:sequenceFlow id="Flow_0v0x9fl" name="Yes" sourceRef="Gateway_1uqog42" targetRef="Activity_09pp53w">
<bpmn:conditionExpression>approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1jtfo65" name="No" sourceRef="Gateway_1uqog42" targetRef="Gateway_0xqyf21">
<bpmn:conditionExpression>!approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1l39le4" sourceRef="Activity_09pp53w" targetRef="Gateway_0323wdp" />
<bpmn:sequenceFlow id="Flow_0piwcat" sourceRef="Activity_09826yr" targetRef="Event_0ycn1jy" />
<bpmn:sequenceFlow id="Flow_1a2gfqx" name="yes" sourceRef="Gateway_0323wdp" targetRef="Activity_1bommi3">
<bpmn:conditionExpression>approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0xm6f03" name="no" sourceRef="Gateway_0323wdp" targetRef="Gateway_0xqyf21">
<bpmn:conditionExpression>!approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1590yej" sourceRef="Activity_1bommi3" targetRef="Event_08z1s0c" />
<bpmn:endEvent id="Event_0ycn1jy" name="Vacation Denied">
<bpmn:incoming>Flow_0piwcat</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="Event_08z1s0c" name="Vacation Approved">
<bpmn:incoming>Flow_1590yej</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_1bommi3" name="Notify Vacation Approved via Slack">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="slack/PostMessage">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="token" type="str" value="&#34;secret:slack_token&#34;" />
<spiffworkflow:parameter id="channel" type="str" value="&#34;slack-connector-testing&#34;" />
<spiffworkflow:parameter id="message" type="str" value="requestor[&#39;display_name&#39;] + &#34;, Your vacation request was approved!&#34;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1a2gfqx</bpmn:incoming>
<bpmn:outgoing>Flow_1590yej</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:serviceTask id="Activity_09826yr" name="Notify Vacation Rejected via Slack">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="slack/PostMessage">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="token" type="str" value="&#34;secret:slack_token&#34;" />
<spiffworkflow:parameter id="channel" type="str" value="&#39;slack-connector-testing&#39;" />
<spiffworkflow:parameter id="message" type="str" value="requestor[&#39;display_name&#39;] + &#34;, Your vacation request was Denied!&#34;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_102c8qp</bpmn:incoming>
<bpmn:outgoing>Flow_0piwcat</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0323wdp">
<bpmn:incoming>Flow_1l39le4</bpmn:incoming>
<bpmn:outgoing>Flow_1a2gfqx</bpmn:outgoing>
<bpmn:outgoing>Flow_0xm6f03</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_09pp53w" name="Check Vacation Request">
<bpmn:extensionElements>
<spiffworkflow:postScript>approver = get_current_user()</spiffworkflow:postScript>
<spiffworkflow:instructionsForEndUser>
# Vacation Approval
**{{requestor.display_name}}** is requesting to take off between **{{start_date}}** and **{{end_date}}**.
The Requester provided the following additional information:
&gt; {{ details }}
Please use the form below to approve or deny the request.</spiffworkflow:instructionsForEndUser>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="approval-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="approval-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0v0x9fl</bpmn:incoming>
<bpmn:outgoing>Flow_1l39le4</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_1b6yy5f" name="Enter Vacation Details">
<bpmn:extensionElements>
<spiffworkflow:properties>
@ -33,7 +114,6 @@
<bpmn:incoming>Flow_0kj9uoo</bpmn:incoming>
<bpmn:outgoing>Flow_1r664rf</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1r664rf" sourceRef="Activity_1b6yy5f" targetRef="Activity_1hm0gvh" />
<bpmn:userTask id="Activity_1hm0gvh" name="Check Vacation Request">
<bpmn:extensionElements>
<spiffworkflow:postScript>approver = get_current_user()</spiffworkflow:postScript>
@ -60,131 +140,131 @@ Please use the form below to approve or deny the request.</spiffworkflow:instruc
<bpmn:outgoing>Flow_0v0x9fl</bpmn:outgoing>
<bpmn:outgoing>Flow_1jtfo65</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_14r1wq7" sourceRef="Activity_1hm0gvh" targetRef="Gateway_1uqog42" />
<bpmn:sequenceFlow id="Flow_0v0x9fl" name="Yes" sourceRef="Gateway_1uqog42" targetRef="Activity_1bommi3">
<bpmn:conditionExpression>approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1jtfo65" name="No" sourceRef="Gateway_1uqog42" targetRef="Activity_09826yr">
<bpmn:conditionExpression>!approved</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:serviceTask id="Activity_1bommi3" name="Notify Vacation Approved via Slack">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="slack/PostMessage">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="token" type="str" value="&#34;secret:slack_token&#34;" />
<spiffworkflow:parameter id="channel" type="str" value="&#34;slack-connector-testing&#34;" />
<spiffworkflow:parameter id="message" type="str" value="requestor[&#39;display_name&#39;] + &#34;, Your vacation request was approved!&#34;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0v0x9fl</bpmn:incoming>
<bpmn:outgoing>Flow_1l39le4</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_08z1s0c" name="Vacation Approved">
<bpmn:incoming>Flow_1l39le4</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1l39le4" sourceRef="Activity_1bommi3" targetRef="Event_08z1s0c" />
<bpmn:endEvent id="Event_0ycn1jy" name="Vacation Denied">
<bpmn:incoming>Flow_0piwcat</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0piwcat" sourceRef="Activity_09826yr" targetRef="Event_0ycn1jy" />
<bpmn:serviceTask id="Activity_09826yr" name="Notify Vacation Rejected via Slack">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="slack/PostMessage">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="token" type="str" value="&#34;secret:slack_token&#34;" />
<spiffworkflow:parameter id="channel" type="str" value="&#39;slack-connector-testing&#39;" />
<spiffworkflow:parameter id="message" type="str" value="requestor[&#39;display_name&#39;] + &#34;, Your vacation request was Denied!&#34;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:exclusiveGateway id="Gateway_0xqyf21">
<bpmn:incoming>Flow_0xm6f03</bpmn:incoming>
<bpmn:incoming>Flow_1jtfo65</bpmn:incoming>
<bpmn:outgoing>Flow_0piwcat</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:outgoing>Flow_102c8qp</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_102c8qp" sourceRef="Gateway_0xqyf21" targetRef="Activity_09826yr" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1xp4lif">
<bpmndi:BPMNShape id="Participant_0eysqe6_di" bpmnElement="Participant_0eysqe6" isHorizontal="true">
<dc:Bounds x="100" y="-170" width="878" height="490" />
<dc:Bounds x="100" y="-170" width="998" height="460" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_12bfbfq_di" bpmnElement="Lane_12bfbfq" isHorizontal="true">
<dc:Bounds x="130" y="-170" width="848" height="200" />
<dc:Bounds x="130" y="-170" width="968" height="170" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_0eyho2y_di" bpmnElement="Lane_0eyho2y" isHorizontal="true">
<dc:Bounds x="130" y="30" width="848" height="290" />
<bpmndi:BPMNShape id="Lane_1dh6dcy_di" bpmnElement="Lane_1dh6dcy" isHorizontal="true">
<dc:Bounds x="130" y="0" width="968" height="130" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1y72d1e_di" bpmnElement="Lane_1y72d1e" isHorizontal="true">
<dc:Bounds x="130" y="130" width="968" height="160" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1j46dtl_di" bpmnElement="Event_1j46dtl">
<dc:Bounds x="162" y="-98" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0tvsrej_di" bpmnElement="Activity_1b6yy5f">
<dc:Bounds x="280" y="-120" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0aleotn_di" bpmnElement="Activity_1hm0gvh">
<dc:Bounds x="423" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1uqog42_di" bpmnElement="Gateway_1uqog42" isMarkerVisible="true">
<dc:Bounds x="575" y="95" width="50" height="50" />
<bpmndi:BPMNShape id="Event_0ycn1jy_di" bpmnElement="Event_0ycn1jy">
<dc:Bounds x="1012" y="52" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="573" y="65" width="54" height="27" />
<dc:Bounds x="990" y="95" width="80" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_08z1s0c_di" bpmnElement="Event_08z1s0c">
<dc:Bounds x="1012" y="192" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1006" y="235" width="48" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1r4ky3g_di" bpmnElement="Activity_1bommi3">
<dc:Bounds x="680" y="80" width="100" height="80" />
<dc:Bounds x="870" y="170" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_08z1s0c_di" bpmnElement="Event_08z1s0c">
<dc:Bounds x="842" y="102" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="836" y="145" width="48" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ycn1jy_di" bpmnElement="Event_0ycn1jy">
<dc:Bounds x="842" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="820" y="255" width="80" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rwrw48_di" bpmnElement="Activity_09826yr">
<dc:Bounds x="680" y="190" width="100" height="80" />
<dc:Bounds x="870" y="30" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0323wdp_di" bpmnElement="Gateway_0323wdp" isMarkerVisible="true">
<dc:Bounds x="775" y="185" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_059ul1s" bpmnElement="Activity_09pp53w">
<dc:Bounds x="620" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0tvsrej_di" bpmnElement="Activity_1b6yy5f">
<dc:Bounds x="230" y="-120" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0aleotn_di" bpmnElement="Activity_1hm0gvh">
<dc:Bounds x="380" y="30" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1uqog42_di" bpmnElement="Gateway_1uqog42" isMarkerVisible="true">
<dc:Bounds x="505" y="45" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="503" y="15" width="54" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0xqyf21_di" bpmnElement="Gateway_0xqyf21" isMarkerVisible="true">
<dc:Bounds x="775" y="45" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0kj9uoo_di" bpmnElement="Flow_0kj9uoo">
<di:waypoint x="198" y="-80" />
<di:waypoint x="280" y="-80" />
<di:waypoint x="230" y="-80" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1r664rf_di" bpmnElement="Flow_1r664rf">
<di:waypoint x="380" y="-80" />
<di:waypoint x="400" y="-80" />
<di:waypoint x="400" y="120" />
<di:waypoint x="423" y="120" />
<di:waypoint x="330" y="-80" />
<di:waypoint x="350" y="-80" />
<di:waypoint x="350" y="70" />
<di:waypoint x="380" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14r1wq7_di" bpmnElement="Flow_14r1wq7">
<di:waypoint x="523" y="120" />
<di:waypoint x="575" y="120" />
<di:waypoint x="480" y="70" />
<di:waypoint x="505" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v0x9fl_di" bpmnElement="Flow_0v0x9fl">
<di:waypoint x="625" y="120" />
<di:waypoint x="680" y="120" />
<di:waypoint x="530" y="95" />
<di:waypoint x="530" y="210" />
<di:waypoint x="620" y="210" />
<bpmndi:BPMNLabel>
<dc:Bounds x="643" y="102" width="19" height="14" />
<dc:Bounds x="565" y="192" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jtfo65_di" bpmnElement="Flow_1jtfo65">
<di:waypoint x="600" y="145" />
<di:waypoint x="600" y="230" />
<di:waypoint x="680" y="230" />
<di:waypoint x="555" y="70" />
<di:waypoint x="775" y="70" />
<bpmndi:BPMNLabel>
<dc:Bounds x="608" y="185" width="15" height="14" />
<dc:Bounds x="667" y="47" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1l39le4_di" bpmnElement="Flow_1l39le4">
<di:waypoint x="780" y="120" />
<di:waypoint x="842" y="120" />
<di:waypoint x="720" y="210" />
<di:waypoint x="775" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0piwcat_di" bpmnElement="Flow_0piwcat">
<di:waypoint x="780" y="230" />
<di:waypoint x="842" y="230" />
<di:waypoint x="970" y="70" />
<di:waypoint x="1012" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1a2gfqx_di" bpmnElement="Flow_1a2gfqx">
<di:waypoint x="825" y="210" />
<di:waypoint x="870" y="210" />
<bpmndi:BPMNLabel>
<dc:Bounds x="839" y="192" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xm6f03_di" bpmnElement="Flow_0xm6f03">
<di:waypoint x="800" y="185" />
<di:waypoint x="800" y="95" />
<bpmndi:BPMNLabel>
<dc:Bounds x="809" y="137" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1590yej_di" bpmnElement="Flow_1590yej">
<di:waypoint x="970" y="210" />
<di:waypoint x="1012" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_102c8qp_di" bpmnElement="Flow_102c8qp">
<di:waypoint x="825" y="70" />
<di:waypoint x="870" y="70" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>