Skip to content

Instantly share code, notes, and snippets.

@LeonLiuY
Created December 19, 2019 05:44
Show Gist options
  • Save LeonLiuY/99a2da1e7eecbd59446391bbcff27988 to your computer and use it in GitHub Desktop.
Save LeonLiuY/99a2da1e7eecbd59446391bbcff27988 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_14usc7e" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.7.0">
<bpmn:process id="indeed-apply" name="Indeed Apply" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Apply Button Clicked">
<bpmn:outgoing>SequenceFlow_1ea241d</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="ServiceTask_09upi4z" name="Create Application">
<bpmn:extensionElements>
<zeebe:taskDefinition type="create-application" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1ea241d</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1fj0z16</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_1ea241d" sourceRef="StartEvent_1" targetRef="ServiceTask_09upi4z" />
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0n98a9l" name="User Info Received">
<bpmn:incoming>SequenceFlow_1fj0z16</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0k1gnh8</bpmn:outgoing>
<bpmn:messageEventDefinition messageRef="Message_19f33ww" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_1fj0z16" sourceRef="ServiceTask_09upi4z" targetRef="IntermediateCatchEvent_0n98a9l" />
<bpmn:exclusiveGateway id="ExclusiveGateway_0wlqwy1" default="SequenceFlow_01cqa58">
<bpmn:incoming>SequenceFlow_0k1gnh8</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1xxakdc</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_01cqa58</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_0k1gnh8" sourceRef="IntermediateCatchEvent_0n98a9l" targetRef="ExclusiveGateway_0wlqwy1" />
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_120cg34" name="SQ Answer Received">
<bpmn:incoming>SequenceFlow_1xxakdc</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1t9g1ed</bpmn:outgoing>
<bpmn:messageEventDefinition messageRef="Message_0k72zgz" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_1xxakdc" name="Has SQ" sourceRef="ExclusiveGateway_0wlqwy1" targetRef="IntermediateCatchEvent_120cg34">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">hasSq == true</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="ExclusiveGateway_0cqo3yf">
<bpmn:incoming>SequenceFlow_1t9g1ed</bpmn:incoming>
<bpmn:incoming>SequenceFlow_01cqa58</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_18ksj17</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_1t9g1ed" sourceRef="IntermediateCatchEvent_120cg34" targetRef="ExclusiveGateway_0cqo3yf" />
<bpmn:sequenceFlow id="SequenceFlow_01cqa58" sourceRef="ExclusiveGateway_0wlqwy1" targetRef="ExclusiveGateway_0cqo3yf" />
<bpmn:serviceTask id="ServiceTask_0guag2z" name="Generate Preview">
<bpmn:extensionElements>
<zeebe:taskDefinition type="generate-preview" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_18ksj17</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0g9stu3</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_18ksj17" sourceRef="ExclusiveGateway_0cqo3yf" targetRef="ServiceTask_0guag2z" />
<bpmn:intermediateCatchEvent id="IntermediateCatchEvent_14ks1xg" name="Confirmation Reveived">
<bpmn:incoming>SequenceFlow_0g9stu3</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1tt2h6e</bpmn:outgoing>
<bpmn:messageEventDefinition messageRef="Message_0pzgk6o" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_0g9stu3" sourceRef="ServiceTask_0guag2z" targetRef="IntermediateCatchEvent_14ks1xg" />
<bpmn:sequenceFlow id="SequenceFlow_1tt2h6e" sourceRef="IntermediateCatchEvent_14ks1xg" targetRef="ExclusiveGateway_00x94gy" />
<bpmn:parallelGateway id="ExclusiveGateway_00x94gy">
<bpmn:incoming>SequenceFlow_1tt2h6e</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1qhj9n9</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_07d71x4</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_1k6u9uj</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:serviceTask id="ServiceTask_1g99df6" name="Email to JS">
<bpmn:extensionElements>
<zeebe:taskDefinition type="mail-to-js" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1qhj9n9</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0p5ss5l</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_1qhj9n9" sourceRef="ExclusiveGateway_00x94gy" targetRef="ServiceTask_1g99df6" />
<bpmn:serviceTask id="ServiceTask_1ptdqtv" name="Deliver Application">
<bpmn:extensionElements>
<zeebe:taskDefinition type="deliver-application" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_07d71x4</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1e0kgds</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_07d71x4" sourceRef="ExclusiveGateway_00x94gy" targetRef="ServiceTask_1ptdqtv" />
<bpmn:sequenceFlow id="SequenceFlow_1e0kgds" sourceRef="ServiceTask_1ptdqtv" targetRef="ExclusiveGateway_1bcbq1s" />
<bpmn:parallelGateway id="ExclusiveGateway_1bcbq1s">
<bpmn:incoming>SequenceFlow_1e0kgds</bpmn:incoming>
<bpmn:incoming>SequenceFlow_0p5ss5l</bpmn:incoming>
<bpmn:incoming>SequenceFlow_1jdjkek</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_101pxk7</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="SequenceFlow_0p5ss5l" sourceRef="ServiceTask_1g99df6" targetRef="ExclusiveGateway_1bcbq1s" />
<bpmn:endEvent id="EndEvent_122wwrn" name="IA Complete">
<bpmn:incoming>SequenceFlow_101pxk7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_101pxk7" sourceRef="ExclusiveGateway_1bcbq1s" targetRef="EndEvent_122wwrn" />
<bpmn:serviceTask id="ServiceTask_07qmpvv" name="Generate Post Apply Content">
<bpmn:extensionElements>
<zeebe:taskDefinition type="generate-post-apply-content" />
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1k6u9uj</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1jdjkek</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_1k6u9uj" sourceRef="ExclusiveGateway_00x94gy" targetRef="ServiceTask_07qmpvv" />
<bpmn:sequenceFlow id="SequenceFlow_1jdjkek" sourceRef="ServiceTask_07qmpvv" targetRef="ExclusiveGateway_1bcbq1s" />
</bpmn:process>
<bpmn:message id="Message_19f33ww" name="user-info-received">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="iaUid" />
</bpmn:extensionElements>
</bpmn:message>
<bpmn:message id="Message_0k72zgz" name="sq-answer-received">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="iaUid" />
</bpmn:extensionElements>
</bpmn:message>
<bpmn:message id="Message_0pzgk6o" name="confirmation-received">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="iaUid" />
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="indeed-apply">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="172" y="122" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="159" y="165" width="63" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ServiceTask_09upi4z_di" bpmnElement="ServiceTask_09upi4z">
<dc:Bounds x="260" y="100" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1ea241d_di" bpmnElement="SequenceFlow_1ea241d">
<di:waypoint x="208" y="140" />
<di:waypoint x="260" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_0n98a9l_di" bpmnElement="IntermediateCatchEvent_0n98a9l">
<dc:Bounds x="412" y="122" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="407" y="165" width="46" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1fj0z16_di" bpmnElement="SequenceFlow_1fj0z16">
<di:waypoint x="360" y="140" />
<di:waypoint x="412" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_0wlqwy1_di" bpmnElement="ExclusiveGateway_0wlqwy1" isMarkerVisible="true">
<dc:Bounds x="505" y="115" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0k1gnh8_di" bpmnElement="SequenceFlow_0k1gnh8">
<di:waypoint x="448" y="140" />
<di:waypoint x="505" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_120cg34_di" bpmnElement="IntermediateCatchEvent_120cg34">
<dc:Bounds x="572" y="182" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="562" y="225" width="56" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1xxakdc_di" bpmnElement="SequenceFlow_1xxakdc">
<di:waypoint x="530" y="165" />
<di:waypoint x="530" y="200" />
<di:waypoint x="572" y="200" />
<bpmndi:BPMNLabel>
<dc:Bounds x="540" y="172" width="39" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_0cqo3yf_di" bpmnElement="ExclusiveGateway_0cqo3yf" isMarkerVisible="true">
<dc:Bounds x="625" y="115" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1t9g1ed_di" bpmnElement="SequenceFlow_1t9g1ed">
<di:waypoint x="608" y="200" />
<di:waypoint x="650" y="200" />
<di:waypoint x="650" y="165" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_01cqa58_di" bpmnElement="SequenceFlow_01cqa58">
<di:waypoint x="555" y="140" />
<di:waypoint x="625" y="140" />
<bpmndi:BPMNLabel>
<dc:Bounds x="733" y="213" width="34" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_0guag2z_di" bpmnElement="ServiceTask_0guag2z">
<dc:Bounds x="730" y="100" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_18ksj17_di" bpmnElement="SequenceFlow_18ksj17">
<di:waypoint x="675" y="140" />
<di:waypoint x="730" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_14ks1xg_di" bpmnElement="IntermediateCatchEvent_14ks1xg">
<dc:Bounds x="892" y="122" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="878" y="84.5" width="63" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0g9stu3_di" bpmnElement="SequenceFlow_0g9stu3">
<di:waypoint x="830" y="140" />
<di:waypoint x="892" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1tt2h6e_di" bpmnElement="SequenceFlow_1tt2h6e">
<di:waypoint x="910" y="158" />
<di:waypoint x="910" y="195" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ParallelGateway_00bqex8_di" bpmnElement="ExclusiveGateway_00x94gy">
<dc:Bounds x="885" y="195" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ServiceTask_1g99df6_di" bpmnElement="ServiceTask_1g99df6">
<dc:Bounds x="930" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1qhj9n9_di" bpmnElement="SequenceFlow_1qhj9n9">
<di:waypoint x="935" y="220" />
<di:waypoint x="980" y="220" />
<di:waypoint x="980" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_1ptdqtv_di" bpmnElement="ServiceTask_1ptdqtv">
<dc:Bounds x="790" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_07d71x4_di" bpmnElement="SequenceFlow_07d71x4">
<di:waypoint x="885" y="220" />
<di:waypoint x="840" y="220" />
<di:waypoint x="840" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1e0kgds_di" bpmnElement="SequenceFlow_1e0kgds">
<di:waypoint x="840" y="340" />
<di:waypoint x="840" y="390" />
<di:waypoint x="885" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ParallelGateway_0492n6c_di" bpmnElement="ExclusiveGateway_1bcbq1s">
<dc:Bounds x="885" y="365" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0p5ss5l_di" bpmnElement="SequenceFlow_0p5ss5l">
<di:waypoint x="980" y="340" />
<di:waypoint x="980" y="390" />
<di:waypoint x="935" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_122wwrn_di" bpmnElement="EndEvent_122wwrn">
<dc:Bounds x="892" y="452" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="880" y="495" width="62" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_101pxk7_di" bpmnElement="SequenceFlow_101pxk7">
<di:waypoint x="910" y="415" />
<di:waypoint x="910" y="452" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_07qmpvv_di" bpmnElement="ServiceTask_07qmpvv">
<dc:Bounds x="1070" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1k6u9uj_di" bpmnElement="SequenceFlow_1k6u9uj">
<di:waypoint x="935" y="220" />
<di:waypoint x="1120" y="220" />
<di:waypoint x="1120" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1jdjkek_di" bpmnElement="SequenceFlow_1jdjkek">
<di:waypoint x="1120" y="340" />
<di:waypoint x="1120" y="390" />
<di:waypoint x="935" y="390" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment