User: admin@spiffworkflow.org clicked save for playground/tencent/pairing-with-dan-and-alex/main.bpmn

This commit is contained in:
sartography-automated-committer 2023-08-14 18:34:36 +00:00
parent 673347b208
commit c8a9dcaf50
1 changed files with 138 additions and 121 deletions

View File

@ -5,78 +5,28 @@
</bpmn:collaboration>
<bpmn:process id="Process_8ydk0bh" isExecutable="true">
<bpmn:laneSet id="LaneSet_19zwbwi">
<bpmn:lane id="Lane_1hrnzcs" name="approvers_one">
<bpmn:flowNodeRef>Activity_1kdx24p</bpmn:flowNodeRef>
<bpmn:childLaneSet id="LaneSet_1v042se" />
</bpmn:lane>
<bpmn:lane id="Lane_1xwssek">
<bpmn:flowNodeRef>Activity_0u39yj2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1enhsap</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1mrcpko</bpmn:flowNodeRef>
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_19x8z4q</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0wl95bx</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1hrnzcs" name="approvers_one">
<bpmn:flowNodeRef>Activity_1kdx24p</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1vfdi2v</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0p15zpc</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1dt5ijd</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1mrcpko</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1l8m0lz">
<bpmn:flowNodeRef>Activity_1uwpon2</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:sequenceFlow id="Flow_130ey79" sourceRef="StartEvent_1" targetRef="Activity_19x8z4q" />
<bpmn:sequenceFlow id="Flow_1gfzcde" sourceRef="Activity_19x8z4q" targetRef="Activity_0wl95bx" />
<bpmn:scriptTask id="Activity_0u39yj2" name="set lane owners">
<bpmn:incoming>Flow_0gi8bwf</bpmn:incoming>
<bpmn:outgoing>Flow_0qdzj5v</bpmn:outgoing>
<bpmn:script>lane_owners = {"approvers_one": approvers}</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0qdzj5v" sourceRef="Activity_0u39yj2" targetRef="Activity_1kdx24p" />
<bpmn:sequenceFlow id="Flow_12aqem8" sourceRef="Activity_1kdx24p" targetRef="Gateway_1vfdi2v" />
<bpmn:userTask id="Activity_1kdx24p" name="Approve Request">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># Approve it
By clicking the button below you approve this request.
**Requested By:** {{requestor_name}}
**For Domain: **{{domain}}
</spiffworkflow:instructionsForEndUser>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="approve-request-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="approve-request-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0qdzj5v</bpmn:incoming>
<bpmn:outgoing>Flow_12aqem8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_1vfdi2v" name="approved?" default="Flow_1cfkj9x">
<bpmn:incoming>Flow_12aqem8</bpmn:incoming>
<bpmn:outgoing>Flow_1cfkj9x</bpmn:outgoing>
<bpmn:outgoing>Flow_0e6s3lk</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1cfkj9x" sourceRef="Gateway_1vfdi2v" targetRef="Event_1dt5ijd" />
<bpmn:endEvent id="Event_0p15zpc">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Your request was rejected!</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_06bw5rz</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="Event_1enhsap">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Your request was accepted!</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1rearx1</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1rearx1" sourceRef="Event_1mrcpko" targetRef="Event_1enhsap" />
<bpmn:sequenceFlow id="Flow_06bw5rz" sourceRef="Event_1dt5ijd" targetRef="Event_0p15zpc" />
<bpmn:intermediateThrowEvent id="Event_1dt5ijd" name="Accepted">
<bpmn:incoming>Flow_1cfkj9x</bpmn:incoming>
<bpmn:outgoing>Flow_06bw5rz</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_1mrcpko" name="Rejected">
<bpmn:incoming>Flow_0e6s3lk</bpmn:incoming>
<bpmn:outgoing>Flow_1rearx1</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_0e6s3lk" sourceRef="Gateway_1vfdi2v" targetRef="Event_1mrcpko">
<bpmn:conditionExpression>do_you_approve == "rejected"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_130ey79</bpmn:outgoing>
</bpmn:startEvent>
@ -90,7 +40,6 @@ By clicking the button below you approve this request.
<bpmn:incoming>Flow_130ey79</bpmn:incoming>
<bpmn:outgoing>Flow_1gfzcde</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0gi8bwf" sourceRef="Activity_0wl95bx" targetRef="Activity_0u39yj2" />
<bpmn:businessRuleTask id="Activity_0wl95bx" name="Determine Approvers">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>approver_decision</spiffworkflow:calledDecisionId>
@ -98,97 +47,165 @@ By clicking the button below you approve this request.
<bpmn:incoming>Flow_1gfzcde</bpmn:incoming>
<bpmn:outgoing>Flow_0gi8bwf</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_0gi8bwf" sourceRef="Activity_0wl95bx" targetRef="Activity_0u39yj2" />
<bpmn:sequenceFlow id="Flow_0qdzj5v" sourceRef="Activity_0u39yj2" targetRef="Gateway_0jycv6k" />
<bpmn:sequenceFlow id="Flow_12aqem8" sourceRef="Activity_1kdx24p" targetRef="Gateway_0fp8qlg" />
<bpmn:sequenceFlow id="Flow_130ey79" sourceRef="StartEvent_1" targetRef="Activity_19x8z4q" />
<bpmn:sequenceFlow id="Flow_1gfzcde" sourceRef="Activity_19x8z4q" targetRef="Activity_0wl95bx" />
<bpmn:sequenceFlow id="Flow_0pjve0h" sourceRef="Gateway_0jycv6k" targetRef="Activity_1kdx24p" />
<bpmn:sequenceFlow id="Flow_0ejuqyx" sourceRef="Gateway_0jycv6k" targetRef="Activity_1uwpon2" />
<bpmn:parallelGateway id="Gateway_0jycv6k">
<bpmn:incoming>Flow_0qdzj5v</bpmn:incoming>
<bpmn:outgoing>Flow_0pjve0h</bpmn:outgoing>
<bpmn:outgoing>Flow_0ejuqyx</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:userTask id="Activity_1kdx24p" name="Approve Request">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># Approve it
By clicking the button below you approve this request.
**Requested By:** {{requestor_name}}
**For Domain: **{{domain}}
</spiffworkflow:instructionsForEndUser>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="approve-request-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="approve-request-uischema.json" />
</spiffworkflow:properties>
<spiffworkflow:postScript>approved_by </spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0pjve0h</bpmn:incoming>
<bpmn:outgoing>Flow_12aqem8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:task id="Activity_1uwpon2" name="Approve Request">
<bpmn:incoming>Flow_0ejuqyx</bpmn:incoming>
<bpmn:outgoing>Flow_1brfsjf</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_1brfsjf" sourceRef="Activity_1uwpon2" targetRef="Gateway_0fp8qlg" />
<bpmn:parallelGateway id="Gateway_0fp8qlg">
<bpmn:incoming>Flow_12aqem8</bpmn:incoming>
<bpmn:incoming>Flow_1brfsjf</bpmn:incoming>
</bpmn:parallelGateway>
<bpmn:exclusiveGateway id="Gateway_1vfdi2v" name="approved?" default="Flow_1cfkj9x">
<bpmn:outgoing>Flow_1cfkj9x</bpmn:outgoing>
<bpmn:outgoing>Flow_0e6s3lk</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:intermediateThrowEvent id="Event_1dt5ijd" name="Accepted">
<bpmn:incoming>Flow_1cfkj9x</bpmn:incoming>
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_1mrcpko" name="Rejected">
<bpmn:incoming>Flow_0e6s3lk</bpmn:incoming>
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_1cfkj9x" sourceRef="Gateway_1vfdi2v" targetRef="Event_1dt5ijd" />
<bpmn:sequenceFlow id="Flow_0e6s3lk" sourceRef="Gateway_1vfdi2v" targetRef="Event_1mrcpko">
<bpmn:conditionExpression>do_you_approve == "rejected"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1gv878q">
<bpmndi:BPMNShape id="Participant_0m2fswd_di" bpmnElement="Participant_0m2fswd" isHorizontal="true">
<dc:Bounds x="-180" y="0" width="750" height="360" />
<dc:Bounds x="-420" y="-80" width="1140" height="570" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1hrnzcs_di" bpmnElement="Lane_1hrnzcs" isHorizontal="true">
<dc:Bounds x="-150" y="140" width="720" height="220" />
<dc:Bounds x="-390" y="110" width="1110" height="200" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1xwssek_di" bpmnElement="Lane_1xwssek" isHorizontal="true">
<dc:Bounds x="-150" y="0" width="720" height="140" />
<dc:Bounds x="-390" y="-80" width="1110" height="190" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1l8m0lz_di" bpmnElement="Lane_1l8m0lz" isHorizontal="true">
<dc:Bounds x="-390" y="310" width="1110" height="180" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dbxi08_di" bpmnElement="Activity_0u39yj2">
<dc:Bounds x="170" y="20" width="100" height="80" />
<dc:Bounds x="-70" y="-10" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0o2c103_di" bpmnElement="Activity_1kdx24p">
<dc:Bounds x="170" y="200" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1vfdi2v_di" bpmnElement="Gateway_1vfdi2v" isMarkerVisible="true">
<dc:Bounds x="316" y="215" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="314" y="273" width="52" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0p15zpc_di" bpmnElement="Event_0p15zpc">
<dc:Bounds x="472" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1enhsap_di" bpmnElement="Event_1enhsap">
<dc:Bounds x="472" y="62" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1dt5ijd_di" bpmnElement="Event_1dt5ijd">
<dc:Bounds x="402" y="222" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="397" y="265" width="46" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1mrcpko_di" bpmnElement="Event_1mrcpko">
<dc:Bounds x="402" y="62" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="398" y="105" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-138" y="42" width="36" height="36" />
<dc:Bounds x="-378" y="12" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_03z51oi_di" bpmnElement="Activity_19x8z4q">
<dc:Bounds x="-70" y="20" width="100" height="80" />
<dc:Bounds x="-310" y="-10" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jisbjx_di" bpmnElement="Activity_0wl95bx">
<dc:Bounds x="50" y="20" width="100" height="80" />
<dc:Bounds x="-190" y="-10" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_130ey79_di" bpmnElement="Flow_130ey79">
<di:waypoint x="-102" y="60" />
<di:waypoint x="-70" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gfzcde_di" bpmnElement="Flow_1gfzcde">
<di:waypoint x="30" y="60" />
<di:waypoint x="50" y="60" />
<bpmndi:BPMNShape id="Gateway_0ceyppn_di" bpmnElement="Gateway_0jycv6k">
<dc:Bounds x="-45" y="85" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0o2c103_di" bpmnElement="Activity_1kdx24p">
<dc:Bounds x="120" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1uwpon2_di" bpmnElement="Activity_1uwpon2">
<dc:Bounds x="120" y="340" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1bvnxk9_di" bpmnElement="Gateway_0fp8qlg">
<dc:Bounds x="285" y="85" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1vfdi2v_di" bpmnElement="Gateway_1vfdi2v" isMarkerVisible="true">
<dc:Bounds x="365" y="-25" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="364" y="-49" width="52" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1dt5ijd_di" bpmnElement="Event_1dt5ijd">
<dc:Bounds x="462" y="-18" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="457" y="25" width="46" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1mrcpko_di" bpmnElement="Event_1mrcpko">
<dc:Bounds x="462" y="42" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="458" y="85" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0gi8bwf_di" bpmnElement="Flow_0gi8bwf">
<di:waypoint x="-90" y="30" />
<di:waypoint x="-70" y="30" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qdzj5v_di" bpmnElement="Flow_0qdzj5v">
<di:waypoint x="220" y="100" />
<di:waypoint x="220" y="200" />
<di:waypoint x="-20" y="70" />
<di:waypoint x="-20" y="85" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12aqem8_di" bpmnElement="Flow_12aqem8">
<di:waypoint x="270" y="240" />
<di:waypoint x="316" y="240" />
<di:waypoint x="220" y="210" />
<di:waypoint x="310" y="210" />
<di:waypoint x="310" y="135" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_130ey79_di" bpmnElement="Flow_130ey79">
<di:waypoint x="-342" y="30" />
<di:waypoint x="-310" y="30" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gfzcde_di" bpmnElement="Flow_1gfzcde">
<di:waypoint x="-210" y="30" />
<di:waypoint x="-190" y="30" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pjve0h_di" bpmnElement="Flow_0pjve0h">
<di:waypoint x="-20" y="135" />
<di:waypoint x="-20" y="210" />
<di:waypoint x="120" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ejuqyx_di" bpmnElement="Flow_0ejuqyx">
<di:waypoint x="-20" y="135" />
<di:waypoint x="-20" y="380" />
<di:waypoint x="120" y="380" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1brfsjf_di" bpmnElement="Flow_1brfsjf">
<di:waypoint x="220" y="380" />
<di:waypoint x="310" y="380" />
<di:waypoint x="310" y="135" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cfkj9x_di" bpmnElement="Flow_1cfkj9x">
<di:waypoint x="366" y="240" />
<di:waypoint x="402" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1rearx1_di" bpmnElement="Flow_1rearx1">
<di:waypoint x="438" y="80" />
<di:waypoint x="472" y="80" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06bw5rz_di" bpmnElement="Flow_06bw5rz">
<di:waypoint x="438" y="240" />
<di:waypoint x="472" y="240" />
<di:waypoint x="415" y="0" />
<di:waypoint x="462" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0e6s3lk_di" bpmnElement="Flow_0e6s3lk">
<di:waypoint x="341" y="215" />
<di:waypoint x="341" y="80" />
<di:waypoint x="402" y="80" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0gi8bwf_di" bpmnElement="Flow_0gi8bwf">
<di:waypoint x="150" y="60" />
<di:waypoint x="170" y="60" />
<di:waypoint x="390" y="25" />
<di:waypoint x="390" y="60" />
<di:waypoint x="462" y="60" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>