Merge branch 'dev' of github.com:sartography/sample-process-models into dev

This commit is contained in:
sartography-automated-committer 2022-12-22 17:13:06 -05:00
commit 2277b88713
22 changed files with 1542 additions and 720 deletions

View File

@ -16,7 +16,12 @@
},
"curr": {
"type": "string",
"title": "Curr"
"title": "Curr",
"enum": [
"USD",
"Euro",
"AUD"
]
}
},
"required": []

View File

@ -1,79 +0,0 @@
{
"title": "Submit New Demand Request-Procurement",
"description": "Submit a new demand request for the procurement of needed items. Does not include Travel or Compensation.",
"properties": {
"requestor": {
"type": "string",
"title": "Requestor"
},
"project": {
"type": "string",
"title": "Project",
"enum": [
"Project 1",
"Project 2",
"Project 3"
]
},
"category": {
"type": "string",
"title": "Category",
"enum": [
" Software & Licences",
"Equipment",
"Consulting Fees",
"Other Fees"
]
},
"sub-category": {
"type": "string",
"title": "Sub-Category",
"enum": [
"Licenses",
"Subscriptions",
"Bounties",
"Coworking"
]
},
"purpose": {
"type": "string",
"title": "Purpose"
},
"criticality": {
"type": "string",
"title": " Criticality",
"enum": [
"High",
"Medium",
"Low"
]
},
"vendor": {
"type": "string",
"title": "Vendor"
},
"period": {
"type": "string",
"title": "Period"
},
"payment-method": {
"type": "string",
"title": "Payment method",
"enum": [
"Bank transfer",
"Debit Card",
"Crypto transfer"
]
},
"currency": {
"type": "string",
"title": "Currency",
"enum": [
"USD",
"Euro",
"AUD"
]
}
},
"required": []
}

View File

@ -1,18 +0,0 @@
{
"period": {
"ui:widget": "date",
"ui:placeholder": "Date when the goods/services should be delivered"
},
"ui:order": [
"requestor",
"project",
"category",
"sub-category",
"purpose",
"criticality",
"vendor",
"period",
"payment-method",
"currency"
]
}

View File

@ -1,4 +1,8 @@
{
"period": {
"ui:widget": "date",
"ui:placeholder": "Date when the goods/services should be delivered"
},
"ui:order": [
"requestor",
"project",

View File

@ -0,0 +1,16 @@
{
"title": "Supporting Info and Files",
"description": "Provide any supporting information or files for your request.",
"properties": {
"more-details": {
"type": "string",
"title": "More Details"
},
"files": {
"type": "string",
"format": "data-url",
"title": "files"
}
},
"required": []
}

View File

@ -0,0 +1,10 @@
{
"more-details": {
"ui:widget": "textarea",
"ui:help": "Enter additional details to support your demand request"
},
"ui:order": [
"more-details",
"files"
]
}

View File

@ -4,38 +4,45 @@
<bpmn:participant id="Participant_0exh9uj" name="Core Contributor" processRef="Raise_New_Demand_Request" />
</bpmn:collaboration>
<bpmn:process id="Raise_New_Demand_Request" name="Raise New Demand Request" isExecutable="true">
<bpmn:exclusiveGateway id="Gateway_19omysq" name="Category?">
<bpmn:incoming>Flow_0v2e2ml</bpmn:incoming>
<bpmn:outgoing>Flow_1mm6uz2</bpmn:outgoing>
<bpmn:outgoing>Flow_0s5jvgp</bpmn:outgoing>
<bpmn:outgoing>Flow_08x110e</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:callActivity id="Activity_1vs8nu6" name="Raise New Demand Request (Compensation)" calledElement="New_Demand_Request-Compensation">
<bpmn:incoming>Flow_08x110e</bpmn:incoming>
<bpmn:outgoing>Flow_1etakrx</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="Activity_1ew2127" name="Raise New Demand Request (Procurement)" calledElement="New_Demand_Request-Procurement">
<bpmn:incoming>Flow_1mm6uz2</bpmn:incoming>
<bpmn:outgoing>Flow_1n2v07t</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="Activity_0uj2dxm" name="Raise New Demand Request (Travel)" calledElement="New_Demand_Request-Travel">
<bpmn:incoming>Flow_0s5jvgp</bpmn:incoming>
<bpmn:outgoing>Flow_1cxxkmt</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="Event_1l2htbr">
<bpmn:incoming>Flow_0498fqn</bpmn:incoming>
</bpmn:endEvent>
<bpmn:exclusiveGateway id="Gateway_1m8umui">
<bpmn:incoming>Flow_1etakrx</bpmn:incoming>
<bpmn:incoming>Flow_1n2v07t</bpmn:incoming>
<bpmn:incoming>Flow_1cxxkmt</bpmn:incoming>
<bpmn:outgoing>Flow_0498fqn</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0z8y9x8</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="Activity_1qcx18z" name="Set Categories">
<bpmn:sequenceFlow id="Flow_0v2e2ml" sourceRef="Activity_1dhb10w" targetRef="Gateway_19omysq" />
<bpmn:sequenceFlow id="Flow_1mm6uz2" name="Procurement" sourceRef="Gateway_19omysq" targetRef="Activity_1ew2127">
<bpmn:conditionExpression>which_category == "procurement"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0s5jvgp" name="Travel" sourceRef="Gateway_19omysq" targetRef="Activity_0uj2dxm">
<bpmn:conditionExpression>which_category == "travel"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_08x110e" name="Compensation" sourceRef="Gateway_19omysq" targetRef="Activity_1vs8nu6">
<bpmn:conditionExpression>which_category == "compensation"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1etakrx" sourceRef="Activity_1vs8nu6" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_1n2v07t" sourceRef="Activity_1ew2127" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_1cxxkmt" sourceRef="Activity_0uj2dxm" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_0498fqn" sourceRef="Gateway_1m8umui" targetRef="Event_1l2htbr" />
<bpmn:sequenceFlow id="Flow_0z8y9x8" sourceRef="StartEvent_1" targetRef="Activity_054mhim" />
<bpmn:sequenceFlow id="Flow_1k3j31g" sourceRef="Activity_1qcx18z" targetRef="Activity_1dhb10w" />
<bpmn:sequenceFlow id="Flow_090lxfa" sourceRef="Activity_054mhim" targetRef="Activity_1qcx18z" />
<bpmn:callActivity id="Activity_054mhim" name="Call SR: Start Process" calledElement="SR-Start_Process">
<bpmn:extensionElements>
<spiffworkflow:preScript />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0z8y9x8</bpmn:incoming>
<bpmn:outgoing>Flow_090lxfa</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:userTask id="Activity_1dhb10w" name="Select Category">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="select-category-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="select-category-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1k3j31g</bpmn:incoming>
<bpmn:outgoing>Flow_0v2e2ml</bpmn:outgoing>
</bpmn:userTask>
<bpmn:scriptTask id="Activity_1qcx18z" name="Set Categories">
<bpmn:incoming>Flow_090lxfa</bpmn:incoming>
<bpmn:outgoing>Flow_1k3j31g</bpmn:outgoing>
<bpmn:script># When available, need to determine if current user is a project lead
# Only projec leads have access to Compensation
@ -54,124 +61,132 @@ which_categories_list = [
}
]</bpmn:script>
</bpmn:scriptTask>
<bpmn:userTask id="Activity_1dhb10w" name="Select Category">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="select-category-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="select-category-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1k3j31g</bpmn:incoming>
<bpmn:outgoing>Flow_0v2e2ml</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0v2e2ml" sourceRef="Activity_1dhb10w" targetRef="Gateway_19omysq" />
<bpmn:sequenceFlow id="Flow_1mm6uz2" name="Procurement" sourceRef="Gateway_19omysq" targetRef="Activity_1ew2127">
<bpmn:conditionExpression>which_category == "procurement"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0s5jvgp" name="Travel" sourceRef="Gateway_19omysq" targetRef="Activity_0uj2dxm">
<bpmn:conditionExpression>which_category == "travel"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_08x110e" name="Compensation" sourceRef="Gateway_19omysq" targetRef="Activity_1vs8nu6">
<bpmn:conditionExpression>which_category == "compensation"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1etakrx" sourceRef="Activity_1vs8nu6" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_1n2v07t" sourceRef="Activity_1ew2127" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_1cxxkmt" sourceRef="Activity_0uj2dxm" targetRef="Gateway_1m8umui" />
<bpmn:sequenceFlow id="Flow_0498fqn" sourceRef="Gateway_1m8umui" targetRef="Event_1l2htbr" />
<bpmn:sequenceFlow id="Flow_0z8y9x8" sourceRef="StartEvent_1" targetRef="Activity_1qcx18z" />
<bpmn:sequenceFlow id="Flow_1k3j31g" sourceRef="Activity_1qcx18z" targetRef="Activity_1dhb10w" />
<bpmn:exclusiveGateway id="Gateway_1m8umui">
<bpmn:incoming>Flow_1etakrx</bpmn:incoming>
<bpmn:incoming>Flow_1n2v07t</bpmn:incoming>
<bpmn:incoming>Flow_1cxxkmt</bpmn:incoming>
<bpmn:outgoing>Flow_0498fqn</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="Event_1l2htbr">
<bpmn:incoming>Flow_0498fqn</bpmn:incoming>
</bpmn:endEvent>
<bpmn:callActivity id="Activity_0uj2dxm" name="Raise New Demand Request (Travel)" calledElement="New_Demand_Request-Travel">
<bpmn:incoming>Flow_0s5jvgp</bpmn:incoming>
<bpmn:outgoing>Flow_1cxxkmt</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="Activity_1ew2127" name="Raise New Demand Request (Procurement)" calledElement="New_Demand_Request-Procurement">
<bpmn:incoming>Flow_1mm6uz2</bpmn:incoming>
<bpmn:outgoing>Flow_1n2v07t</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="Activity_1vs8nu6" name="Raise New Demand Request (Compensation)" calledElement="New_Demand_Request-Compensation">
<bpmn:incoming>Flow_08x110e</bpmn:incoming>
<bpmn:outgoing>Flow_1etakrx</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:exclusiveGateway id="Gateway_19omysq" name="Category?">
<bpmn:incoming>Flow_0v2e2ml</bpmn:incoming>
<bpmn:outgoing>Flow_1mm6uz2</bpmn:outgoing>
<bpmn:outgoing>Flow_0s5jvgp</bpmn:outgoing>
<bpmn:outgoing>Flow_08x110e</bpmn:outgoing>
</bpmn:exclusiveGateway>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1bu6kw8">
<bpmndi:BPMNShape id="Participant_0exh9uj_di" bpmnElement="Participant_0exh9uj" isHorizontal="true">
<dc:Bounds x="190" y="80" width="950" height="410" />
<dc:Bounds x="190" y="80" width="1110" height="410" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_19omysq_di" bpmnElement="Gateway_19omysq" isMarkerVisible="true">
<dc:Bounds x="655" y="255" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="624" y="303" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1hhet0q_di" bpmnElement="Activity_1vs8nu6">
<dc:Bounds x="800" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1eluylu_di" bpmnElement="Activity_1ew2127">
<dc:Bounds x="800" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10tfxp1_di" bpmnElement="Activity_0uj2dxm">
<dc:Bounds x="800" y="390" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l2htbr_di" bpmnElement="Event_1l2htbr">
<dc:Bounds x="1082" y="262" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1m8umui_di" bpmnElement="Gateway_1m8umui" isMarkerVisible="true">
<dc:Bounds x="955" y="255" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="242" y="262" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0k5z9kb_di" bpmnElement="Activity_1qcx18z">
<bpmndi:BPMNShape id="Activity_08nqg47_di" bpmnElement="Activity_054mhim">
<dc:Bounds x="330" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0nc8oeq_di" bpmnElement="Activity_1dhb10w">
<dc:Bounds x="650" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0k5z9kb_di" bpmnElement="Activity_1qcx18z">
<dc:Bounds x="490" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1m8umui_di" bpmnElement="Gateway_1m8umui" isMarkerVisible="true">
<dc:Bounds x="1115" y="255" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l2htbr_di" bpmnElement="Event_1l2htbr">
<dc:Bounds x="1242" y="262" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10tfxp1_di" bpmnElement="Activity_0uj2dxm">
<dc:Bounds x="960" y="390" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1eluylu_di" bpmnElement="Activity_1ew2127">
<dc:Bounds x="960" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1hhet0q_di" bpmnElement="Activity_1vs8nu6">
<dc:Bounds x="960" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_19omysq_di" bpmnElement="Gateway_19omysq" isMarkerVisible="true">
<dc:Bounds x="815" y="255" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="784" y="303" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0v2e2ml_di" bpmnElement="Flow_0v2e2ml">
<di:waypoint x="590" y="280" />
<di:waypoint x="655" y="280" />
<di:waypoint x="750" y="280" />
<di:waypoint x="815" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1mm6uz2_di" bpmnElement="Flow_1mm6uz2">
<di:waypoint x="705" y="280" />
<di:waypoint x="800" y="280" />
<di:waypoint x="865" y="280" />
<di:waypoint x="960" y="280" />
<bpmndi:BPMNLabel>
<dc:Bounds x="706" y="262" width="63" height="14" />
<dc:Bounds x="866" y="262" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0s5jvgp_di" bpmnElement="Flow_0s5jvgp">
<di:waypoint x="680" y="305" />
<di:waypoint x="680" y="430" />
<di:waypoint x="800" y="430" />
<di:waypoint x="840" y="305" />
<di:waypoint x="840" y="430" />
<di:waypoint x="960" y="430" />
<bpmndi:BPMNLabel>
<dc:Bounds x="722" y="413" width="31" height="14" />
<dc:Bounds x="882" y="413" width="31" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08x110e_di" bpmnElement="Flow_08x110e">
<di:waypoint x="680" y="255" />
<di:waypoint x="680" y="140" />
<di:waypoint x="800" y="140" />
<di:waypoint x="840" y="255" />
<di:waypoint x="840" y="140" />
<di:waypoint x="960" y="140" />
<bpmndi:BPMNLabel>
<dc:Bounds x="694" y="123" width="71" height="14" />
<dc:Bounds x="854" y="123" width="71" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1etakrx_di" bpmnElement="Flow_1etakrx">
<di:waypoint x="900" y="140" />
<di:waypoint x="980" y="140" />
<di:waypoint x="980" y="255" />
<di:waypoint x="1060" y="140" />
<di:waypoint x="1140" y="140" />
<di:waypoint x="1140" y="255" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n2v07t_di" bpmnElement="Flow_1n2v07t">
<di:waypoint x="900" y="280" />
<di:waypoint x="955" y="280" />
<di:waypoint x="1060" y="280" />
<di:waypoint x="1115" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cxxkmt_di" bpmnElement="Flow_1cxxkmt">
<di:waypoint x="900" y="430" />
<di:waypoint x="980" y="430" />
<di:waypoint x="980" y="305" />
<di:waypoint x="1060" y="430" />
<di:waypoint x="1140" y="430" />
<di:waypoint x="1140" y="305" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0498fqn_di" bpmnElement="Flow_0498fqn">
<di:waypoint x="1005" y="280" />
<di:waypoint x="1082" y="280" />
<di:waypoint x="1165" y="280" />
<di:waypoint x="1242" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0z8y9x8_di" bpmnElement="Flow_0z8y9x8">
<di:waypoint x="278" y="280" />
<di:waypoint x="330" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1k3j31g_di" bpmnElement="Flow_1k3j31g">
<di:waypoint x="590" y="280" />
<di:waypoint x="650" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_090lxfa_di" bpmnElement="Flow_090lxfa">
<di:waypoint x="430" y="280" />
<di:waypoint x="490" y="280" />
</bpmndi:BPMNEdge>

View File

@ -0,0 +1,80 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.6.0" camunda:diagramRelationId="90585b47-c41e-4414-8a35-65e0247fd456">
<bpmn:process id="RNDR-Define_Approval_Strategy" name="RNDR: Define Approval Strategy" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Input for Approval strategy has been gathered">
<bpmn:outgoing>Flow_0zfse3j</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Activity_1ux86r6" name="Get Team/Project_Lead Info">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="bamboohr/GetEmployeeInfo">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="employee_id" type="str" value="111" />
<spiffworkflow:parameter id="fields" type="str" value="&#39;supervisorEmail,supervisorId,supervisorEid&#39;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0zfse3j</bpmn:incoming>
<bpmn:outgoing>Flow_093kc2f</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_1aday4x" name="Approval strategy has been defined">
<bpmn:incoming>Flow_1v3yxjj</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0zfse3j" sourceRef="StartEvent_1" targetRef="Activity_1ux86r6" />
<bpmn:sequenceFlow id="Flow_093kc2f" sourceRef="Activity_1ux86r6" targetRef="Activity_0qkcxjo" />
<bpmn:businessRuleTask id="Activity_0qkcxjo" name="Identify SMEs list">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>RNDR-SME_List</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_093kc2f</bpmn:incoming>
<bpmn:outgoing>Flow_1v3yxjj</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_1v3yxjj" sourceRef="Activity_0qkcxjo" targetRef="Event_1aday4x" />
<bpmn:textAnnotation id="TextAnnotation_1hsid93">
<bpmn:text>BBHR</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_0sekykw" sourceRef="Activity_1ux86r6" targetRef="TextAnnotation_1hsid93" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="RNDR-Define_Approval_Strategy">
<bpmndi:BPMNShape id="BPMNShape_0j8unwd" bpmnElement="StartEvent_1">
<dc:Bounds x="182" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="156" y="205" width="88" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1p7ixj1" bpmnElement="Activity_1ux86r6">
<dc:Bounds x="290" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_183roy9" bpmnElement="Event_1aday4x">
<dc:Bounds x="622" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="598" y="205" width="86" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_13zacf3_di" bpmnElement="Activity_0qkcxjo">
<dc:Bounds x="460" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0g7sm2j" bpmnElement="TextAnnotation_1hsid93">
<dc:Bounds x="290" y="80" width="100" height="30" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_08ukdn9" bpmnElement="Flow_0zfse3j">
<di:waypoint x="218" y="180" />
<di:waypoint x="290" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_1b03gbf" bpmnElement="Flow_093kc2f">
<di:waypoint x="390" y="180" />
<di:waypoint x="460" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1v3yxjj_di" bpmnElement="Flow_1v3yxjj">
<di:waypoint x="560" y="180" />
<di:waypoint x="622" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_18ob2wk" bpmnElement="Association_0sekykw">
<di:waypoint x="340" y="140" />
<di:waypoint x="340" y="110" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="RNDR-SME_List" name="RNDR:SME List">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Category">
<inputExpression id="inputExpression_1" typeRef="string">
<text></text>
</inputExpression>
</input>
<input id="InputClause_1ecire7" label="Sub-Category">
<inputExpression id="LiteralExpression_0gsipwo" typeRef="string">
<text></text>
</inputExpression>
</input>
<output id="output_1" label="SME" name="sme" typeRef="string" />
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="RNDR-SME_List">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,11 @@
{
"description": "Gather common information at the start of process",
"display_name": "Start Process",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "start-process.bpmn",
"primary_process_id": "SR-Start_Process"
}

View File

@ -0,0 +1,65 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.6.0">
<bpmn:process id="SR-Start_Process" name="Shared Resources: Start Process" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1u7dtsr</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1u7dtsr" sourceRef="StartEvent_1" targetRef="Activity_0i59o4c" />
<bpmn:scriptTask id="Activity_0i59o4c" name="Get Process Info" scriptFormat="python">
<bpmn:documentation>Returns dictionary like:
"process_info": {
"process_instance_id": 96,
"process_model_identifier": "execute-procure-to-pay/cc-invoice-approval-process"
},</bpmn:documentation>
<bpmn:incoming>Flow_1u7dtsr</bpmn:incoming>
<bpmn:outgoing>Flow_1m5aamy</bpmn:outgoing>
<bpmn:script># Get Process Info
process_info = get_process_info()
# Set User Instruction Text
which_user_task = "invoice-approval"</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="Event_1ghzw9d">
<bpmn:incoming>Flow_00fd8n9</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1m5aamy" sourceRef="Activity_0i59o4c" targetRef="Activity_0yoy91y" />
<bpmn:sequenceFlow id="Flow_00fd8n9" sourceRef="Activity_0yoy91y" targetRef="Event_1ghzw9d" />
<bpmn:callActivity id="Activity_0yoy91y" name="Call SR: User Info" calledElement="SR-User_Info">
<bpmn:extensionElements>
<spiffworkflow:preScript />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1m5aamy</bpmn:incoming>
<bpmn:outgoing>Flow_00fd8n9</bpmn:outgoing>
</bpmn:callActivity>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="SR-Start_Process">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1f0swho_di" bpmnElement="Activity_0i59o4c">
<dc:Bounds x="270" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ghzw9d_di" bpmnElement="Event_1ghzw9d">
<dc:Bounds x="632" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_18fbf94_di" bpmnElement="Activity_0yoy91y">
<dc:Bounds x="440" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1u7dtsr_di" bpmnElement="Flow_1u7dtsr">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1m5aamy_di" bpmnElement="Flow_1m5aamy">
<di:waypoint x="370" y="117" />
<di:waypoint x="440" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00fd8n9_di" bpmnElement="Flow_00fd8n9">
<di:waypoint x="540" y="117" />
<di:waypoint x="632" y="117" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "",
"display_name": "Natalia Test",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": null,
"primary_process_id": null
}

View File

@ -0,0 +1,13 @@
<?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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_s7q1h75" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_s7q1h75">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,38 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_475lft9f" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0sjdt4n</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0sjdt4n" sourceRef="StartEvent_1" targetRef="Activity_11eezfn" />
<bpmn:endEvent id="Event_1duk0qt">
<bpmn:incoming>Flow_02r6v10</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_02r6v10" sourceRef="Activity_11eezfn" targetRef="Event_1duk0qt" />
<bpmn:manualTask id="Activity_11eezfn" name="Test">
<bpmn:incoming>Flow_0sjdt4n</bpmn:incoming>
<bpmn:outgoing>Flow_02r6v10</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_475lft9">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1duk0qt_di" bpmnElement="Event_1duk0qt">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_189okuw_di" bpmnElement="Activity_11eezfn">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0sjdt4n_di" bpmnElement="Flow_0sjdt4n">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02r6v10_di" bpmnElement="Flow_02r6v10">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,54 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:collaboration id="Collaboration_1145i5a">
<bpmn:participant id="Participant_0tj7ogf" processRef="Process_bd2e724" />
<bpmn:participant id="Participant_13cbco0" />
<bpmn:messageFlow id="Flow_0raayz6" sourceRef="Activity_1fhs1dk" targetRef="Participant_13cbco0" />
</bpmn:collaboration>
<bpmn:process id="Process_bd2e724" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_07a55w5</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_07a55w5" sourceRef="StartEvent_1" targetRef="Activity_1fhs1dk" />
<bpmn:manualTask id="Activity_1fhs1dk" name="Submit invoice">
<bpmn:incoming>Flow_07a55w5</bpmn:incoming>
<bpmn:outgoing>Flow_18acpea</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_0lewvsn">
<bpmn:incoming>Flow_18acpea</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_18acpea" sourceRef="Activity_1fhs1dk" targetRef="Event_0lewvsn" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1145i5a">
<bpmndi:BPMNShape id="Participant_0tj7ogf_di" bpmnElement="Participant_0tj7ogf" isHorizontal="true">
<dc:Bounds x="129" y="52" width="391" height="250" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_18acpea_di" bpmnElement="Flow_18acpea">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07a55w5_di" bpmnElement="Flow_07a55w5">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0le6et2_di" bpmnElement="Activity_1fhs1dk">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0lewvsn_di" bpmnElement="Event_0lewvsn">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Participant_0evz1qk_di" bpmnElement="Participant_13cbco0" isHorizontal="true">
<dc:Bounds x="129" y="340" width="391" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0raayz6_di" bpmnElement="Flow_0raayz6">
<di:waypoint x="320" y="217" />
<di:waypoint x="320" y="340" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "",
"display_name": "Natalia Test2",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "1.bpmn",
"primary_process_id": "Process_lay4fq7"
}

View File

@ -0,0 +1,11 @@
{
"description": "Assemble basic user information from Bamboo and if applicable, other sources",
"display_name": "User Info",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "user-info.bpmn",
"primary_process_id": "SR-User_Info"
}

View File

@ -0,0 +1,171 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.6.0">
<bpmn:process id="SR-User_Info" name="Shared Resources: User Info" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1q8xtg6</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1q8xtg6" sourceRef="StartEvent_1" targetRef="Activity_1fkr6s9" />
<bpmn:businessRuleTask id="Activity_0v13afu" name="Get User Info">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>SR-User_Info</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_05s4pvl</bpmn:incoming>
<bpmn:outgoing>Flow_08nmyrt</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_0fb034d">
<bpmn:incoming>Flow_1gd83n0</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_08nmyrt" sourceRef="Activity_0v13afu" targetRef="Gateway_0xlrnzx" />
<bpmn:exclusiveGateway id="Gateway_0xlrnzx" name="Current User?" default="Flow_0i96b90">
<bpmn:incoming>Flow_08nmyrt</bpmn:incoming>
<bpmn:outgoing>Flow_0i96b90</bpmn:outgoing>
<bpmn:outgoing>Flow_0d47w7r</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0i96b90" name="Yes" sourceRef="Gateway_0xlrnzx" targetRef="Activity_1a9fimb" />
<bpmn:sequenceFlow id="Flow_020y0gy" sourceRef="Activity_1a9fimb" targetRef="Activity_1uw66e8" />
<bpmn:sequenceFlow id="Flow_0d47w7r" name="No" sourceRef="Gateway_0xlrnzx" targetRef="Gateway_0byohhl">
<bpmn:conditionExpression>not(isCurrentUser)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:scriptTask id="Activity_1a9fimb" name="Update Current User Extras" scriptFormat="python">
<bpmn:incoming>Flow_0i96b90</bpmn:incoming>
<bpmn:outgoing>Flow_020y0gy</bpmn:outgoing>
<bpmn:script># Update Current User Extras
current_user_extras = {}
current_user_extras["bamboo_api_id"] = userBambooId
current_user_extras["full_name"] = userFullName
current_user_extras["first_name"] = userFirstName
current_user_extras["email"] = userEmail
current_user_extras["time_zone"] = userTimeZone
current_user_extras["date_format"] = userDateFormat
current_user_extras["time_format"] = userTimeFormat
current_user_extras["status_key"] = userStatusKey
del(userFullName)
del (userFirstName)
del(userEmail)
del(userTimeZone)
del(userStatusKey)
del(userBambooId)
del(userDateFormat)
del(userTimeFormat)</bpmn:script>
</bpmn:scriptTask>
<bpmn:serviceTask id="Activity_1uw66e8" name="Get User Info From Bamboo">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="bamboohr/GetEmployeeInfo" resultVariable="resp_BambooUserInfo">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="employee_id" type="str" value="current_user_extras[&#34;bamboo_api_id&#34;]" />
<spiffworkflow:parameter id="fields" type="str" value="&#39;supervisorEmail,supervisorId,supervisorEid&#39;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_020y0gy</bpmn:incoming>
<bpmn:outgoing>Flow_009u4d4</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_009u4d4" sourceRef="Activity_1uw66e8" targetRef="Activity_1y04pbx" />
<bpmn:exclusiveGateway id="Gateway_0byohhl">
<bpmn:incoming>Flow_0d47w7r</bpmn:incoming>
<bpmn:incoming>Flow_18ri6tq</bpmn:incoming>
<bpmn:outgoing>Flow_1gd83n0</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1gd83n0" sourceRef="Gateway_0byohhl" targetRef="Event_0fb034d" />
<bpmn:sequenceFlow id="Flow_18ri6tq" sourceRef="Activity_1y04pbx" targetRef="Gateway_0byohhl" />
<bpmn:scriptTask id="Activity_1y04pbx" name="Add Bamboo Info to Extras">
<bpmn:incoming>Flow_009u4d4</bpmn:incoming>
<bpmn:outgoing>Flow_18ri6tq</bpmn:outgoing>
<bpmn:script># Add Bamboo Info to Extras
current_user_extras["bamboo_supervisor_api_id"] = resp_BambooUserInfo["supervisorEid"]
current_user_extras["bamboo_supervisor_email"] = userBambooId = resp_BambooUserInfo["supervisorEmail"]
current_user_extras["bamboo_supervisor_status_id"] = userBambooId = resp_BambooUserInfo["supervisorId"]</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_05s4pvl" sourceRef="Activity_1fkr6s9" targetRef="Activity_0v13afu" />
<bpmn:scriptTask id="Activity_1fkr6s9" name="Set Defaults">
<bpmn:incoming>Flow_1q8xtg6</bpmn:incoming>
<bpmn:outgoing>Flow_05s4pvl</bpmn:outgoing>
<bpmn:script># If not previously set, set find_user to current_user
try:
find_user
except NameError:
find_user = current_user["username"]
isCurrentUser = True</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="SR-User_Info">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="2" y="209" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0hlcuhi_di" bpmnElement="Activity_0v13afu">
<dc:Bounds x="270" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0fb034d_di" bpmnElement="Event_0fb034d">
<dc:Bounds x="1262" y="209" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0xlrnzx_di" bpmnElement="Gateway_0xlrnzx" isMarkerVisible="true">
<dc:Bounds x="435" y="202" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="426" y="259" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0rvcg5l_di" bpmnElement="Activity_1a9fimb">
<dc:Bounds x="570" y="187" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0nftxgp_di" bpmnElement="Activity_1uw66e8">
<dc:Bounds x="760" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0byohhl_di" bpmnElement="Gateway_0byohhl" isMarkerVisible="true">
<dc:Bounds x="1115" y="202" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0xiz5vq_di" bpmnElement="Activity_1y04pbx">
<dc:Bounds x="940" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1azbkzp_di" bpmnElement="Activity_1fkr6s9">
<dc:Bounds x="100" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1q8xtg6_di" bpmnElement="Flow_1q8xtg6">
<di:waypoint x="38" y="227" />
<di:waypoint x="100" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08nmyrt_di" bpmnElement="Flow_08nmyrt">
<di:waypoint x="370" y="227" />
<di:waypoint x="435" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0i96b90_di" bpmnElement="Flow_0i96b90">
<di:waypoint x="485" y="227" />
<di:waypoint x="570" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="519" y="209" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_020y0gy_di" bpmnElement="Flow_020y0gy">
<di:waypoint x="670" y="227" />
<di:waypoint x="760" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0d47w7r_di" bpmnElement="Flow_0d47w7r">
<di:waypoint x="460" y="202" />
<di:waypoint x="460" y="110" />
<di:waypoint x="1140" y="110" />
<di:waypoint x="1140" y="202" />
<bpmndi:BPMNLabel>
<dc:Bounds x="805" y="83" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_009u4d4_di" bpmnElement="Flow_009u4d4">
<di:waypoint x="860" y="227" />
<di:waypoint x="940" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gd83n0_di" bpmnElement="Flow_1gd83n0">
<di:waypoint x="1165" y="227" />
<di:waypoint x="1262" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18ri6tq_di" bpmnElement="Flow_18ri6tq">
<di:waypoint x="1040" y="227" />
<di:waypoint x="1115" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_05s4pvl_di" bpmnElement="Flow_05s4pvl">
<di:waypoint x="200" y="227" />
<di:waypoint x="270" y="227" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,326 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="SR-User_Info_DMN" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.6.0">
<decision id="SR-User_Info" name="SR: User Info">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Current User Name">
<inputExpression id="inputExpression_1" typeRef="string">
<text>find_user</text>
</inputExpression>
</input>
<output id="OutputClause_1oev368" label="Bamboo Id" name="userBambooId" typeRef="number" />
<output id="OutputClause_0eljwih" label="User Full Name" name="userFullName" typeRef="string" biodi:width="150" />
<output id="output_1" label="User First Name" name="userFirstName" typeRef="string" biodi:width="150" />
<output id="OutputClause_1axux1h" label="User Email" name="userEmail" typeRef="string" />
<output id="OutputClause_0gw5ri4" label="Time Zone" name="userTimeZone" typeRef="string" biodi:width="150" />
<output id="OutputClause_1st1u0b" label="Date Format" name="userDateFormat" typeRef="string" biodi:width="150" />
<output id="OutputClause_10hq77p" label="Time Format" name="userTimeFormat" typeRef="string" biodi:width="150" />
<output id="OutputClause_0ahusqn" label="User Status Key" name="userStatusKey" typeRef="string" biodi:width="345" />
<rule id="DecisionRule_1l69hzf">
<description>Alex</description>
<inputEntry id="UnaryTests_1na48u1">
<text>"alex"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1e6ggkw">
<text>111</text>
</outputEntry>
<outputEntry id="LiteralExpression_14fgasw">
<text>"Alex Herron"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0bupwij">
<text>"Alex"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1m2u6h2">
<text>"alex@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1doyiax">
<text>"US/Eastern"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1bcfo2g">
<text>"MDY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0d04toj">
<text>"24"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0icv921">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1yzx66p">
<description>Natalie</description>
<inputEntry id="UnaryTests_1s0iidm">
<text>"natalia"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1v4jfvp">
<text>115</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qe399a">
<text>"Natalia Forminykh"</text>
</outputEntry>
<outputEntry id="LiteralExpression_06prbd2">
<text>"Natalia"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0fvaacd">
<text>"natalie@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0gdert4">
<text>"US/Eastern"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ftqzd0">
<text>"MDY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1yzexff">
<text>"24"</text>
</outputEntry>
<outputEntry id="LiteralExpression_08hhe1i">
<text>"0x04cf9f835bfb5f5b94b4c6f36378fd14bde09960a4d021928981125d314fa423fa79cde37003b9c6135b52dc20734590dcac5a68b73af74d58060628b2c531faf1"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1k1spje">
<description>zQ3shjbmAQ8QsCwBTPGumhzzBM1iKs29VuHojm2z4EF8yYGCZ</description>
<inputEntry id="UnaryTests_0oqd60u">
<text>"harmeet"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ssoyp6">
<text>109</text>
</outputEntry>
<outputEntry id="LiteralExpression_1vosaqw">
<text>"Harmeet Singh"</text>
</outputEntry>
<outputEntry id="LiteralExpression_16fw7tv">
<text>"Harmeet"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1jvsn2y">
<text>"harmeet@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0m3c15b">
<text>"Australia/Sydney"</text>
</outputEntry>
<outputEntry id="LiteralExpression_13714pl">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0g7vbjc">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_17irqzm">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_09gqyf5">
<description>0x04eac0dfbdb475e903e816f1ab9b193f0dd0c404226923c7035cee08f39d6730ffda5c4fc7c8f515a5e08ed9c31a88a1d1039defb72a3cbd2b93935f00f261b144</description>
<inputEntry id="UnaryTests_1dzinm9">
<text>"manuchehr"</text>
</inputEntry>
<outputEntry id="LiteralExpression_03eca2k">
<text>110</text>
</outputEntry>
<outputEntry id="LiteralExpression_0kwg6fy">
<text>"Manuchehr Ebrahimi"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1wsqgj0">
<text>"Manuchehr"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1dhy0f8">
<text>"manuchehr@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_19l22vj">
<text>"Europe/Stockholm"</text>
</outputEntry>
<outputEntry id="LiteralExpression_15yrbjh">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1v6w849">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0s1pij2">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1o5dmnv">
<description>zQ3shwDqFxGXHvbCeQxTURrtSTCH4UtPHaEDu5LgNMpsjtqdF</description>
<inputEntry id="UnaryTests_083zqcu">
<text>"sasha"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1bnavqs">
<text>112</text>
</outputEntry>
<outputEntry id="LiteralExpression_1e5htkw">
<text>"Sasha Yarokhovich"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0iacvjx">
<text>"Sasha"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0782t50">
<text>"sasha@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_18gxlyc">
<text>"Asia/Dubai"</text>
</outputEntry>
<outputEntry id="LiteralExpression_152gttc">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1hf4i4e">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ukwcft">
<text>"zQ3shwDqFxGXHvbCeQxTURrtSTCH4UtPHaEDu5LgNMpsjtqdF"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ny1kbv">
<inputEntry id="UnaryTests_04wpkth">
<text>"dan"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1uohg3k">
<text>109</text>
</outputEntry>
<outputEntry id="LiteralExpression_1oagdg3">
<text>"Dan Funk"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0hsack9">
<text>"Dan"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1mrid7r">
<text>"dan@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0dyudyu">
<text>"US/Eastern"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ojm57d">
<text>"MDY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0zk69kn">
<text>"24"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ekv2yi">
<text>"0x0446110e95957e47ae83eac486951502a1fc3f217477268dc1855bab58394cda27762d6e74df882c497c67e0ea8e65bf7f890443967815c6c988dde37762cd8a22"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_06rmwkt">
<description>0x048736f0d79be71d64b364d7172691a1053ef882017f02657bc2131c40a9e2e32cb87d35930a7410dada1818e2165f4bce671b805d08247de6333206dabab0aaee</description>
<inputEntry id="UnaryTests_1ku5lpv">
<text>"core"</text>
</inputEntry>
<outputEntry id="LiteralExpression_00yn7a4">
<text>113</text>
</outputEntry>
<outputEntry id="LiteralExpression_0zs01km">
<text>"Core Contributor"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1dqf4hn">
<text>"Core"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1fnmq0a">
<text>"core@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0l9am8v">
<text>"Australia/Sydney"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1fk9328">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_02yc5m5">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ao80ll">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_09x98qh">
<description>0x04c3e87c880510000f3be0152905ab11c6e5c899fd580f4c76fc050a2d99cd2a9f034eafdde7385a31b2aee790bd67d7668dba17d6f282c8c5592488f4f4c4fe33</description>
<inputEntry id="UnaryTests_1hojvo7">
<text>"fin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0c8wxo2">
<text>118</text>
</outputEntry>
<outputEntry id="LiteralExpression_1kf375s">
<text>"Finance Member"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tar18g">
<text>"Finance"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0j5r21r">
<text>"finance@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_05gtswl">
<text>"Asia/Dubai"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1dyrlzm">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_09dgmjd">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_11hx099">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_13ao0ay">
<description>0x04eac0dfbdb475e903e816f1ab9b193f0dd0c404226923c7035cee08f39d6730ffda5c4fc7c8f515a5e08ed9c31a88a1d1039defb72a3cbd2b93935f00f261b144</description>
<inputEntry id="UnaryTests_1q0potj">
<text>"lead"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pfwxee">
<text>114</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ws6izs">
<text>"Project Lead"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0e69j87">
<text>"Lead"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1m8cgi2">
<text>"lead@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_189qs3x">
<text>"Europe/Stockholm"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1gcl5nq">
<text>"DMY"</text>
</outputEntry>
<outputEntry id="LiteralExpression_12e7n3a">
<text>"48"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1q22y1h">
<text>"0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1yb19ri">
<description>Not Found</description>
<inputEntry id="UnaryTests_1un7lx4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1y0co15">
<text>109</text>
</outputEntry>
<outputEntry id="LiteralExpression_1nkmx6s">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1bdfr9n">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0awsocz">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_05221xe">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0dkcujm">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_12dqcto">
<text>"not found"</text>
</outputEntry>
<outputEntry id="LiteralExpression_12lvx9z">
<text>"not found"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="SR-User_Info">
<dc:Bounds height="80" width="180" x="157" y="81" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,38 @@
<?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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_1g8zid0" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1x2zlxe</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:task id="Activity_0w05dju">
<bpmn:incoming>Flow_1x2zlxe</bpmn:incoming>
<bpmn:outgoing>Flow_0ww15ns</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_1x2zlxe" sourceRef="StartEvent_1" targetRef="Activity_0w05dju" />
<bpmn:endEvent id="Event_15nzq61">
<bpmn:incoming>Flow_0ww15ns</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0ww15ns" sourceRef="Activity_0w05dju" targetRef="Event_15nzq61" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1g8zid0">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0w05dju_di" bpmnElement="Activity_0w05dju">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_15nzq61_di" bpmnElement="Event_15nzq61">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1x2zlxe_di" bpmnElement="Flow_1x2zlxe">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ww15ns_di" bpmnElement="Flow_0ww15ns">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "",
"display_name": "testing",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "a.bpmn",
"primary_process_id": "Process_1g8zid0"
}