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

This commit is contained in:
Jon Herron 2022-12-27 16:33:05 -05:00
commit 10b24b929c
99 changed files with 11317 additions and 1376 deletions

41
dan/dmn-error/test1.bpmn Normal file
View File

@ -0,0 +1,41 @@
<?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="3.0.0-dev">
<bpmn:process id="Proccess_lciuw8t" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1dklsvb</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1dklsvb" sourceRef="StartEvent_1" targetRef="Activity_0u3187y" />
<bpmn:endEvent id="Event_19pa6jx">
<bpmn:incoming>Flow_0bvjrjo</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0bvjrjo" sourceRef="Activity_0u3187y" targetRef="Event_19pa6jx" />
<bpmn:businessRuleTask id="Activity_0u3187y">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Check_Amount_Documentation_Submit_Invoice</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1dklsvb</bpmn:incoming>
<bpmn:outgoing>Flow_0bvjrjo</bpmn:outgoing>
</bpmn:businessRuleTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_lciuw8t">
<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_19pa6jx_di" bpmnElement="Event_19pa6jx">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1bl5y18_di" bpmnElement="Activity_0u3187y">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1dklsvb_di" bpmnElement="Flow_1dklsvb">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bvjrjo_di" bpmnElement="Flow_0bvjrjo">
<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,12 @@
{
"description": "Testing DMN",
"display_name": "DMN Error",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "dan/dmn-error",
"is_review": false,
"primary_file_name": "test1.bpmn",
"primary_process_id": "Proccess_lciuw8t"
}

44
dan/dmn-error/x_to_y.dmn Normal file
View File

@ -0,0 +1,44 @@
<?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="Check_Amount_Documentation_Submit_Invoice" name="My Check Amount">
<decisionTable id="decisionTable_1">
<input id="input_1">
<inputExpression id="inputExpression_1" typeRef="string">
<text>x</text>
</inputExpression>
</input>
<output id="output_1" name="y" typeRef="string" />
<rule id="DecisionRule_14q2jwl">
<inputEntry id="UnaryTests_0pynigj">
<text>1</text>
</inputEntry>
<outputEntry id="LiteralExpression_10c6qh7">
<text>1000</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1g8ep0n">
<inputEntry id="UnaryTests_1lcnkwk">
<text>2</text>
</inputEntry>
<outputEntry id="LiteralExpression_001g5xs">
<text>3000</text>
</outputEntry>
</rule>
<rule id="DecisionRule_02gugra">
<inputEntry id="UnaryTests_0h7h26u">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0p5mowl">
<text>4000</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_Amount_Documentation_Submit_Invoice">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

25
dan/process_group.json Normal file
View File

@ -0,0 +1,25 @@
{
"admin": false,
"description": "Dan's Tests",
"display_name": "Dan",
"display_order": 1,
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Set up groups and permissions",
"display_name": "Set Permissions",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "dan/set-permissions",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "permissions.bpmn",
"primary_process_id": "Process_81k3gh6",
"process_group": null,
"sort_index": "dan/set-permissions"
}
]
}

View File

@ -0,0 +1,164 @@
<?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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="groups_to_permissions" name="Groups to Permissions">
<decisionTable id="decisionTable_1" hitPolicy="COLLECT">
<input id="input_1" biodi:width="150">
<inputExpression id="inputExpression_1" typeRef="string">
<text>"*"</text>
</inputExpression>
</input>
<output id="OutputClause_14rq1xp" name="permission_groups" typeRef="string" />
<output id="output_1" name="permissions" typeRef="string" biodi:width="279" />
<output id="OutputClause_1d0f70s" name="permission_uris" typeRef="string" biodi:width="254" />
<rule id="DecisionRule_13uhk78">
<description>Admins have access to everything.</description>
<inputEntry id="UnaryTests_1yb5tu4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_00aw971">
<text>"admin"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1drtsn8">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_13n9min">
<text>"ALL"
</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ush1di">
<inputEntry id="UnaryTests_0ajhuce">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0w3207v">
<text>"education"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mhnzp3">
<text>["create", "read", "update", "delete"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0t37e9p">
<text>"/process-groups/education:*"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0kcffrp">
<inputEntry id="UnaryTests_10ga6h2">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ujmqk1">
<text>"organization"</text>
</outputEntry>
<outputEntry id="LiteralExpression_09f42eh">
<text>["create", "read", "update", "delete"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0edy3e8">
<text>"/process-groups/education:*"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_15ava6l">
<inputEntry id="UnaryTests_1d8q18o">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_143ih01">
<text>"Finance Team"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0aaakd4">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_031h3bx">
<text>"PG:manage-procurement:procurement"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ev5071">
<inputEntry id="UnaryTests_0rmdeuf">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1db9u0f">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tf5fq7">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_19v58sy">
<text>"PM:manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_16waes0">
<inputEntry id="UnaryTests_1si0twd">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_03bfkxs">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0a2vmfc">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1hiq5xs">
<text>"PG:manage-procurement:procurement:core-contributor-invoice-management"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ps58js">
<inputEntry id="UnaryTests_0mmu39q">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1j2pibl">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0f635r8">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_18qbym6">
<text>"PG:manage-procurement:vendor-lifecycle-management"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_04wbkm7">
<inputEntry id="UnaryTests_0rbr6bh">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1ubfxe8">
<text>"test"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1f0vzm8">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1uyihda">
<text>"PG:misc:test"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0y6tpc1">
<inputEntry id="UnaryTests_0idup89">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0jn02bx">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qw2qs5">
<text>["read"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1671tcs">
<text>"PG:ALL"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0vxd5xq">
<inputEntry id="UnaryTests_18ra8iv">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_09upqcm">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qu6sf0">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mnqz8y">
<text>"BASIC"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="groups_to_permissions">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,287 @@
<?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="3.0.0-dev">
<bpmn:process id="Process_81k3gh6" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_04t49zv</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_04t49zv" sourceRef="StartEvent_1" targetRef="Activity_0fqwhd1" />
<bpmn:sequenceFlow id="Flow_0q5cs4y" sourceRef="Activity_0pdrn26" targetRef="Activity_1jexxm1" />
<bpmn:businessRuleTask id="Activity_0fqwhd1" name="Determine Users Group">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>users_to_groups</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_04t49zv</bpmn:incoming>
<bpmn:outgoing>Flow_194nkr6</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Activity_0iom85m" name="Determine Permissions">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>groups_to_permissions</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_194nkr6</bpmn:incoming>
<bpmn:outgoing>Flow_0fhzucf</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:manualTask id="Activity_0pdrn26" name="Display Proposed Permissions">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># Permission for each group
When you select continue, the following permissions will be written to the database.
{% for group in group_info %}
---
## {{group['name']}} Group
**Users in Group:**
{% for user in group['users'] %}
* {{ user }}
{% endfor %}
**Permissions:**
| Path | Allowed Actions |
| ---------------| -------|
{% for permission in group['permissions'] %}
| {{permission['uri']}} | {{ permission['actions'] |join(', ') }} |
{% endfor %}
{% endfor %}
</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0f4klqg</bpmn:incoming>
<bpmn:outgoing>Flow_0q5cs4y</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_194nkr6" sourceRef="Activity_0fqwhd1" targetRef="Activity_0iom85m" />
<bpmn:sequenceFlow id="Flow_132k5th" sourceRef="Activity_1jexxm1" targetRef="Activity_0ino532" />
<bpmn:scriptTask id="Activity_1jexxm1" name="Set Permissions">
<bpmn:incoming>Flow_0q5cs4y</bpmn:incoming>
<bpmn:outgoing>Flow_132k5th</bpmn:outgoing>
<bpmn:script># clear_permissions() ## Clears all groups and permissions from the system. EXCEPT ...
for group in group_info:
for user in group['users']:
add_user_to_group(user, group['name'])
for permission in group['permissions']:
for crud_op in permission['actions']:
add_permission(crud_op, permission['uri'], group['name'])
all_permissions = get_all_permissions()</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_0ino532" name="Show Actual Permissions">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>| Group | Path | Allowed Actions |
| ---------------| -------| ------|
{% for permission in all_permissions %}
| {{permission['group_identifier']}} | {{permission['uri']}} | {{permission['permissions']}}
{% endfor %}</spiffworkflow:instructionsForEndUser>
<spiffworkflow:postScript>del(all_permissions)</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_132k5th</bpmn:incoming>
<bpmn:outgoing>Flow_1ozuh1f</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_0f4klqg" sourceRef="Activity_0jt9kr1" targetRef="Activity_0pdrn26" />
<bpmn:scriptTask id="Activity_0jt9kr1" name="merge lists">
<bpmn:extensionElements>
<spiffworkflow:unitTests>
<spiffworkflow:unitTest id="Two Records Test">
<spiffworkflow:inputJson>{
"groups": [
"Administrators"
],
"users": [
"admin@spiffworkflow.org"
],
"permission_groups": [
"Administrators"
],
"permission_uris": [
"/*"
],
"permissions": [
[
"create",
"read",
"update",
"delete"
]
]
}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"group_info": [
{
"name":"Administrators",
"permissions": [
{"actions": [
"create","read","update","delete"
],
"uri": "/*"
}
],
"users": ["admin@spiffworkflow.org"]
}
]
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
<spiffworkflow:unitTest id="Second Test">
<spiffworkflow:inputJson>{
"groups": [
"Administrators",
"Everyone"
],
"users": [
"admin@spiffworkflow.org",
"*"
],
"permission_groups": [
"Administrators",
"Everyone"
],
"permission_uris": [
"/*",
"/*"
],
"permissions": [
[
"create",
"read",
"update",
"delete"
],
[
"read"
]
]
}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"group_info": [
{
"name": "Administrators",
"permissions": [
{
"actions": [
"create",
"read",
"update",
"delete"
],
"uri": "/*"
}
],
"users": [
"admin@spiffworkflow.org"
]
},
{
"name": "Everyone",
"permissions": [
{
"actions": [
"read"
],
"uri": "/*"
}
],
"users": [
"*"
]
}
]
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
</spiffworkflow:unitTests>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0fhzucf</bpmn:incoming>
<bpmn:outgoing>Flow_0f4klqg</bpmn:outgoing>
<bpmn:script>info_by_group = {}
for i, group in enumerate(groups):
if not group in info_by_group:
info_by_group[group] = {"users":[], "permissions": []}
info_by_group[group]["users"].append(users[i])
for i, group in enumerate(permission_groups):
if not group in info_by_group:
info_by_group[group] = {"users":[], "permissions": []}
info_by_group[group]["permissions"].append(
{"uri": permission_uris[i],
"actions": permissions[i]}
)
group_info = []
for group in info_by_group.keys():
group_info.append({
"name": group,
"users": info_by_group[group]['users'],
"permissions": info_by_group[group]['permissions']
})
del(info_by_group)
del(group)
del(i)
del(groups)
del(permissions)
del(permission_groups)
del(permission_uris)
del(users)</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0fhzucf" sourceRef="Activity_0iom85m" targetRef="Activity_0jt9kr1" />
<bpmn:sequenceFlow id="Flow_1ozuh1f" sourceRef="Activity_0ino532" targetRef="Event_0nbfjnu" />
<bpmn:endEvent id="Event_0nbfjnu">
<bpmn:incoming>Flow_1ozuh1f</bpmn:incoming>
</bpmn:endEvent>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_81k3gh6">
<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_1afo4x3_di" bpmnElement="Activity_0fqwhd1">
<dc:Bounds x="280" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0e33fg2_di" bpmnElement="Activity_0iom85m">
<dc:Bounds x="440" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_16w91n5_di" bpmnElement="Activity_0pdrn26">
<dc:Bounds x="780" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0x17g2k_di" bpmnElement="Activity_1jexxm1">
<dc:Bounds x="940" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fj3k0v_di" bpmnElement="Activity_0jt9kr1">
<dc:Bounds x="610" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0nbfjnu_di" bpmnElement="Event_0nbfjnu">
<dc:Bounds x="1272" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h17v78_di" bpmnElement="Activity_0ino532">
<dc:Bounds x="1110" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_04t49zv_di" bpmnElement="Flow_04t49zv">
<di:waypoint x="215" y="177" />
<di:waypoint x="280" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0q5cs4y_di" bpmnElement="Flow_0q5cs4y">
<di:waypoint x="880" y="177" />
<di:waypoint x="940" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_194nkr6_di" bpmnElement="Flow_194nkr6">
<di:waypoint x="380" y="177" />
<di:waypoint x="440" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_132k5th_di" bpmnElement="Flow_132k5th">
<di:waypoint x="1040" y="177" />
<di:waypoint x="1110" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0f4klqg_di" bpmnElement="Flow_0f4klqg">
<di:waypoint x="710" y="177" />
<di:waypoint x="780" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0fhzucf_di" bpmnElement="Flow_0fhzucf">
<di:waypoint x="540" y="177" />
<di:waypoint x="610" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ozuh1f_di" bpmnElement="Flow_1ozuh1f">
<di:waypoint x="1210" y="177" />
<di:waypoint x="1272" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "Set up groups and permissions",
"display_name": "Set Permissions",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "permissions.bpmn",
"primary_process_id": "Process_81k3gh6"
}

View File

@ -0,0 +1,20 @@
{
"title": "Select User",
"description": "If the following user logged in ...",
"type": "object",
"required": [
"user"
],
"properties": {
"user": {
"title": "Select a user from the dropdown list",
"type": "string",
"enum": [
"Nelson",
"Malala",
"Harriet",
"Martin"
]
}
}
}

View File

@ -0,0 +1,65 @@
<?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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="users_to_groups" name="Users to Groups">
<decisionTable id="decisionTable_1" hitPolicy="COLLECT" biodi:annotationsWidth="400">
<input id="input_1" biodi:width="150">
<inputExpression id="inputExpression_1" typeRef="string">
<text>"*"</text>
</inputExpression>
</input>
<output id="OutputClause_0vrbi1j" label="users" typeRef="string" />
<output id="output_1" name="groups" typeRef="Any" biodi:width="262" />
<rule id="DecisionRule_1xwvp7b">
<inputEntry id="UnaryTests_01wus0h">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_18kwlie">
<text>"admin@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ykubgu">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1rbbrcv">
<inputEntry id="UnaryTests_0u0oanl">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1r771e1">
<text>"nelson@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0z6b50n">
<text>"organization"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_05sdhrp">
<inputEntry id="UnaryTests_0pp8xqw">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0zv6pu2">
<text>"malala@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_07m82fl">
<text>"education"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1jn6v9t">
<inputEntry id="UnaryTests_1srdiy4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1bz7u65">
<text>r".*"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ibpvtx">
<text>"everybody"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="users_to_groups">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Portfolio Project Governance and Manage change",
"display_name": "Develop and Manage Business Capabilities",
"display_order": 2,
"display_order": 3,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Define the business concept and long-term vision, business strategy, strategic initiatives and business models.",
"display_name": "Develop Vision and Strategy",
"display_order": 1,
"display_order": 2,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "",
"display_name": "Manage Business Development",
"display_order": 3,
"display_order": 4,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Manage Finance policies and compliance, General Accounting, Manage inter-company transactions, Accounts Payable, Accounts Receivable, Assets Accounting, Payroll, Manage Financial Planning&Analysis and Manage Period-End Closing process",
"display_name": "Manage Finance",
"display_order": 4,
"display_order": 5,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Execute IS/IT Services & Operations, Security risk management and Manage Infrastructure",
"display_name": "Manage Information & Security",
"display_order": 5,
"display_order": 6,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "",
"display_name": "Manage Marketing",
"display_order": 6,
"display_order": 7,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,9 +2,270 @@
"admin": false,
"description": "Sourcing & Category management, Vendor Contract & Service Agreements, Vendor Lifecycle management and Procurement [ID: 07]",
"display_name": "Manage Procurement",
"display_order": 7,
"display_order": 8,
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "Analyse Needs, Markets & Costs & Vendors and Select & Certify Vendors",
"display_name": "Sourcing & Category Management",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "",
"display_name": "Analyse Needs, Markets & Costs & Vendors",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management/analyse-needs-markets-costs-vendors",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Analyse Needs, Markets & Costs & Vendors"
},
{
"admin": false,
"description": "",
"display_name": "Select & Certify Vendors",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management/select-certify-vendors",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Select & Certify Vendors"
}
],
"process_models": [],
"sort_index": "Sourcing & Category Management"
},
{
"admin": false,
"description": "Requisition Order Management, Purchase Orders Management, Goods or Services Receipt, Vendor Invoice Management and Core Contributor Invoice management",
"display_name": "Procurement",
"display_order": 0,
"id": "manage-procurement/procurement",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "",
"display_name": "Requisition Order Management",
"display_order": 0,
"id": "manage-procurement/procurement/requisition-order-management",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "New Compensation Demand Request",
"display_name": "New Demand Request - Compensation",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/requisition-order-management/new-demand-request-compensation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "raise-new-demand-request-compensation.bpmn",
"primary_process_id": "New_Demand_Request-Compensation",
"process_group": null,
"sort_index": "manage-procurement/procurement/requisition-order-management/new-demand-request-compensation"
},
{
"description": "New Procurement Demand Request",
"display_name": "New Demand Request - Procurement",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/requisition-order-management/new-demand-request-procurement",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "raise-new-demand-request-procurement.bpmn",
"primary_process_id": "New_Demand_Request-Procurement",
"process_group": null,
"sort_index": "manage-procurement/procurement/requisition-order-management/new-demand-request-procurement"
},
{
"description": "New Travel Demand Request",
"display_name": "New Demand Request - Travel",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/requisition-order-management/new-demand-request-travel",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "raise-new-demand-request-travel.bpmn",
"primary_process_id": "New_Demand_Request-Travel",
"process_group": null,
"sort_index": "manage-procurement/procurement/requisition-order-management/new-demand-request-travel"
},
{
"description": "Raise New Procurement, Travel or Compensation Demand Request",
"display_name": "Raise New Demand Request",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/requisition-order-management/raise-new-demand-request",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "raise_new_demand_request-master.bpmn",
"primary_process_id": "Raise_New_Demand_Request",
"process_group": null,
"sort_index": "manage-procurement/procurement/requisition-order-management/raise-new-demand-request"
}
],
"sort_index": "Requisition Order Management"
},
{
"admin": false,
"description": "",
"display_name": "Goods or Services Receipt",
"display_order": 0,
"id": "manage-procurement/procurement/goods-or-services-receipt",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Goods or Services Receipt"
},
{
"admin": false,
"description": "Core Contributor Invoice Approval",
"display_name": "CC Invoice Management",
"display_order": 0,
"id": "manage-procurement/procurement/core-contributor-invoice-management",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Approval of Core Contributor's Invoice Submission",
"display_name": "CC Invoice Approval",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "cc-invoice-approval-process-v2.bpmn",
"primary_process_id": "Process_cc_invoice_approval_process_v2_a",
"process_group": null,
"sort_index": "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"
}
],
"sort_index": "CC Invoice Management"
},
{
"admin": false,
"description": "",
"display_name": "Purchase Orders Management",
"display_order": 0,
"id": "manage-procurement/procurement/purchase-orders-management",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Purchase Orders Management"
},
{
"admin": false,
"description": "Vendor Invoice Approval",
"display_name": "Vendor Invoice Management",
"display_order": 0,
"id": "manage-procurement/procurement/vendor-invoice-management",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Vendor Invoice Approval",
"display_name": "Vendor Invoice Approval",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/vendor-invoice-management/invoice-approval",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_66ri4tx",
"process_group": null,
"sort_index": "manage-procurement/procurement/vendor-invoice-management/invoice-approval"
}
],
"sort_index": "Vendor Invoice Management"
}
],
"process_models": [],
"sort_index": "Procurement"
},
{
"admin": false,
"description": "Contract negotiation, Contract review and approvals, Signing and Archiving contracts, Post-closing management (monitoring) and Manage templates and documents storage",
"display_name": "Vendor Contract & Service Agreements",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "",
"display_name": "Manage templates and documents storage",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/manage-templates-and-documents-storage",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Manage templates and documents storage"
},
{
"admin": false,
"description": "",
"display_name": "Contract review and approvals",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/contract-review-and-approvals",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Contract review and approvals"
},
{
"admin": false,
"description": "",
"display_name": "Post-closing management (monitoring)",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/post-closing-management-monitoring",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Post-closing management (monitoring)"
},
{
"admin": false,
"description": "",
"display_name": "Signing and Archiving contracts",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/signing-and-archiving-contracts",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Signing and Archiving contracts"
},
{
"admin": false,
"description": "",
"display_name": "Contract negotiation",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/contract-negotiation",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Contract negotiation"
}
],
"process_models": [],
"sort_index": "Vendor Contract & Service Agreements"
},
{
"admin": false,
"description": "Vendor onboarding, Vendor MD maintenance, Vendor Off-boarding and Vendors Performance Evaluation & Vendors Complaints",
@ -41,6 +302,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/vendor-lifecycle-management/vendor-md-maintenance/vendor-md-block",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-temp.bpmn",
"primary_process_id": "Process_wgurtf9",
@ -55,6 +317,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/vendor-lifecycle-management/vendor-md-maintenance/vendor-md-change",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-temp.bpmn",
"primary_process_id": "Process_qxymt0e",
@ -69,6 +332,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/vendor-lifecycle-management/vendor-md-maintenance/vendor-md-creation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-temp.bpmn",
"primary_process_id": "Process_yvdpqlq",
@ -78,17 +342,6 @@
],
"sort_index": "Vendor MD maintenance"
},
{
"admin": false,
"description": "",
"display_name": "Vendor Off-boarding",
"display_order": 0,
"id": "manage-procurement/vendor-lifecycle-management/vendor-off-boarding",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Vendor Off-boarding"
},
{
"admin": false,
"description": "",
@ -99,208 +352,21 @@
"process_groups": [],
"process_models": [],
"sort_index": "Vendors Performance Evaluation & Vendors Complaints"
},
{
"admin": false,
"description": "",
"display_name": "Vendor Off-boarding",
"display_order": 0,
"id": "manage-procurement/vendor-lifecycle-management/vendor-off-boarding",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Vendor Off-boarding"
}
],
"process_models": [],
"sort_index": "Vendor Lifecycle Management"
},
{
"admin": false,
"description": "Requisition Order Management, Purchase Orders Management, Goods or Services Receipt, Vendor Invoice Management and Core Contributor Invoice management",
"display_name": "Procurement",
"display_order": 0,
"id": "manage-procurement/procurement",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "Vendor Invoice Approval",
"display_name": "Vendor Invoice Management",
"display_order": 0,
"id": "manage-procurement/procurement/vendor-invoice-management",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Vendor Invoice Approval",
"display_name": "Vendor Invoice Approval",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/vendor-invoice-management/invoice-approval",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_66ri4tx",
"process_group": null,
"sort_index": "manage-procurement/procurement/vendor-invoice-management/invoice-approval"
}
],
"sort_index": "Vendor Invoice Management"
},
{
"admin": false,
"description": "",
"display_name": "Purchase Orders Management",
"display_order": 0,
"id": "manage-procurement/procurement/purchase-orders-management",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Purchase Orders Management"
},
{
"admin": false,
"description": "",
"display_name": "Requisition Order Management",
"display_order": 0,
"id": "manage-procurement/procurement/requisition-order-management",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Requisition Order Management"
},
{
"admin": false,
"description": "Core Contributor Invoice Approval",
"display_name": "CC Invoice Management",
"display_order": 0,
"id": "manage-procurement/procurement/core-contributor-invoice-management",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Approval of Core Contributor's Invoice Submission",
"display_name": "CC Invoice Approval",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval",
"parent_groups": null,
"primary_file_name": "cc-invoice-approval-process-v2.bpmn",
"primary_process_id": "Process_cc_invoice_approval_process_v2_a",
"process_group": null,
"sort_index": "manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"
}
],
"sort_index": "CC Invoice Management"
},
{
"admin": false,
"description": "",
"display_name": "Goods or Services Receipt",
"display_order": 0,
"id": "manage-procurement/procurement/goods-or-services-receipt",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Goods or Services Receipt"
}
],
"process_models": [],
"sort_index": "Procurement"
},
{
"admin": false,
"description": "Analyse Needs, Markets & Costs & Vendors and Select & Certify Vendors",
"display_name": "Sourcing & Category Management",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "",
"display_name": "Select & Certify Vendors",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management/select-certify-vendors",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Select & Certify Vendors"
},
{
"admin": false,
"description": "",
"display_name": "Analyse Needs, Markets & Costs & Vendors",
"display_order": 0,
"id": "manage-procurement/sourcing-category-management/analyse-needs-markets-costs-vendors",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Analyse Needs, Markets & Costs & Vendors"
}
],
"process_models": [],
"sort_index": "Sourcing & Category Management"
},
{
"admin": false,
"description": "Contract negotiation, Contract review and approvals, Signing and Archiving contracts, Post-closing management (monitoring) and Manage templates and documents storage",
"display_name": "Vendor Contract & Service Agreements",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "",
"display_name": "Contract negotiation",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/contract-negotiation",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Contract negotiation"
},
{
"admin": false,
"description": "",
"display_name": "Signing and Archiving contracts",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/signing-and-archiving-contracts",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Signing and Archiving contracts"
},
{
"admin": false,
"description": "",
"display_name": "Contract review and approvals",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/contract-review-and-approvals",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Contract review and approvals"
},
{
"admin": false,
"description": "",
"display_name": "Post-closing management (monitoring)",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/post-closing-management-monitoring",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Post-closing management (monitoring)"
},
{
"admin": false,
"description": "",
"display_name": "Manage templates and documents storage",
"display_order": 0,
"id": "manage-procurement/vendor-contract-service-agreements/manage-templates-and-documents-storage",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Manage templates and documents storage"
}
],
"process_models": [],
"sort_index": "Vendor Contract & Service Agreements"
}
],
"process_models": []

View File

@ -2,11 +2,6 @@
<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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Waku_Messages_Message_Body" name="Waku Messages: Message Body">
<decisionTable id="decisionTable_1">
<input id="InputClause_01x5qqp" label="Process Model Id" biodi:width="349">
<inputExpression id="LiteralExpression_0m2cn7h" typeRef="string">
<text>process_info["process_model_identifier"]</text>
</inputExpression>
</input>
<input id="InputClause_1cqeh6g" label="Task Id" biodi:width="254">
<inputExpression id="LiteralExpression_0ioto2j" typeRef="string">
<text>task_id</text>
@ -29,9 +24,6 @@
</input>
<output id="output_1" label="Message Body" name="waku_message_body" typeRef="string" biodi:width="532" />
<rule id="DecisionRule_05kyeu8">
<inputEntry id="UnaryTests_1bdf6i0">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1w8fhi9">
<text>"waku_invoice_submitted"</text>
</inputEntry>
@ -49,9 +41,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1tbh4zu">
<inputEntry id="UnaryTests_1wwhury">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_09sdx7c">
<text>"waku_payment_pending_ismatch"</text>
</inputEntry>
@ -69,9 +58,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1f99vwz">
<inputEntry id="UnaryTests_0g0vr80">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1m5ktce">
<text>"waku_payment_pending_not_ismatch"</text>
</inputEntry>
@ -89,9 +75,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1o253qj">
<inputEntry id="UnaryTests_14apazl">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1w1fy1f">
<text>"waku_invoice_rejected_ismatch"</text>
</inputEntry>
@ -109,9 +92,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_12npkto">
<inputEntry id="UnaryTests_00k1ecu">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_01elx40">
<text>"waku_invoice_rejected_ismatch"</text>
</inputEntry>
@ -129,9 +109,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1fsmo6y">
<inputEntry id="UnaryTests_0gfys7d">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0br4fie">
<text>"waku_invoice_rejected_not_ismatch_not_pl_approve"</text>
</inputEntry>
@ -149,9 +126,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1955f0y">
<inputEntry id="UnaryTests_0jzkuld">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1ll25at">
<text>"waku_invoice_rejected_not_ismatch_not_pl_approve"</text>
</inputEntry>
@ -169,9 +143,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1jbtx5i">
<inputEntry id="UnaryTests_0hlthm5">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1hnyfo7">
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
</inputEntry>
@ -189,9 +160,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0lz9jzm">
<inputEntry id="UnaryTests_0gglkj3">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1euab6x">
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
</inputEntry>
@ -209,9 +177,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0jirsd8">
<inputEntry id="UnaryTests_0i90dzr">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0f4sig0">
<text>"waku_notify_finance"</text>
</inputEntry>
@ -229,9 +194,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1jw4h85">
<inputEntry id="UnaryTests_0ecdfsh">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1ddqyad">
<text>"waku_notify_project_lead"</text>
</inputEntry>
@ -249,9 +211,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1sqor96">
<inputEntry id="UnaryTests_0j5tr8f">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0kn31ob">
<text>"waku_no_team_lead_response"</text>
</inputEntry>
@ -269,9 +228,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0zxv93p">
<inputEntry id="UnaryTests_0v20opd">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0j8l83a">
<text></text>
</inputEntry>
@ -289,9 +245,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_06a0nz0">
<inputEntry id="UnaryTests_1jc1ny3">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1a9kee1">
<text></text>
</inputEntry>

View File

@ -2,11 +2,6 @@
<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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Waku_Messages_Message_Variables" name="Waku Messages: Message Variables">
<decisionTable id="decisionTable_1">
<input id="InputClause_1rhgijj" label="Process Model Id" biodi:width="346">
<inputExpression id="LiteralExpression_0u14meu" typeRef="string">
<text>process_info["process_model_identifier"]</text>
</inputExpression>
</input>
<input id="InputClause_0qwblqb" label="Task Id" biodi:width="257">
<inputExpression id="LiteralExpression_08g5cr5" typeRef="string">
<text>task_id</text>
@ -30,9 +25,6 @@
<output id="output_1" label="Message Variables" name="waku_message_variables" typeRef="string" biodi:width="539" />
<rule id="DecisionRule_0kll1at">
<description>Row 1</description>
<inputEntry id="UnaryTests_1kytcl4">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1ke62jr">
<text>"waku_invoice_rejected_not_ismatch_not_pl_approve"</text>
</inputEntry>
@ -51,9 +43,6 @@
</rule>
<rule id="DecisionRule_11t3qpe">
<description>Row 2</description>
<inputEntry id="UnaryTests_0nfkjo9">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0w1qe6z">
<text>"waku_invoice_rejected_not_ismatch_not_pl_approve"</text>
</inputEntry>
@ -72,9 +61,6 @@
</rule>
<rule id="DecisionRule_1ejqucj">
<description>Row 5</description>
<inputEntry id="UnaryTests_0yhtxz8">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1e1bbtf">
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
</inputEntry>
@ -92,9 +78,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_00j8zx8">
<inputEntry id="UnaryTests_0dsfkn4">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_02hg66v">
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
</inputEntry>
@ -112,9 +95,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0wvim73">
<inputEntry id="UnaryTests_0qotgqf">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0kuie90">
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
</inputEntry>
@ -132,9 +112,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1nf5wac">
<inputEntry id="UnaryTests_1pjsxfs">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1g24wk4">
<text></text>
</inputEntry>
@ -153,9 +130,6 @@
</rule>
<rule id="DecisionRule_0ox5iuo">
<description>Row 3</description>
<inputEntry id="UnaryTests_16atgik">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_044o0h7">
<text></text>
</inputEntry>
@ -174,9 +148,6 @@
</rule>
<rule id="DecisionRule_05cl9wi">
<description>Row 4</description>
<inputEntry id="UnaryTests_13wp0uc">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1ibvecu">
<text></text>
</inputEntry>
@ -194,9 +165,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0paylzd">
<inputEntry id="UnaryTests_07d179o">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_06p9kwj">
<text></text>
</inputEntry>
@ -214,9 +182,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_0hgyht9">
<inputEntry id="UnaryTests_05q1cbz">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_1sdje83">
<text></text>
</inputEntry>
@ -234,9 +199,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_1qzpy76">
<inputEntry id="UnaryTests_0qmp0gr">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0zpo58j">
<text></text>
</inputEntry>
@ -255,9 +217,6 @@
</rule>
<rule id="DecisionRule_03x15pb">
<description>Row 6</description>
<inputEntry id="UnaryTests_18haku4">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_0gvqsdd">
<text></text>
</inputEntry>
@ -276,9 +235,6 @@
</rule>
<rule id="DecisionRule_1fx8nt7">
<description>Row 7</description>
<inputEntry id="UnaryTests_0zi766o">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_15r7oaf">
<text></text>
</inputEntry>
@ -296,9 +252,6 @@
</outputEntry>
</rule>
<rule id="DecisionRule_17uvzqt">
<inputEntry id="UnaryTests_11yqbrg">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1it8sci">
<text></text>
</inputEntry>

View File

@ -0,0 +1,85 @@
<?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="3.0.0-dev">
<bpmn:process id="Waku_Messages_Message" name="Waku Messages: Message" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0056x0e</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:businessRuleTask id="Activity_0xuhps4" name="Get Waku Message Body">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Body</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0056x0e</bpmn:incoming>
<bpmn:outgoing>Flow_0vmjtgx</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Activity_1pstq0l" name="Get Waku Message Variables">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Variables</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0vmjtgx</bpmn:incoming>
<bpmn:outgoing>Flow_1503oql</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_0hgb9d6">
<bpmn:incoming>Flow_1b2tmcm</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1b2tmcm" sourceRef="Activity_1ll59ee" targetRef="Event_0hgb9d6" />
<bpmn:scriptTask id="Activity_1ll59ee" name="Set Message" scriptFormat="python">
<bpmn:incoming>Flow_1fj1y80</bpmn:incoming>
<bpmn:outgoing>Flow_1b2tmcm</bpmn:outgoing>
<bpmn:script># Set Message
waku_message = waku_message_body + waku_message_timestamp + waku_message_variables + waku_message_footer</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0056x0e" sourceRef="StartEvent_1" targetRef="Activity_0xuhps4" />
<bpmn:sequenceFlow id="Flow_0vmjtgx" sourceRef="Activity_0xuhps4" targetRef="Activity_1pstq0l" />
<bpmn:sequenceFlow id="Flow_1503oql" sourceRef="Activity_1pstq0l" targetRef="Call_Shared_Waku_Messages_Global" />
<bpmn:callActivity id="Call_Shared_Waku_Messages_Global" name="Call Shared: Waku Messages Global" calledElement="Shared_Waku_Messages_Global">
<bpmn:incoming>Flow_1503oql</bpmn:incoming>
<bpmn:outgoing>Flow_1fj1y80</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1fj1y80" sourceRef="Call_Shared_Waku_Messages_Global" targetRef="Activity_1ll59ee" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Waku_Messages_Message">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="32" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vm75gb_di" bpmnElement="Activity_0xuhps4">
<dc:Bounds x="130" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1soux7h_di" bpmnElement="Activity_1pstq0l">
<dc:Bounds x="290" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ulftcx_di" bpmnElement="Call_Shared_Waku_Messages_Global">
<dc:Bounds x="450" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h667no_di" bpmnElement="Activity_1ll59ee">
<dc:Bounds x="640" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hgb9d6_di" bpmnElement="Event_0hgb9d6">
<dc:Bounds x="812" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1b2tmcm_di" bpmnElement="Flow_1b2tmcm">
<di:waypoint x="740" y="180" />
<di:waypoint x="812" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0056x0e_di" bpmnElement="Flow_0056x0e">
<di:waypoint x="68" y="180" />
<di:waypoint x="130" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0vmjtgx_di" bpmnElement="Flow_0vmjtgx">
<di:waypoint x="230" y="180" />
<di:waypoint x="290" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1503oql_di" bpmnElement="Flow_1503oql">
<di:waypoint x="390" y="180" />
<di:waypoint x="450" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1fj1y80_di" bpmnElement="Flow_1fj1y80">
<di:waypoint x="550" y="180" />
<di:waypoint x="640" y="180" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "New Compensation Demand Request",
"display_name": "New Demand Request - Compensation",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "raise-new-demand-request-compensation.bpmn",
"primary_process_id": "New_Demand_Request-Compensation"
}

View File

@ -0,0 +1,28 @@
{
"title": "Demand Request Items",
"description": "Itemized list of all items included in this demand request.",
"properties": {
"item": {
"type": "string",
"title": "Item"
},
"qty": {
"type": "string",
"title": "Qty"
},
"unit-price": {
"type": "number",
"title": "Unit price"
},
"curr": {
"type": "string",
"title": "Curr",
"enum": [
"USD",
"Euro",
"AUD"
]
}
},
"required": []
}

View File

@ -0,0 +1,8 @@
{
"ui:order": [
"item",
"qty",
"unit-price",
"curr"
]
}

View File

@ -0,0 +1,11 @@
{
"description": "New Procurement Demand Request",
"display_name": "New Demand Request - Procurement",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "raise-new-demand-request-procurement.bpmn",
"primary_process_id": "New_Demand_Request-Procurement"
}

View File

@ -0,0 +1,9 @@
{
"type": "object",
"properties": {
"isProceed": {
"type": "boolean",
"title": "Submit Request?"
}
}
}

View File

@ -0,0 +1,7 @@
{
"isProceed": {
"ui:autofocus": true,
"ui:widget": "radio",
"ui:help": "Select Yes to submit demand request, No to return form and make changes"
}
}

View File

@ -0,0 +1,79 @@
{
"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

@ -0,0 +1,18 @@
{
"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

@ -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

@ -0,0 +1,11 @@
{
"description": "New Travel Demand Request",
"display_name": "New Demand Request - Travel",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "raise-new-demand-request-travel.bpmn",
"primary_process_id": "New_Demand_Request-Travel"
}

View File

@ -0,0 +1,958 @@
<?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="e2ca1956-ba04-4aae-a05b-5712b18fb9da">
<bpmn:collaboration id="Collaboration_11kan0p">
<bpmn:documentation>Name of the process - Raise New Demand Request
Process Goal - To collect and review all purchase requests and prepare them for the procurement steps.
Trigger - Purchase need has been identified by a Core Contributor.
Customer - Service Units and Core Contributors
Actors - Core Contributor, Team/Project Lead (Budget Owner),
Systems/Environment -
Data objects -
Process Description - WIP
</bpmn:documentation>
<bpmn:participant id="New_Demand_Request-Travel_Pool" name="New Demand Request-Travel Pool" processRef="New_Demand_Request-Travel">
<bpmn:documentation>Name of the process - Raise Travel Request
Process Goal - Get approval for the traveling and expenses associated
Trigger - Event date is approaching/an event has been identified
Actors - Core Contributor, Project/Team Lead, PeopleOps Partner, Finance manager
Customer - Core Contributor, PeopleOps partner
Steps and decision points -
Data objects - New Demand Request, Budget
Systems/Environment - Spiff, BBHR, StatusApp, GSheets?</bpmn:documentation>
</bpmn:participant>
</bpmn:collaboration>
<bpmn:process id="New_Demand_Request-Travel" name="New Demand Request-Travel" isExecutable="true">
<bpmn:documentation>https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:laneSet id="LaneSet_0suizaw">
<bpmn:lane id="Lane_0txefzi" name="PeopleOps Partner">
<bpmn:flowNodeRef>Event_1t6m3yh</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0q98cm9</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1j55qwu</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0zszjko</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1s3p42s</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1w5tu4w</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1b4cvmw</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0r84cpb</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_05wvlyg</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1mrq305" name="Core Contributor">
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0rfep3p</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_14j5ul9</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_05le46k</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0iwcrxf</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0kqyhb0</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_04uftwi</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0jhske2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0fid0s2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1fvwi9n</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_18vuhhf</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0yi6n6n</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1dfvwgx</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1v4rxu0</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0tt12kf</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0mcmk2b</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0scax7o</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1i8r1i2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1g0fyse</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1xs01k4</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_14t9kgu</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0sanoz6</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1tozxks" name="Budget Owner">
<bpmn:flowNodeRef>Gateway_1k61xs7</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_12tt6fj</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0moag4v</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_05470yw</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_14fif5h</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0klocsj</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0ry9118</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_04utv09</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_057tit8</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1a63r3x</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1d1z27s</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1oyx0u3</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:dataObjectReference id="DataObjectReference_12gd7nc" dataObjectRef="message_Request_Rejected" />
<bpmn:dataObjectReference id="DataObjectReference_0pe0se7" dataObjectRef="New_Demand_Request" />
<bpmn:startEvent id="StartEvent_1" name="CC&#39;s travel need for Status has been identified">
<bpmn:outgoing>Flow_0mbb848</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:callActivity id="Activity_0rfep3p" name="Call Shared: Get Form Data" calledElement="Get_Form_Data">
<bpmn:outgoing>Flow_0v7se5y</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:exclusiveGateway id="Gateway_14j5ul9">
<bpmn:incoming>Flow_0v7se5y</bpmn:incoming>
<bpmn:outgoing>Flow_17tshyf</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_05le46k" name="Submit a New Travel request">
<bpmn:documentation>https://www.figma.com/file/9NP2BUoLuwHUCGStvDMgOw/Form?node-id=0%3A1&amp;t=LWR3p6ApVs4DqSSD-0</bpmn:documentation>
<bpmn:incoming>Flow_17tshyf</bpmn:incoming>
<bpmn:incoming>Flow_02l4yqt</bpmn:incoming>
<bpmn:incoming>Flow_0xw1gem</bpmn:incoming>
<bpmn:outgoing>Flow_1ipb2ul</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0itfogn">
<bpmn:targetRef>DataObjectReference_070iy0o</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:userTask>
<bpmn:inclusiveGateway id="Gateway_0iwcrxf" name="Sub-categories selected">
<bpmn:incoming>Flow_1ipb2ul</bpmn:incoming>
<bpmn:outgoing>Flow_0hpzx53</bpmn:outgoing>
<bpmn:outgoing>Flow_0sn1b3k</bpmn:outgoing>
<bpmn:outgoing>Flow_1ydkj7x</bpmn:outgoing>
<bpmn:outgoing>Flow_1yd4u6b</bpmn:outgoing>
<bpmn:outgoing>Flow_1ggeeyf</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:inclusiveGateway id="Gateway_0kqyhb0">
<bpmn:incoming>Flow_0mw61by</bpmn:incoming>
<bpmn:incoming>Flow_15jbopb</bpmn:incoming>
<bpmn:incoming>Flow_0mcrbva</bpmn:incoming>
<bpmn:incoming>Flow_008xbhz</bpmn:incoming>
<bpmn:incoming>Flow_11q18td</bpmn:incoming>
<bpmn:outgoing>Flow_1qb7cb6</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:userTask id="Activity_04uftwi" name="Submit Meals">
<bpmn:incoming>Flow_1yd4u6b</bpmn:incoming>
<bpmn:outgoing>Flow_15jbopb</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_0jhske2" name="Submit Flights">
<bpmn:incoming>Flow_0sn1b3k</bpmn:incoming>
<bpmn:outgoing>Flow_0mcrbva</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_0fid0s2" name="Submit Accommodation">
<bpmn:incoming>Flow_0hpzx53</bpmn:incoming>
<bpmn:outgoing>Flow_0mw61by</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_1fvwi9n" name="Submit Transportation">
<bpmn:incoming>Flow_1ydkj7x</bpmn:incoming>
<bpmn:outgoing>Flow_008xbhz</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_18vuhhf" name="Submit Tickets">
<bpmn:incoming>Flow_1ggeeyf</bpmn:incoming>
<bpmn:outgoing>Flow_11q18td</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Activity_0yi6n6n" name="Additional info - Send Waku message to CC">
<bpmn:outgoing>Flow_1svl4e2</bpmn:outgoing>
<bpmn:outgoing>Flow_02l4yqt</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0l83tqf">
<bpmn:targetRef>DataObjectReference_08v14vn</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:dataObjectReference id="DataObjectReference_08v14vn" name="Message Additional Info" dataObjectRef="message_Additional_info" />
<bpmn:dataObject id="message_Additional_info" />
<bpmn:exclusiveGateway id="Gateway_1k61xs7">
<bpmn:incoming>Flow_0b5yksq</bpmn:incoming>
<bpmn:incoming>Flow_0ck5jwb</bpmn:incoming>
<bpmn:incoming>Flow_1svl4e2</bpmn:incoming>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_1dfvwgx" name="Show Review">
<bpmn:incoming>Flow_1qb7cb6</bpmn:incoming>
<bpmn:outgoing>Flow_16xbljt</bpmn:outgoing>
</bpmn:userTask>
<bpmn:scriptTask id="Activity_1v4rxu0" name="Group info">
<bpmn:documentation>to consolidate info for Approver</bpmn:documentation>
<bpmn:incoming>Flow_0smwz5e</bpmn:incoming>
<bpmn:outgoing>Flow_0cznde0</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1v4h8k8">
<bpmn:targetRef>DataObjectReference_1fmxy5c</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:scriptTask>
<bpmn:dataObjectReference id="DataObjectReference_1fmxy5c" name="New Demand Request" dataObjectRef="New_Demand_Request" />
<bpmn:callActivity id="Activity_0tt12kf" name="Call Shared: Define Approval strategy" calledElement="Define_Approval_Strategy">
<bpmn:incoming>Flow_15mb4wr</bpmn:incoming>
<bpmn:outgoing>Flow_0vw379z</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:intermediateThrowEvent id="Event_0mcmk2b" name="New Demand Request is submitted">
<bpmn:incoming>Flow_0cznde0</bpmn:incoming>
<bpmn:outgoing>Flow_15mb4wr</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:endEvent id="Event_12tt6fj" name="The Request has been Rejected">
<bpmn:incoming>Flow_07lq3en</bpmn:incoming>
</bpmn:endEvent>
<bpmn:dataObjectReference id="DataObjectReference_0leto91" name="Message Request Approval" dataObjectRef="message_Request_Approval" />
<bpmn:dataObject id="message_Request_Approval" />
<bpmn:intermediateThrowEvent id="Event_0scax7o" name="Request is sent for Project Lead Approval">
<bpmn:incoming>Flow_0jxiatt</bpmn:incoming>
<bpmn:outgoing>Flow_0irl5s5</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:serviceTask id="Activity_1i8r1i2" name="Send Waku message to Budget Owner">
<bpmn:documentation>check messages section here - https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:incoming>Flow_0xqd7t2</bpmn:incoming>
<bpmn:outgoing>Flow_0jxiatt</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0tvpg45">
<bpmn:targetRef>DataObjectReference_0leto91</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:manualTask id="Activity_0moag4v" name="Request Additional Budget">
<bpmn:incoming>Flow_0u9k2wx</bpmn:incoming>
<bpmn:outgoing>Flow_0xxa78z</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:exclusiveGateway id="Gateway_05470yw">
<bpmn:incoming>Flow_0xxa78z</bpmn:incoming>
<bpmn:outgoing>Flow_12bnhp1</bpmn:outgoing>
<bpmn:outgoing>Flow_0b5yksq</bpmn:outgoing>
<bpmn:outgoing>Flow_1j54ncr</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_14fif5h" name="Review the request">
<bpmn:documentation>https://www.figma.com/file/9NP2BUoLuwHUCGStvDMgOw/Form?node-id=0%3A1&amp;t=LWR3p6ApVs4DqSSD-0</bpmn:documentation>
<bpmn:incoming>Flow_0irl5s5</bpmn:incoming>
<bpmn:outgoing>Flow_0u9k2wx</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1clug1u">
<bpmn:targetRef>DataObjectReference_0yzc2w4</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:userTask>
<bpmn:serviceTask id="Activity_0klocsj" name="Rejected - Send Waku message to CC">
<bpmn:documentation>check messages section here - https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:incoming>Flow_0p8pykp</bpmn:incoming>
<bpmn:outgoing>Flow_07lq3en</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1env96g">
<bpmn:targetRef>DataObjectReference_0muynhw</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:intermediateThrowEvent id="Event_0ry9118" name="Rejected by Project/Team Lead">
<bpmn:incoming>Flow_12bnhp1</bpmn:incoming>
<bpmn:outgoing>Flow_0p8pykp</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_04utv09" name="Approved by Project/Team Lead">
<bpmn:incoming>Flow_1j54ncr</bpmn:incoming>
<bpmn:outgoing>Flow_0te1qzm</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:dataObjectReference id="DataObjectReference_0yzc2w4" name="New Demand Request" dataObjectRef="New_Demand_Request" />
<bpmn:exclusiveGateway id="Gateway_1g0fyse">
<bpmn:incoming>Flow_0vw379z</bpmn:incoming>
<bpmn:incoming>Flow_16bq3s4</bpmn:incoming>
<bpmn:outgoing>Flow_0xqd7t2</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="Event_1t6m3yh" name="The Request has been Approved">
<bpmn:incoming>Flow_0mjxdwu</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_0q98cm9" name="Approved - Send Waku message to CC">
<bpmn:documentation>check messages section here - https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:incoming>Flow_0wa76lf</bpmn:incoming>
<bpmn:outgoing>Flow_0mjxdwu</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0vhtb7x">
<bpmn:targetRef>DataObjectReference_1xbeykt</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:dataObjectReference id="DataObjectReference_11lhxd6" name="Message Request P Ops" dataObjectRef="message_Request_POps" />
<bpmn:dataObject id="message_Request_POps" />
<bpmn:serviceTask id="Activity_057tit8" name="Send Waku message to PeopleOps">
<bpmn:documentation>check messages section here - https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:incoming>Flow_0pyprx1</bpmn:incoming>
<bpmn:outgoing>Flow_0wnumhn</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0rzdmkt">
<bpmn:targetRef>DataObjectReference_11lhxd6</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:intermediateThrowEvent id="Event_1a63r3x" name="PeopleOps review">
<bpmn:incoming>Flow_0wnumhn</bpmn:incoming>
<bpmn:outgoing>Flow_10nexen</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:exclusiveGateway id="Gateway_1j55qwu">
<bpmn:incoming>Flow_0hkgrae</bpmn:incoming>
<bpmn:outgoing>Flow_0j8pv5q</bpmn:outgoing>
<bpmn:outgoing>Flow_1s2ql8h</bpmn:outgoing>
<bpmn:outgoing>Flow_0ck5jwb</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_0zszjko" name="Review the Request">
<bpmn:documentation>https://www.figma.com/file/9NP2BUoLuwHUCGStvDMgOw/Form?node-id=0%3A1&amp;t=LWR3p6ApVs4DqSSD-0</bpmn:documentation>
<bpmn:incoming>Flow_10nexen</bpmn:incoming>
<bpmn:outgoing>Flow_0hkgrae</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_0gg28mj">
<bpmn:targetRef>DataObjectReference_0rdxajs</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:userTask>
<bpmn:endEvent id="Event_1s3p42s" name="The Request has been Rejected">
<bpmn:incoming>Flow_0evmlil</bpmn:incoming>
</bpmn:endEvent>
<bpmn:intermediateThrowEvent id="Event_1w5tu4w" name="Approved by PeopleOps partner">
<bpmn:incoming>Flow_0j8pv5q</bpmn:incoming>
<bpmn:outgoing>Flow_0wa76lf</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_1b4cvmw" name="Rejected by PeopleOps partner">
<bpmn:incoming>Flow_1s2ql8h</bpmn:incoming>
<bpmn:outgoing>Flow_13dojnu</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:dataObjectReference id="DataObjectReference_0rdxajs" name="New Demand Request" dataObjectRef="New_Demand_Request" />
<bpmn:dataObjectReference id="DataObjectReference_0muynhw" name="Message Request Rejected" dataObjectRef="message_Request_Rejected" />
<bpmn:exclusiveGateway id="Gateway_1d1z27s">
<bpmn:incoming>Flow_0te1qzm</bpmn:incoming>
<bpmn:incoming>Flow_0qjvcfe</bpmn:incoming>
<bpmn:outgoing>Flow_0pyprx1</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:serviceTask id="Activity_0r84cpb" name="Rejected - Send Waku message to CC">
<bpmn:documentation>check messages section here - https://www.notion.so/Raise-New-Demand-Request-Travel-06db3450784e4320adb425688d8dbe3f</bpmn:documentation>
<bpmn:incoming>Flow_13dojnu</bpmn:incoming>
<bpmn:outgoing>Flow_0evmlil</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1b01zok">
<bpmn:targetRef>DataObjectReference_1pw850e</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:serviceTask>
<bpmn:dataObjectReference id="DataObjectReference_1pw850e" name="Message Request Rejected" dataObjectRef="message_Request_Rejected" />
<bpmn:dataObject id="message_Request_Rejected" />
<bpmn:dataObjectReference id="DataObjectReference_1xbeykt" name="Message Request Approved" dataObjectRef="message_Request_Approved" />
<bpmn:dataObject id="message_Request_Approved" />
<bpmn:exclusiveGateway id="Gateway_1xs01k4" name="Coorect?">
<bpmn:incoming>Flow_16xbljt</bpmn:incoming>
<bpmn:outgoing>Flow_0smwz5e</bpmn:outgoing>
<bpmn:outgoing>Flow_0xw1gem</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:dataObjectReference id="DataObjectReference_070iy0o" name="New Demand Request" dataObjectRef="New_Demand_Request">
<bpmn:documentation>https://docs.google.com/spreadsheets/d/1bcYVeNupdy0W0h7tg5vXSiZRHdqIXyEREmRA1rNl--o/edit#gid=1736626389</bpmn:documentation>
</bpmn:dataObjectReference>
<bpmn:dataObject id="New_Demand_Request" />
<bpmn:boundaryEvent id="Event_1oyx0u3" name="1 day" attachedToRef="Activity_14fif5h">
<bpmn:outgoing>Flow_16bq3s4</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0ao8njb" />
</bpmn:boundaryEvent>
<bpmn:boundaryEvent id="Event_05wvlyg" name="1 day" attachedToRef="Activity_0zszjko">
<bpmn:outgoing>Flow_0qjvcfe</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1m3lmrg" />
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_0mbb848" sourceRef="StartEvent_1" targetRef="Activity_0sanoz6" />
<bpmn:sequenceFlow id="Flow_0v7se5y" sourceRef="Activity_0rfep3p" targetRef="Gateway_14j5ul9" />
<bpmn:sequenceFlow id="Flow_17tshyf" sourceRef="Gateway_14j5ul9" targetRef="Activity_05le46k" />
<bpmn:sequenceFlow id="Flow_02l4yqt" sourceRef="Activity_0yi6n6n" targetRef="Activity_05le46k" />
<bpmn:sequenceFlow id="Flow_0xw1gem" name="No" sourceRef="Gateway_1xs01k4" targetRef="Activity_05le46k" />
<bpmn:sequenceFlow id="Flow_1ipb2ul" sourceRef="Activity_05le46k" targetRef="Gateway_0iwcrxf" />
<bpmn:sequenceFlow id="Flow_0hpzx53" name="Accommodation" sourceRef="Gateway_0iwcrxf" targetRef="Activity_0fid0s2" />
<bpmn:sequenceFlow id="Flow_0sn1b3k" name="Flights" sourceRef="Gateway_0iwcrxf" targetRef="Activity_0jhske2" />
<bpmn:sequenceFlow id="Flow_1ydkj7x" name="Transportation" sourceRef="Gateway_0iwcrxf" targetRef="Activity_1fvwi9n" />
<bpmn:sequenceFlow id="Flow_1yd4u6b" name="Meals" sourceRef="Gateway_0iwcrxf" targetRef="Activity_04uftwi" />
<bpmn:sequenceFlow id="Flow_1ggeeyf" name="Tickets" sourceRef="Gateway_0iwcrxf" targetRef="Activity_18vuhhf" />
<bpmn:sequenceFlow id="Flow_0mw61by" sourceRef="Activity_0fid0s2" targetRef="Gateway_0kqyhb0" />
<bpmn:sequenceFlow id="Flow_15jbopb" sourceRef="Activity_04uftwi" targetRef="Gateway_0kqyhb0" />
<bpmn:sequenceFlow id="Flow_0mcrbva" sourceRef="Activity_0jhske2" targetRef="Gateway_0kqyhb0" />
<bpmn:sequenceFlow id="Flow_008xbhz" sourceRef="Activity_1fvwi9n" targetRef="Gateway_0kqyhb0" />
<bpmn:sequenceFlow id="Flow_11q18td" sourceRef="Activity_18vuhhf" targetRef="Gateway_0kqyhb0" />
<bpmn:sequenceFlow id="Flow_1qb7cb6" sourceRef="Gateway_0kqyhb0" targetRef="Activity_1dfvwgx" />
<bpmn:sequenceFlow id="Flow_1svl4e2" sourceRef="Activity_0yi6n6n" targetRef="Gateway_1k61xs7" />
<bpmn:sequenceFlow id="Flow_0b5yksq" name="Additional info is required" sourceRef="Gateway_05470yw" targetRef="Gateway_1k61xs7" />
<bpmn:sequenceFlow id="Flow_0ck5jwb" name="Additional info is required" sourceRef="Gateway_1j55qwu" targetRef="Gateway_1k61xs7" />
<bpmn:sequenceFlow id="Flow_16xbljt" sourceRef="Activity_1dfvwgx" targetRef="Gateway_1xs01k4" />
<bpmn:sequenceFlow id="Flow_0smwz5e" sourceRef="Gateway_1xs01k4" targetRef="Activity_1v4rxu0" />
<bpmn:sequenceFlow id="Flow_0cznde0" sourceRef="Activity_1v4rxu0" targetRef="Event_0mcmk2b" />
<bpmn:sequenceFlow id="Flow_15mb4wr" sourceRef="Event_0mcmk2b" targetRef="Activity_0tt12kf" />
<bpmn:sequenceFlow id="Flow_0vw379z" sourceRef="Activity_0tt12kf" targetRef="Gateway_1g0fyse" />
<bpmn:sequenceFlow id="Flow_07lq3en" sourceRef="Activity_0klocsj" targetRef="Event_12tt6fj" />
<bpmn:sequenceFlow id="Flow_0jxiatt" sourceRef="Activity_1i8r1i2" targetRef="Event_0scax7o" />
<bpmn:sequenceFlow id="Flow_0irl5s5" sourceRef="Event_0scax7o" targetRef="Activity_14fif5h" />
<bpmn:sequenceFlow id="Flow_0xqd7t2" sourceRef="Gateway_1g0fyse" targetRef="Activity_1i8r1i2" />
<bpmn:sequenceFlow id="Flow_0u9k2wx" sourceRef="Activity_14fif5h" targetRef="Activity_0moag4v" />
<bpmn:sequenceFlow id="Flow_0xxa78z" sourceRef="Activity_0moag4v" targetRef="Gateway_05470yw" />
<bpmn:sequenceFlow id="Flow_12bnhp1" name="Rejected" sourceRef="Gateway_05470yw" targetRef="Event_0ry9118" />
<bpmn:sequenceFlow id="Flow_1j54ncr" name="Approved" sourceRef="Gateway_05470yw" targetRef="Event_04utv09" />
<bpmn:sequenceFlow id="Flow_0p8pykp" sourceRef="Event_0ry9118" targetRef="Activity_0klocsj" />
<bpmn:sequenceFlow id="Flow_0te1qzm" sourceRef="Event_04utv09" targetRef="Gateway_1d1z27s" />
<bpmn:sequenceFlow id="Flow_16bq3s4" sourceRef="Event_1oyx0u3" targetRef="Gateway_1g0fyse" />
<bpmn:sequenceFlow id="Flow_0mjxdwu" sourceRef="Activity_0q98cm9" targetRef="Event_1t6m3yh" />
<bpmn:sequenceFlow id="Flow_0wa76lf" sourceRef="Event_1w5tu4w" targetRef="Activity_0q98cm9" />
<bpmn:sequenceFlow id="Flow_0pyprx1" sourceRef="Gateway_1d1z27s" targetRef="Activity_057tit8" />
<bpmn:sequenceFlow id="Flow_0wnumhn" sourceRef="Activity_057tit8" targetRef="Event_1a63r3x" />
<bpmn:sequenceFlow id="Flow_10nexen" sourceRef="Event_1a63r3x" targetRef="Activity_0zszjko" />
<bpmn:sequenceFlow id="Flow_0hkgrae" sourceRef="Activity_0zszjko" targetRef="Gateway_1j55qwu" />
<bpmn:sequenceFlow id="Flow_1s2ql8h" name="Rejected" sourceRef="Gateway_1j55qwu" targetRef="Event_1b4cvmw" />
<bpmn:sequenceFlow id="Flow_0j8pv5q" name="Approved" sourceRef="Gateway_1j55qwu" targetRef="Event_1w5tu4w" />
<bpmn:sequenceFlow id="Flow_0evmlil" sourceRef="Activity_0r84cpb" targetRef="Event_1s3p42s" />
<bpmn:sequenceFlow id="Flow_13dojnu" sourceRef="Event_1b4cvmw" targetRef="Activity_0r84cpb" />
<bpmn:sequenceFlow id="Flow_0qjvcfe" sourceRef="Event_05wvlyg" targetRef="Gateway_1d1z27s" />
<bpmn:endEvent id="Event_14t9kgu">
<bpmn:incoming>Flow_0bv6plv</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0bv6plv" sourceRef="Activity_0sanoz6" targetRef="Event_14t9kgu" />
<bpmn:manualTask id="Activity_0sanoz6" name="Show Travel">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Travel</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0mbb848</bpmn:incoming>
<bpmn:outgoing>Flow_0bv6plv</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:textAnnotation id="TextAnnotation_0ygggal">
<bpmn:text>Orgdata from BBHR, Categories from a DB, Currencies from Xero</bpmn:text>
</bpmn:textAnnotation>
<bpmn:textAnnotation id="TextAnnotation_0rxyqkg">
<bpmn:text>Typeform</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_1aqc55e" sourceRef="Activity_0rfep3p" targetRef="TextAnnotation_0ygggal" />
<bpmn:association id="Association_0smlglp" sourceRef="Activity_0moag4v" targetRef="TextAnnotation_0rxyqkg" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_11kan0p">
<bpmndi:BPMNShape id="Participant_1cjcby5_di" bpmnElement="New_Demand_Request-Travel_Pool" isHorizontal="true">
<dc:Bounds x="152" y="80" width="3398" height="1860" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1tozxks_di" bpmnElement="Lane_1tozxks" isHorizontal="true">
<dc:Bounds x="182" y="840" width="3368" height="520" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1mrq305_di" bpmnElement="Lane_1mrq305" isHorizontal="true">
<dc:Bounds x="182" y="80" width="3368" height="760" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_0txefzi_di" bpmnElement="Lane_0txefzi" isHorizontal="true">
<dc:Bounds x="182" y="1360" width="3368" height="580" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="242" y="462" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="219" y="412" width="81" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zd355v_di" bpmnElement="Activity_0rfep3p">
<dc:Bounds x="330" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_14j5ul9_di" bpmnElement="Gateway_14j5ul9" isMarkerVisible="true">
<dc:Bounds x="485" y="455" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1074h4c_di" bpmnElement="Activity_05le46k">
<dc:Bounds x="610" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1a9iuj5_di" bpmnElement="Gateway_0iwcrxf">
<dc:Bounds x="815" y="455" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="757" y="501" width="74" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1z080ny_di" bpmnElement="Gateway_0kqyhb0">
<dc:Bounds x="1165" y="455" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xywxt5_di" bpmnElement="Activity_04uftwi">
<dc:Bounds x="980" y="120" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_04xami7_di" bpmnElement="Activity_0jhske2">
<dc:Bounds x="980" y="260" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0lq4kxe_di" bpmnElement="Activity_0fid0s2">
<dc:Bounds x="980" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1boyhah_di" bpmnElement="Activity_1fvwi9n">
<dc:Bounds x="980" y="580" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1a7vipp_di" bpmnElement="Activity_18vuhhf">
<dc:Bounds x="980" y="710" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10m8yh4_di" bpmnElement="Activity_0yi6n6n">
<dc:Bounds x="610" y="620" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_08v14vn_di" bpmnElement="DataObjectReference_08v14vn">
<dc:Bounds x="532" y="645" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="516" y="702" width="70" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1k61xs7_di" bpmnElement="Gateway_1k61xs7" isMarkerVisible="true">
<dc:Bounds x="635" y="1265" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0q3xj4f_di" bpmnElement="Activity_1dfvwgx">
<dc:Bounds x="1270" y="440" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0uvky0a_di" bpmnElement="Activity_1v4rxu0">
<dc:Bounds x="1570" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_1fmxy5c_di" bpmnElement="DataObjectReference_1fmxy5c">
<dc:Bounds x="1602" y="345" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1587" y="308" width="67" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1trh55u_di" bpmnElement="Activity_0tt12kf">
<dc:Bounds x="1820" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0mcmk2b_di" bpmnElement="Event_0mcmk2b">
<dc:Bounds x="1722" y="462" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1707" y="505" width="67" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1u50487_di" bpmnElement="Event_12tt6fj">
<dc:Bounds x="2442" y="862" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2348" y="866" width="84" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_0leto91_di" bpmnElement="DataObjectReference_0leto91">
<dc:Bounds x="2132" y="345" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2109" y="306" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0scax7o_di" bpmnElement="Event_0scax7o">
<dc:Bounds x="2132" y="582" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2181" y="580" width="78" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_078lr4q_di" bpmnElement="Activity_1i8r1i2">
<dc:Bounds x="2100" y="440" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0gd8rxl" bpmnElement="Activity_0moag4v">
<dc:Bounds x="2270" y="1110" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_05470yw_di" bpmnElement="Gateway_05470yw" isMarkerVisible="true">
<dc:Bounds x="2435" y="1125" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="687.5" y="605" width="65" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1dg2cxw_di" bpmnElement="Activity_14fif5h">
<dc:Bounds x="2100" y="1110" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0qkkg1q_di" bpmnElement="Activity_0klocsj">
<dc:Bounds x="2410" y="940" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ry9118_di" bpmnElement="Event_0ry9118">
<dc:Bounds x="2442" y="1047" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2487" y="1050" width="65" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_04utv09_di" bpmnElement="Event_04utv09">
<dc:Bounds x="2552" y="1132" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2538" y="1175" width="65" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_0yzc2w4_di" bpmnElement="DataObjectReference_0yzc2w4">
<dc:Bounds x="2082" y="1005" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2067" y="1062" width="67" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1g0fyse_di" bpmnElement="Gateway_1g0fyse" isMarkerVisible="true">
<dc:Bounds x="1985" y="455" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0xzmep7_di" bpmnElement="Event_1t6m3yh">
<dc:Bounds x="3002" y="1412" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3048" y="1416" width="84" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1t6u8md_di" bpmnElement="Activity_0q98cm9">
<dc:Bounds x="2970" y="1500" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_11lhxd6_di" bpmnElement="DataObjectReference_11lhxd6">
<dc:Bounds x="2742" y="1025" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2715" y="986" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1izfbmj_di" bpmnElement="Activity_057tit8">
<dc:Bounds x="2710" y="1110" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1a63r3x_di" bpmnElement="Event_1a63r3x">
<dc:Bounds x="2862" y="1132" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2835" y="1108" width="90" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1j55qwu_di" bpmnElement="Gateway_1j55qwu" isMarkerVisible="true">
<dc:Bounds x="2995" y="1675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1f62h9q_di" bpmnElement="Activity_0zszjko">
<dc:Bounds x="2830" y="1660" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0xt1l6a_di" bpmnElement="Event_1s3p42s">
<dc:Bounds x="3382" y="1682" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3418" y="1666" width="84" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1w5tu4w_di" bpmnElement="Event_1w5tu4w">
<dc:Bounds x="3002" y="1612" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3049" y="1610" width="62" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1b4cvmw_di" bpmnElement="Event_1b4cvmw">
<dc:Bounds x="3112" y="1682" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3101" y="1725" width="59" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0bbtyxi" bpmnElement="DataObjectReference_0rdxajs">
<dc:Bounds x="2812" y="1565" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2798" y="1526" width="67" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_0muynhw_di" bpmnElement="DataObjectReference_0muynhw">
<dc:Bounds x="2532" y="865" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2506" y="922" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1d1z27s_di" bpmnElement="Gateway_1d1z27s" isMarkerVisible="true">
<dc:Bounds x="2625" y="1125" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0nu0j5u_di" bpmnElement="Activity_0r84cpb">
<dc:Bounds x="3220" y="1660" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_1pw850e_di" bpmnElement="DataObjectReference_1pw850e">
<dc:Bounds x="3252" y="1565" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3225" y="1528" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_1xbeykt_di" bpmnElement="DataObjectReference_1xbeykt">
<dc:Bounds x="3112" y="1509" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3087" y="1566" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1xs01k4_di" bpmnElement="Gateway_1xs01k4" isMarkerVisible="true">
<dc:Bounds x="1435" y="455" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1438" y="512" width="45" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_070iy0o_di" bpmnElement="DataObjectReference_070iy0o">
<dc:Bounds x="542" y="339" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="530" y="306" width="67" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0ygggal_di" bpmnElement="TextAnnotation_0ygggal">
<dc:Bounds x="290" y="330" width="140" height="57" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0rxyqkg_di" bpmnElement="TextAnnotation_0rxyqkg">
<dc:Bounds x="2270" y="1050" width="100" height="30" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14t9kgu_di" bpmnElement="Event_14t9kgu">
<dc:Bounds x="242" y="742" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0c7imy0_di" bpmnElement="Activity_0sanoz6">
<dc:Bounds x="210" y="580" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ax7tqn_di" bpmnElement="Event_05wvlyg">
<dc:Bounds x="2892" y="1722" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2866" y="1753" width="27" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1om0837_di" bpmnElement="Event_1oyx0u3">
<dc:Bounds x="2162" y="1172" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2146" y="1215" width="27" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0mbb848_di" bpmnElement="Flow_0mbb848">
<di:waypoint x="260" y="498" />
<di:waypoint x="260" y="580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v7se5y_di" bpmnElement="Flow_0v7se5y">
<di:waypoint x="430" y="480" />
<di:waypoint x="485" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17tshyf_di" bpmnElement="Flow_17tshyf">
<di:waypoint x="535" y="480" />
<di:waypoint x="610" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02l4yqt_di" bpmnElement="Flow_02l4yqt">
<di:waypoint x="660" y="620" />
<di:waypoint x="660" y="520" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xw1gem_di" bpmnElement="Flow_0xw1gem">
<di:waypoint x="1460" y="455" />
<di:waypoint x="1460" y="100" />
<di:waypoint x="660" y="100" />
<di:waypoint x="660" y="440" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1053" y="82" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ipb2ul_di" bpmnElement="Flow_1ipb2ul">
<di:waypoint x="710" y="480" />
<di:waypoint x="815" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hpzx53_di" bpmnElement="Flow_0hpzx53">
<di:waypoint x="865" y="480" />
<di:waypoint x="980" y="480" />
<bpmndi:BPMNLabel>
<dc:Bounds x="883" y="462" width="79" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0sn1b3k_di" bpmnElement="Flow_0sn1b3k">
<di:waypoint x="840" y="455" />
<di:waypoint x="840" y="300" />
<di:waypoint x="980" y="300" />
<bpmndi:BPMNLabel>
<dc:Bounds x="863" y="283" width="33" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ydkj7x_di" bpmnElement="Flow_1ydkj7x">
<di:waypoint x="840" y="505" />
<di:waypoint x="840" y="620" />
<di:waypoint x="980" y="620" />
<bpmndi:BPMNLabel>
<dc:Bounds x="884" y="593" width="71" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1yd4u6b_di" bpmnElement="Flow_1yd4u6b">
<di:waypoint x="840" y="455" />
<di:waypoint x="840" y="160" />
<di:waypoint x="980" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="854" y="143" width="30" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ggeeyf_di" bpmnElement="Flow_1ggeeyf">
<di:waypoint x="840" y="505" />
<di:waypoint x="840" y="750" />
<di:waypoint x="980" y="750" />
<bpmndi:BPMNLabel>
<dc:Bounds x="902" y="723" width="35" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mw61by_di" bpmnElement="Flow_0mw61by">
<di:waypoint x="1080" y="480" />
<di:waypoint x="1165" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15jbopb_di" bpmnElement="Flow_15jbopb">
<di:waypoint x="1080" y="160" />
<di:waypoint x="1190" y="160" />
<di:waypoint x="1190" y="455" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mcrbva_di" bpmnElement="Flow_0mcrbva">
<di:waypoint x="1080" y="300" />
<di:waypoint x="1190" y="300" />
<di:waypoint x="1190" y="455" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_008xbhz_di" bpmnElement="Flow_008xbhz">
<di:waypoint x="1080" y="620" />
<di:waypoint x="1190" y="620" />
<di:waypoint x="1190" y="505" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11q18td_di" bpmnElement="Flow_11q18td">
<di:waypoint x="1080" y="750" />
<di:waypoint x="1190" y="750" />
<di:waypoint x="1190" y="505" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qb7cb6_di" bpmnElement="Flow_1qb7cb6">
<di:waypoint x="1215" y="480" />
<di:waypoint x="1270" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1svl4e2_di" bpmnElement="Flow_1svl4e2">
<di:waypoint x="660" y="700" />
<di:waypoint x="660" y="1265" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0b5yksq_di" bpmnElement="Flow_0b5yksq">
<di:waypoint x="2460" y="1175" />
<di:waypoint x="2460" y="1290" />
<di:waypoint x="685" y="1290" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2369" y="1252" width="81" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ck5jwb_di" bpmnElement="Flow_0ck5jwb">
<di:waypoint x="3020" y="1725" />
<di:waypoint x="3020" y="1830" />
<di:waypoint x="660" y="1830" />
<di:waypoint x="660" y="1315" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2919" y="1796" width="81" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16xbljt_di" bpmnElement="Flow_16xbljt">
<di:waypoint x="1370" y="480" />
<di:waypoint x="1435" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0smwz5e_di" bpmnElement="Flow_0smwz5e">
<di:waypoint x="1485" y="480" />
<di:waypoint x="1570" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0cznde0_di" bpmnElement="Flow_0cznde0">
<di:waypoint x="1670" y="480" />
<di:waypoint x="1722" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15mb4wr_di" bpmnElement="Flow_15mb4wr">
<di:waypoint x="1758" y="480" />
<di:waypoint x="1820" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0vw379z_di" bpmnElement="Flow_0vw379z">
<di:waypoint x="1920" y="480" />
<di:waypoint x="1985" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07lq3en_di" bpmnElement="Flow_07lq3en">
<di:waypoint x="2460" y="940" />
<di:waypoint x="2460" y="898" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jxiatt_di" bpmnElement="Flow_0jxiatt">
<di:waypoint x="2150" y="520" />
<di:waypoint x="2150" y="582" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0irl5s5_di" bpmnElement="Flow_0irl5s5">
<di:waypoint x="2150" y="618" />
<di:waypoint x="2150" y="1110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xqd7t2_di" bpmnElement="Flow_0xqd7t2">
<di:waypoint x="2035" y="480" />
<di:waypoint x="2100" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u9k2wx_di" bpmnElement="Flow_0u9k2wx">
<di:waypoint x="2200" y="1150" />
<di:waypoint x="2270" y="1150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xxa78z_di" bpmnElement="Flow_0xxa78z">
<di:waypoint x="2370" y="1150" />
<di:waypoint x="2435" y="1150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12bnhp1_di" bpmnElement="Flow_12bnhp1">
<di:waypoint x="2460" y="1125" />
<di:waypoint x="2460" y="1083" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2408" y="1098" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1j54ncr_di" bpmnElement="Flow_1j54ncr">
<di:waypoint x="2485" y="1150" />
<di:waypoint x="2552" y="1150" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2490" y="1132" width="48" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0p8pykp_di" bpmnElement="Flow_0p8pykp">
<di:waypoint x="2460" y="1047" />
<di:waypoint x="2460" y="1020" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0te1qzm_di" bpmnElement="Flow_0te1qzm">
<di:waypoint x="2588" y="1150" />
<di:waypoint x="2625" y="1150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16bq3s4_di" bpmnElement="Flow_16bq3s4">
<di:waypoint x="2180" y="1208" />
<di:waypoint x="2180" y="1240" />
<di:waypoint x="2010" y="1240" />
<di:waypoint x="2010" y="505" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mjxdwu_di" bpmnElement="Flow_0mjxdwu">
<di:waypoint x="3020" y="1500" />
<di:waypoint x="3020" y="1448" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wa76lf_di" bpmnElement="Flow_0wa76lf">
<di:waypoint x="3020" y="1612" />
<di:waypoint x="3020" y="1580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pyprx1_di" bpmnElement="Flow_0pyprx1">
<di:waypoint x="2675" y="1150" />
<di:waypoint x="2710" y="1150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wnumhn_di" bpmnElement="Flow_0wnumhn">
<di:waypoint x="2810" y="1150" />
<di:waypoint x="2862" y="1150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10nexen_di" bpmnElement="Flow_10nexen">
<di:waypoint x="2880" y="1168" />
<di:waypoint x="2880" y="1660" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hkgrae_di" bpmnElement="Flow_0hkgrae">
<di:waypoint x="2930" y="1700" />
<di:waypoint x="2995" y="1700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1s2ql8h_di" bpmnElement="Flow_1s2ql8h">
<di:waypoint x="3045" y="1700" />
<di:waypoint x="3112" y="1700" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3058" y="1682" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0j8pv5q_di" bpmnElement="Flow_0j8pv5q">
<di:waypoint x="3020" y="1675" />
<di:waypoint x="3020" y="1648" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2966" y="1667" width="48" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0evmlil_di" bpmnElement="Flow_0evmlil">
<di:waypoint x="3320" y="1700" />
<di:waypoint x="3382" y="1700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13dojnu_di" bpmnElement="Flow_13dojnu">
<di:waypoint x="3148" y="1700" />
<di:waypoint x="3220" y="1700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qjvcfe_di" bpmnElement="Flow_0qjvcfe">
<di:waypoint x="2910" y="1758" />
<di:waypoint x="2910" y="1790" />
<di:waypoint x="2650" y="1790" />
<di:waypoint x="2650" y="1175" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1aqc55e_di" bpmnElement="Association_1aqc55e">
<di:waypoint x="368" y="440" />
<di:waypoint x="352" y="387" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0smlglp_di" bpmnElement="Association_0smlglp">
<di:waypoint x="2321" y="1110" />
<di:waypoint x="2320" y="1080" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bv6plv_di" bpmnElement="Flow_0bv6plv">
<di:waypoint x="260" y="660" />
<di:waypoint x="260" y="742" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0itfogn_di" bpmnElement="DataOutputAssociation_0itfogn">
<di:waypoint x="625" y="440" />
<di:waypoint x="578" y="387" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0l83tqf_di" bpmnElement="DataOutputAssociation_0l83tqf">
<di:waypoint x="610" y="667" />
<di:waypoint x="568" y="673" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_1v4h8k8_di" bpmnElement="DataOutputAssociation_1v4h8k8">
<di:waypoint x="1619" y="440" />
<di:waypoint x="1618" y="395" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0tvpg45_di" bpmnElement="DataOutputAssociation_0tvpg45">
<di:waypoint x="2149" y="440" />
<di:waypoint x="2148" y="395" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_1clug1u_di" bpmnElement="DataOutputAssociation_1clug1u">
<di:waypoint x="2132" y="1110" />
<di:waypoint x="2107" y="1055" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_1env96g_di" bpmnElement="DataOutputAssociation_1env96g">
<di:waypoint x="2497" y="940" />
<di:waypoint x="2532" y="902" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0vhtb7x_di" bpmnElement="DataOutputAssociation_0vhtb7x">
<di:waypoint x="3070" y="1539" />
<di:waypoint x="3112" y="1539" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0rzdmkt_di" bpmnElement="DataOutputAssociation_0rzdmkt">
<di:waypoint x="2761" y="1110" />
<di:waypoint x="2762" y="1075" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0gg28mj_di" bpmnElement="DataOutputAssociation_0gg28mj">
<di:waypoint x="2861" y="1660" />
<di:waypoint x="2841" y="1615" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_1b01zok_di" bpmnElement="DataOutputAssociation_1b01zok">
<di:waypoint x="3270" y="1660" />
<di:waypoint x="3269" y="1615" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "Raise New Procurement, Travel or Compensation Demand Request",
"display_name": "Raise New Demand Request",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "raise_new_demand_request-master.bpmn",
"primary_process_id": "Raise_New_Demand_Request"
}

View File

@ -0,0 +1,208 @@
<?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:collaboration id="Collaboration_1bu6kw8">
<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:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0z8y9x8</bpmn:outgoing>
</bpmn:startEvent>
<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_0at47nx" />
<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_0hflz9l</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
which_categories_list = [
{
"label": "Compensation",
"value": "compensation"
},
{
"label": "Procurement",
"value": "procurement"
},
{
"label": "Travel",
"value": "travel"
}
]</bpmn:script>
</bpmn:scriptTask>
<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:sequenceFlow id="Flow_0hflz9l" sourceRef="Activity_0at47nx" targetRef="Activity_1qcx18z" />
<bpmn:scriptTask id="Activity_0at47nx" name="Check Leads Group">
<bpmn:incoming>Flow_090lxfa</bpmn:incoming>
<bpmn:outgoing>Flow_0hflz9l</bpmn:outgoing>
<bpmn:script>test = get_group_members("Leads")</bpmn:script>
</bpmn:scriptTask>
</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="1270" height="410" />
<bpmndi:BPMNLabel />
</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_08nqg47_di" bpmnElement="Activity_054mhim">
<dc:Bounds x="330" y="240" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0nc8oeq_di" bpmnElement="Activity_1dhb10w">
<dc:Bounds x="810" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0k5z9kb_di" bpmnElement="Activity_1qcx18z">
<dc:Bounds x="650" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1m8umui_di" bpmnElement="Gateway_1m8umui" isMarkerVisible="true">
<dc:Bounds x="1275" y="255" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l2htbr_di" bpmnElement="Event_1l2htbr">
<dc:Bounds x="1402" y="262" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10tfxp1_di" bpmnElement="Activity_0uj2dxm">
<dc:Bounds x="1120" y="390" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1eluylu_di" bpmnElement="Activity_1ew2127">
<dc:Bounds x="1120" y="240" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1hhet0q_di" bpmnElement="Activity_1vs8nu6">
<dc:Bounds x="1120" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_19omysq_di" bpmnElement="Gateway_19omysq" isMarkerVisible="true">
<dc:Bounds x="975" y="255" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="944" y="303" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fvj9w0_di" bpmnElement="Activity_0at47nx">
<dc:Bounds x="490" y="240" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0v2e2ml_di" bpmnElement="Flow_0v2e2ml">
<di:waypoint x="910" y="280" />
<di:waypoint x="975" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1mm6uz2_di" bpmnElement="Flow_1mm6uz2">
<di:waypoint x="1025" y="280" />
<di:waypoint x="1120" y="280" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1026" y="262" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0s5jvgp_di" bpmnElement="Flow_0s5jvgp">
<di:waypoint x="1000" y="305" />
<di:waypoint x="1000" y="430" />
<di:waypoint x="1120" y="430" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1042" y="413" width="31" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08x110e_di" bpmnElement="Flow_08x110e">
<di:waypoint x="1000" y="255" />
<di:waypoint x="1000" y="140" />
<di:waypoint x="1120" y="140" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1014" y="123" width="71" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1etakrx_di" bpmnElement="Flow_1etakrx">
<di:waypoint x="1220" y="140" />
<di:waypoint x="1300" y="140" />
<di:waypoint x="1300" y="255" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n2v07t_di" bpmnElement="Flow_1n2v07t">
<di:waypoint x="1220" y="280" />
<di:waypoint x="1275" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cxxkmt_di" bpmnElement="Flow_1cxxkmt">
<di:waypoint x="1220" y="430" />
<di:waypoint x="1300" y="430" />
<di:waypoint x="1300" y="305" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0498fqn_di" bpmnElement="Flow_0498fqn">
<di:waypoint x="1325" y="280" />
<di:waypoint x="1402" 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="750" y="280" />
<di:waypoint x="810" 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>
<bpmndi:BPMNEdge id="Flow_0hflz9l_di" bpmnElement="Flow_0hflz9l">
<di:waypoint x="590" y="280" />
<di:waypoint x="650" y="280" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

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,20 @@
{
"definitions": {
"categoryEnum": {
"title": "Which Category",
"type": "string",
"anyOf": [
"options_from_task_data_var:which_categories_list"
]
}
},
"title": "Select Category",
"description": "Select Demand Request Category",
"properties": {
"which_category": {
"$ref": "#/definitions/categoryEnum",
"title": "Which Category"
}
},
"required": ["which_category"]
}

View File

@ -0,0 +1,5 @@
{
"ui:order": [
"which_category"
]
}

View File

@ -0,0 +1,110 @@
<?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="Definitions-Raise_New_Demand_Request" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.6.0">
<decision id="Waku_Message_Body-Raise_New_Demand_Request" name="Waku Message Body - Raise New Demand Request">
<decisionTable id="decisionTable_1">
<input id="InputClause_1cqeh6g" label="Task Id" biodi:width="347">
<inputExpression id="LiteralExpression_0ioto2j" typeRef="string">
<text>task_id</text>
</inputExpression>
</input>
<output id="output_1" label="Message Body" name="waku_message_body" typeRef="string" biodi:width="819" />
<rule id="DecisionRule_05kyeu8">
<inputEntry id="UnaryTests_1w8fhi9">
<text>"waku_request_ppg_review"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1h5ezs8">
<text>"Hi &lt;PPG name&gt;, A new demand request &lt;process instance id&gt; &lt;date&gt; has been submitted for your review. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and confirm your review.."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1tbh4zu">
<inputEntry id="UnaryTests_09sdx7c">
<text>"waku_notify_peopleops_talent_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1v5nnup">
<text>"Hi PeopleOps Talent team, A new demand request &lt;process instance id&gt; &lt;date&gt; for a new role has been approved. You can start working on the Job description with the Hiring manager &lt;Hiring manager&gt;. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and submit the Job description."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1f99vwz">
<inputEntry id="UnaryTests_1m5ktce">
<text>"waku_notify_peopleops_partner_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1yus5ql">
<text>"Hi PeopleOps Partner, A new demand request &lt;process instance id&gt; &lt;date&gt; for a new role has been approved. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and submit the role's Level, Function, and Compensation rates."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1o253qj">
<inputEntry id="UnaryTests_1w1fy1f">
<text>"waku_notify_finance_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0l1e3xh">
<text>"Hi Finance team, A new demand request &lt;process instance id&gt; &lt;date&gt; for a new role has been approved. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and confirm budget adjustments."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_12npkto">
<inputEntry id="UnaryTests_01elx40">
<text>"waku_notify_peopleops_talent_team_publish_role"</text>
</inputEntry>
<outputEntry id="LiteralExpression_057w88m">
<text>"Hi PeopleOps Talent team, A new demand request &lt;process instance id&gt; &lt;date&gt; for a new role is ready for publishing. You can find all the details about this New Demand Request by clicking on the link below."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1fsmo6y">
<inputEntry id="UnaryTests_0br4fie">
<text>"waku_request_approval"</text>
</inputEntry>
<outputEntry id="LiteralExpression_19448fp">
<text>"Hi &lt;budget owner name&gt;, A new demand request &lt;process instance id&gt; &lt;date&gt; has been submitted for your approval. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and confirm your approval."]</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1955f0y">
<inputEntry id="UnaryTests_1ll25at">
<text>"waku_additional_info_required"</text>
</inputEntry>
<outputEntry id="LiteralExpression_04zz3q5">
<text>"Hi " + current_user_extras["first_name"] + "Additional info ref new demand request &lt;process instance id&gt; &lt;date&gt; has been requested. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and submit the requested info."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1sqor96">
<inputEntry id="UnaryTests_0kn31ob">
<text>"waku_request_rejected"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0y4rab0">
<text>"Hi " + current_user_extras["first_name"] + ", a new demand request &lt;process instance id&gt; &lt;date&gt; has been rejected. You can find all the details about this New Demand Request by clicking on the link below.."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0zxv93p">
<inputEntry id="UnaryTests_0j8l83a">
<text>"waku_request_approved"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pqtgnn">
<text>"Hi " + current_user_extras["first_name"] + "A new demand request &lt;process instance id&gt; &lt;date&gt; has been approved. You can find all the details about this New Demand Request by clicking on the link below.
Please check with the Legal team if the contract negotiation stage needs to be initiated."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0zyca5k">
<inputEntry id="UnaryTests_0ltfnfa">
<text>"waku_request_sme_review"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1kpxlhd">
<text>"A new demand request &lt;process instance id&gt; &lt;date&gt; has been submitted for your review. You can find all the details about this New Demand Request by clicking on the link below. Please go through the new demand request form and confirm your review."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_06a0nz0">
<inputEntry id="UnaryTests_1a9kee1">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1qrzv1j">
<text>"Something is wrong with the Message Body text-2. Contact Support"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Waku_Message_Body-Raise_New_Demand_Request">
<dc:Bounds height="80" width="180" x="157" y="81" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,380 @@
<?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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Waku_Message_Variables-Raise_New_Demand_Request" name="Waku Message Variables-Raise New Demand Request">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Task Id" biodi:width="330">
<inputExpression id="inputExpression_1" typeRef="string">
<text>task_id</text>
</inputExpression>
</input>
<output id="output_1" label="Amount?" name="is_wmv_amount" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_1436xgh" label="Category?" name="is_wmv_category" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_1tkfoiy" label="Comment?" name="is_wmv_Commnet" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_15kbunc" label="Criticality?" name="is_wmv_criticality" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_16mmw0d" label="Project?" name="is_wmv_project" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_0megh19" label="Reason?" name="is_wmv_reason" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_19mmuen" label="Requestor?" name="is_wmv_requestor" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_1ve6060" label="Status?" name="is_wmv_status" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_0yw7k37" label="Sub-Category" name="is_wmv_sub_category" typeRef="boolean" biodi:width="150" />
<rule id="DecisionRule_0p3fbi8">
<inputEntry id="UnaryTests_15jnl8e">
<text>"waku_request_ppg_review"</text>
</inputEntry>
<outputEntry id="LiteralExpression_16xw6qn">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0pgw6l0">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_14i3tvl">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0l8gyfy">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1v76fg4">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1lctfbi">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_15lrda9">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_06crm39">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0x8q5qz">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_18gokme">
<inputEntry id="UnaryTests_0ahk8kj">
<text>"waku_notify_peopleops_talent_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0mabe1g">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0h351ek">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0f1lz8k">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1cnfckn">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0dpgnzw">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1srmcz9">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1j3guqy">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_18u77ge">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1uc7cd7">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_02f4xrp">
<inputEntry id="UnaryTests_0fqun38">
<text>"waku_notify_peopleops_partner_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0qkqizy">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_034ljf6">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1nxbt3p">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1154bnn">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_180d1jw">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1vdo6yo">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1wyow4h">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1e5r6g3">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ztkh2l">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ni9fg9">
<inputEntry id="UnaryTests_0wrxtc3">
<text>"waku_notify_finance_team"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1qa266r">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0p91crs">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1vfal2j">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_07x4vvg">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1c03g5l">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_139gh5j">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_154949s">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1xm5f3w">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0agdowm">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ygqb7l">
<inputEntry id="UnaryTests_1jt7ktk">
<text>"waku_notify_peopleops_talent_team_publish_role"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0dh4xsf">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0dh5sy9">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0pm9kkf">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_08f6jty">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1oljluo">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1eskzpr">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0nzj05j">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0l1h6bu">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_008f9pk">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1k0fs6h">
<inputEntry id="UnaryTests_07pt5hn">
<text>"waku_request_approval"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1arr1wx">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0l6kvge">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0lfopl8">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0m0roav">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1kkmh1u">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_13fh5lh">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0xpnxtm">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0w1rk6k">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0a00f08">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0gjshq3">
<inputEntry id="UnaryTests_0sbn9xt">
<text>"waku_additional_info_required"</text>
</inputEntry>
<outputEntry id="LiteralExpression_19bvunv">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0tc3gg0">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_11589w3">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ifgrvs">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0wt3oqk">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1oq0lr6">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1gja8ol">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1p30oh9">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0supyq7">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0c4zx6v">
<inputEntry id="UnaryTests_184r70z">
<text>"waku_request_rejected"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0bxqx9z">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_19hxaq5">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1s9401i">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_08t8qvl">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1l32wwe">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0hpajrp">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_158b9zn">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1xd0q8q">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0jd5wjw">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_06wsy0r">
<inputEntry id="UnaryTests_06h8z0o">
<text>"waku_request_approved"</text>
</inputEntry>
<outputEntry id="LiteralExpression_01fig8s">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1u2wu86">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_17nasx3">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ig8p7y">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_05s6oxw">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0avdayp">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0b2rcpc">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0487lsf">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0xsxjoa">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_15pjeom">
<inputEntry id="UnaryTests_1h82kev">
<text>"waku_request_sme_review"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0c1fzb8">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1gp4cp6">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0203m5i">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0hmraq0">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1cgu17u">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tb81kk">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1g8ub47">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0x5nyis">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_030vgwe">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_02yjeza">
<inputEntry id="UnaryTests_1xdy273">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1svp3iv">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_09u92hz">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_16p9eh9">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0r1s3or">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0myohjh">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_06k0bxp">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1nqc0jc">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0s826jl">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1bv3064">
<text>False</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Waku_Message_Variables-Raise_New_Demand_Request">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,154 @@
<?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="Waku_Messages_Message-Raise_New_Demand_Request" name="Waku Messages: Message-Raise New Demand Request" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0056x0e</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:businessRuleTask id="Activity_0xuhps4" name="Get Waku Message Body">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Body</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0056x0e</bpmn:incoming>
<bpmn:outgoing>Flow_0vmjtgx</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Activity_1pstq0l" name="Get Waku Message Variables">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Variables</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0vmjtgx</bpmn:incoming>
<bpmn:outgoing>Flow_1503oql</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_0hgb9d6">
<bpmn:incoming>Flow_1b2tmcm</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1b2tmcm" sourceRef="Activity_1ll59ee" targetRef="Event_0hgb9d6" />
<bpmn:scriptTask id="Activity_1ll59ee" name="Set Message" scriptFormat="python">
<bpmn:incoming>Flow_1unrusm</bpmn:incoming>
<bpmn:outgoing>Flow_1b2tmcm</bpmn:outgoing>
<bpmn:script># Set Message
waku_message = waku_message_body + waku_message_timestamp + waku_message_variables + waku_message_footer</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0056x0e" sourceRef="StartEvent_1" targetRef="Activity_0xuhps4" />
<bpmn:sequenceFlow id="Flow_0vmjtgx" sourceRef="Activity_0xuhps4" targetRef="Activity_1pstq0l" />
<bpmn:sequenceFlow id="Flow_1503oql" sourceRef="Activity_1pstq0l" targetRef="Call_Shared_Waku_Messages_Global" />
<bpmn:callActivity id="Call_Shared_Waku_Messages_Global" name="Call Shared: Waku Messages Global" calledElement="Shared_Waku_Messages_Global">
<bpmn:incoming>Flow_1503oql</bpmn:incoming>
<bpmn:outgoing>Flow_1fj1y80</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1fj1y80" sourceRef="Call_Shared_Waku_Messages_Global" targetRef="Activity_0luqrao" />
<bpmn:sequenceFlow id="Flow_1unrusm" sourceRef="Activity_0luqrao" targetRef="Activity_1ll59ee" />
<bpmn:scriptTask id="Activity_0luqrao" name="Set Variables">
<bpmn:incoming>Flow_1fj1y80</bpmn:incoming>
<bpmn:outgoing>Flow_1unrusm</bpmn:outgoing>
<bpmn:script># Set variables based on DMN table
# Initialize variables
waku_message_variables = ""
wm_var_cnt = 0
if is_wmv_project:
waku_message_variables = waku_message_variables + "Project placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_category:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Category placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_sub_category:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Sub-Category placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_amount:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Amount placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_criticality:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Criticality placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_status:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Status placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_comment:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Comment placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_requestor:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Requestor placeholder"
wm_var_cnt = wm_var_cnt + 1
if is_wmv_reason:
if wm_var_cnt &gt; 0:
waku_message_variables + "\n"
waku_message_variables = waku_message_variables + "Reason placeholder"
wm_var_cnt = wm_var_cnt + 1</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Waku_Messages_Message-Raise_New_Demand_Request">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="152" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vm75gb_di" bpmnElement="Activity_0xuhps4">
<dc:Bounds x="250" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1soux7h_di" bpmnElement="Activity_1pstq0l">
<dc:Bounds x="410" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hgb9d6_di" bpmnElement="Event_0hgb9d6">
<dc:Bounds x="1102" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h667no_di" bpmnElement="Activity_1ll59ee">
<dc:Bounds x="920" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ulftcx_di" bpmnElement="Call_Shared_Waku_Messages_Global">
<dc:Bounds x="570" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0sesns1_di" bpmnElement="Activity_0luqrao">
<dc:Bounds x="740" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1b2tmcm_di" bpmnElement="Flow_1b2tmcm">
<di:waypoint x="1020" y="120" />
<di:waypoint x="1102" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0056x0e_di" bpmnElement="Flow_0056x0e">
<di:waypoint x="188" y="120" />
<di:waypoint x="250" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0vmjtgx_di" bpmnElement="Flow_0vmjtgx">
<di:waypoint x="350" y="120" />
<di:waypoint x="410" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1503oql_di" bpmnElement="Flow_1503oql">
<di:waypoint x="510" y="120" />
<di:waypoint x="570" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1fj1y80_di" bpmnElement="Flow_1fj1y80">
<di:waypoint x="670" y="120" />
<di:waypoint x="740" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1unrusm_di" bpmnElement="Flow_1unrusm">
<di:waypoint x="840" y="120" />
<di:waypoint x="920" y="120" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Govern and manage product/service development program, Generate and define new product/service ideas and Develop products and services",
"display_name": "Manage Products/Projects",
"display_order": 8,
"display_order": 9,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "",
"display_name": "Manage R&D / Infrastructure / Network",
"display_order": 9,
"display_order": 10,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Product Revenue Streams, Services Revenue Streams, Financial Revenue Streams, Manage Other Revenue Streams and Revenue Reconciliation",
"display_name": "Manage Revenue Streams",
"display_order": 10,
"display_order": 11,
"parent_groups": null,
"process_groups": [
{
@ -22,6 +22,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-revenue-streams/product-revenue-streams/customer-contracts-trade-terms",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-temp.bpmn",
"primary_process_id": "Process_8ck204l",
@ -36,6 +37,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-revenue-streams/product-revenue-streams/masterdata-customer-trade-terms-pricing",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-temp.bpmn",
"primary_process_id": "Process_q294z1f",

View File

@ -2,20 +2,9 @@
"admin": false,
"description": "Source and Onboard New Talents, Develop talents, Develop through learning, Develop and Transform Organizations and Manage Compensation, Benefits, Administer Payroll",
"display_name": "Manage Talents",
"display_order": 11,
"display_order": 12,
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "Learning plan and Training & Mentorship",
"display_name": "Develop through learning",
"display_order": 0,
"id": "manage-talents/develop-through-learning",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Develop through learning"
},
{
"admin": false,
"description": "Talent Acquisition: from job requisition to hiring, Talent Acquisition: Core Contributors contract (incl Employees), Core Contributors MD (incl Employees) maintenance, Onboarding, Trial Phase and Exit Management",
@ -24,169 +13,6 @@
"id": "manage-talents/source-and-onboard-new-talents",
"parent_groups": null,
"process_groups": [
{
"admin": false,
"description": "New Demand request, Job Description Preparation, Job Posting on ATS, Post a job on additional job board, Approve a new job board, Job Marketing/Advertising, Head Hunting /Talent Acquisition, Interview & Candidates Evaluation, Job Offer Negotiations and Job Offer Exceptional Approval (Financial)",
"display_name": "Talent Acquisition: from job requisition to hiring",
"display_order": 0,
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Job Description Preparation",
"display_name": "Job Description Preparation",
"display_order": 1,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/8112-job-description-preparation",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_actkkgq",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/8112-job-description-preparation"
},
{
"description": "Approve a new job board",
"display_name": "Approve a new job board",
"display_order": 4,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/approve-a-new-job-board",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_8h4b5tl",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/approve-a-new-job-board"
},
{
"description": "Head Hunting /Talent Acquisition",
"display_name": "Head Hunting /Talent Acquisition",
"display_order": 6,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/head-hunting-talent-acquisition",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_zo1m94w",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/head-hunting-talent-acquisition"
},
{
"description": "Interview & Candidates Evaluation",
"display_name": "Interview & Candidates Evaluation",
"display_order": 7,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/interview-candidates-evaluation",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_sc7dczj",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/interview-candidates-evaluation"
},
{
"description": "Job Offer Exceptional Approval (Financial)",
"display_name": "Job Offer Exceptional Approval (Financial)",
"display_order": 9,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-exceptional-approval-financial",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_uepmtjp",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-exceptional-approval-financial"
},
{
"description": "Job Offer Negotiations",
"display_name": "Job Offer Negotiations",
"display_order": 8,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-negotiations",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_p0ioe5h",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-negotiations"
},
{
"description": "New Demand request",
"display_name": "New Demand request",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/new-demand-request",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_vrdcgyl",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/new-demand-request"
},
{
"description": "Job Marketing/Advertising",
"display_name": "Job Marketing/Advertising",
"display_order": 5,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-marketingadvertising",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_rd24g8v",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-marketingadvertising"
},
{
"description": "Job Posting on ATS",
"display_name": "Job Posting on ATS",
"display_order": 2,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-posting-on-ats",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_36v5iiu",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-posting-on-ats"
},
{
"description": "Post a job on additional job board",
"display_name": "Post a job on additional job board",
"display_order": 3,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/post-a-job-on-additional-job-board",
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_0prz1zt",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/post-a-job-on-additional-job-board"
}
],
"sort_index": "Talent Acquisition: from job requisition to hiring"
},
{
"admin": false,
"description": "Onboarding",
"display_name": "Onboarding",
"display_order": 0,
"id": "manage-talents/source-and-onboard-new-talents/onboarding",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Onboarding"
},
{
"admin": false,
"description": "Mid Trial Phase Evaluation and End of Trial Phase Evaluation",
@ -204,6 +30,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/trial-phase/end-of-trial-phase-evaluation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_ynrr6eh",
@ -218,6 +45,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/trial-phase/mid-trial-phase-evaluation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_l44gp5l",
@ -244,6 +72,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-core-contributors-contract-incl-employees/contract-negotiation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_9ek1zeh",
@ -258,6 +87,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-core-contributors-contract-incl-employees/contract-review-and-approvals",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_0fg4pyv",
@ -272,6 +102,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-core-contributors-contract-incl-employees/manage-templates-and-documents-storage",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_nzammzz",
@ -286,6 +117,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-core-contributors-contract-incl-employees/post-closing-management-monitoring",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_hqe0dvh",
@ -300,6 +132,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-core-contributors-contract-incl-employees/signing-and-archiving-contracts",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_mk11u8r",
@ -309,6 +142,168 @@
],
"sort_index": "Talent Acquisition: Core Contributors contract (incl Employees)"
},
{
"admin": false,
"description": "New Demand request, Job Description Preparation, Job Posting on ATS, Post a job on additional job board, Approve a new job board, Job Marketing/Advertising, Head Hunting /Talent Acquisition, Interview & Candidates Evaluation, Job Offer Negotiations and Job Offer Exceptional Approval (Financial)",
"display_name": "Talent Acquisition: from job requisition to hiring",
"display_order": 0,
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring",
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Job Description Preparation",
"display_name": "Job Description Preparation",
"display_order": 1,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/8112-job-description-preparation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_actkkgq",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/8112-job-description-preparation"
},
{
"description": "Approve a new job board",
"display_name": "Approve a new job board",
"display_order": 4,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/approve-a-new-job-board",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_8h4b5tl",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/approve-a-new-job-board"
},
{
"description": "Head Hunting /Talent Acquisition",
"display_name": "Head Hunting /Talent Acquisition",
"display_order": 6,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/head-hunting-talent-acquisition",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_zo1m94w",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/head-hunting-talent-acquisition"
},
{
"description": "Interview & Candidates Evaluation",
"display_name": "Interview & Candidates Evaluation",
"display_order": 7,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/interview-candidates-evaluation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_sc7dczj",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/interview-candidates-evaluation"
},
{
"description": "Job Offer Exceptional Approval (Financial)",
"display_name": "Job Offer Exceptional Approval (Financial)",
"display_order": 9,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-exceptional-approval-financial",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_uepmtjp",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-exceptional-approval-financial"
},
{
"description": "Job Offer Negotiations",
"display_name": "Job Offer Negotiations",
"display_order": 8,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-negotiations",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_p0ioe5h",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/job-offer-negotiations"
},
{
"description": "New Demand request",
"display_name": "New Demand request",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/new-demand-request",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_vrdcgyl",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/new-demand-request"
},
{
"description": "Job Marketing/Advertising",
"display_name": "Job Marketing/Advertising",
"display_order": 5,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-marketingadvertising",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_rd24g8v",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-marketingadvertising"
},
{
"description": "Job Posting on ATS",
"display_name": "Job Posting on ATS",
"display_order": 2,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-posting-on-ats",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_36v5iiu",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/ob-posting-on-ats"
},
{
"description": "Post a job on additional job board",
"display_name": "Post a job on additional job board",
"display_order": 3,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/post-a-job-on-additional-job-board",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_0prz1zt",
"process_group": null,
"sort_index": "manage-talents/source-and-onboard-new-talents/talent-acquisition-from-job-requisition-to-hiring/post-a-job-on-additional-job-board"
}
],
"sort_index": "Talent Acquisition: from job requisition to hiring"
},
{
"admin": false,
"description": "CC MD Creation, CC MD Changes and CC MD Blocking",
@ -326,6 +321,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/core-contributors-md-incl-employees-maintenance/cc-md-blocking",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_mig3l40",
@ -340,6 +336,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/core-contributors-md-incl-employees-maintenance/cc-md-changes",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_vzv1ndc",
@ -354,6 +351,7 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "manage-talents/source-and-onboard-new-talents/core-contributors-md-incl-employees-maintenance/cc-md-creation",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "demo-only.bpmn",
"primary_process_id": "Process_9pr7q9v",
@ -362,11 +360,33 @@
}
],
"sort_index": "Core Contributors MD (incl Employees) maintenance"
},
{
"admin": false,
"description": "Onboarding",
"display_name": "Onboarding",
"display_order": 0,
"id": "manage-talents/source-and-onboard-new-talents/onboarding",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Onboarding"
}
],
"process_models": [],
"sort_index": "Source and Onboard New Talents"
},
{
"admin": false,
"description": "Learning plan and Training & Mentorship",
"display_name": "Develop through learning",
"display_order": 0,
"id": "manage-talents/develop-through-learning",
"parent_groups": null,
"process_groups": [],
"process_models": [],
"sort_index": "Develop through learning"
},
{
"admin": false,
"description": "Performance set up and evaluation Potential evaluation and Talent review and career management",

View File

@ -2,7 +2,7 @@
"admin": false,
"description": "Manage Treasury & Investment policies, Manage SNT Disposals, Manage debt and investment and Manage Financing & Treasury",
"display_name": "Manage Treasury",
"display_order": 12,
"display_order": 13,
"parent_groups": null,
"process_groups": [],
"process_models": []

View File

@ -81,7 +81,7 @@
<bpmn:scriptTask id="remove_approver" name="Remove Approver" scriptFormat="python">
<bpmn:incoming>Flow_0bgkfue</bpmn:incoming>
<bpmn:outgoing>Flow_1ivhu7x</bpmn:outgoing>
<bpmn:script>approver = get_user()
<bpmn:script>approver = get_current_user()
lane_owners["Finance Team"].remove(approver)</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>

View File

@ -5,6 +5,7 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "lanes_with_dict.bpmn",
"primary_process_id": "Proccess_yhito9e"
}

View File

@ -5,6 +5,16 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": [
{
"key": "pet",
"path": "pet"
},
{
"key": "family",
"path": "family"
}
],
"primary_file_name": "pet.bpmn",
"primary_process_id": "Process_b29pric"
}
}

View File

@ -1,10 +0,0 @@
{
"description": "admin",
"display_name": "admin",
"display_order": 1,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "admin-portal.bpmn",
"primary_process_id": "Proccess_y8suehd"
}

View File

@ -1,14 +0,0 @@
{
"type": "object",
"title": "Finance Processes",
"properties": {
"financeEnumRadio": {
"type": "string",
"title": "Pick which Finance process to run",
"enum": [
"Submit an Invoice",
"Something Else"
]
}
}
}

View File

@ -1,8 +0,0 @@
{
"financeEnumRadio": {
"ui:widget": "radio",
"ui:options": {
"inline": false
}
}
}

View File

@ -1,15 +0,0 @@
{
"type": "object",
"title": "Departments",
"properties": {
"deptEnumRadio": {
"type": "string",
"title": "Pick which department",
"enum": [
"Finance",
"HR",
"Legal"
]
}
}
}

View File

@ -1,8 +0,0 @@
{
"deptEnumRadio": {
"ui:widget": "radio",
"ui:options": {
"inline": false
}
}
}

View File

@ -1,289 +0,0 @@
<?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="3.0.0-dev">
<bpmn:collaboration id="Collaboration_1f8smlv">
<bpmn:participant id="Participant_0j0qj5l" name="Core Contributor - nonAdmin" processRef="Process_bd2e724z" />
<bpmn:correlationKey name="CorrelationKey_Submit_Invoice">
<bpmn:correlationPropertyRef>CorrelationProperty_Submit_Invoice</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
</bpmn:collaboration>
<bpmn:process id="Process_bd2e724z" isExecutable="true">
<bpmn:userTask id="Activity_Select_Department" name="Select Department">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="Select-the_department_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="Select-the_department_UISchema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0n7p17z</bpmn:incoming>
<bpmn:outgoing>Flow_1me5mdj</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1e95c19">
<bpmn:incoming>Flow_0rxay57</bpmn:incoming>
</bpmn:endEvent>
<bpmn:exclusiveGateway id="Gateway_Which_Department" name="Which Department?">
<bpmn:incoming>Flow_1me5mdj</bpmn:incoming>
<bpmn:outgoing>Flow_1r70j0z</bpmn:outgoing>
<bpmn:outgoing>Flow_1qk44me</bpmn:outgoing>
<bpmn:outgoing>Flow_0hqitwz</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_12ps4ez" sourceRef="StartEvent_1" targetRef="Activity_1oohn7c" />
<bpmn:sequenceFlow id="Flow_1me5mdj" sourceRef="Activity_Select_Department" targetRef="Gateway_Which_Department" />
<bpmn:sequenceFlow id="Flow_1r70j0z" name="HR" sourceRef="Gateway_Which_Department" targetRef="Activity_Select_HR_Process">
<bpmn:conditionExpression>deptEnumRadio == "HR"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1qk44me" name="Legal" sourceRef="Gateway_Which_Department" targetRef="Activity_Select_Legal_Process">
<bpmn:conditionExpression>deptEnumRadio == "Legal"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_08qio04">
<bpmn:incoming>Flow_0sgy55n</bpmn:incoming>
<bpmn:incoming>Flow_13xeu5r</bpmn:incoming>
<bpmn:incoming>Flow_1y39m94</bpmn:incoming>
<bpmn:outgoing>Flow_0rxay57</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0rxay57" sourceRef="Gateway_08qio04" targetRef="Event_1e95c19" />
<bpmn:sequenceFlow id="Flow_0sgy55n" sourceRef="Activity_Select_HR_Process" targetRef="Gateway_08qio04" />
<bpmn:manualTask id="Activity_Select_HR_Process" name="Select HR Process">
<bpmn:incoming>Flow_1r70j0z</bpmn:incoming>
<bpmn:outgoing>Flow_0sgy55n</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:manualTask id="Activity_Select_Legal_Process" name="Select Legal Process">
<bpmn:incoming>Flow_1qk44me</bpmn:incoming>
<bpmn:outgoing>Flow_13xeu5r</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_13xeu5r" sourceRef="Activity_Select_Legal_Process" targetRef="Gateway_08qio04" />
<bpmn:subProcess id="SubProcess_Select_Finance_Process" name="Select Finance Process">
<bpmn:incoming>Flow_0hqitwz</bpmn:incoming>
<bpmn:outgoing>Flow_1y39m94</bpmn:outgoing>
<bpmn:userTask id="Activity_Select_Finance_Process" name="Select Finance Process">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="Select-the-finance-process_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="Select-the-finance-process_UISchema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1j7988u</bpmn:incoming>
<bpmn:outgoing>Flow_023hsr3</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1k87w5f">
<bpmn:incoming>Flow_1vmy0u7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_023hsr3" sourceRef="Activity_Select_Finance_Process" targetRef="Gateway_1qcctp1" />
<bpmn:startEvent id="Event_0iy5df8">
<bpmn:outgoing>Flow_1j7988u</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1j7988u" sourceRef="Event_0iy5df8" targetRef="Activity_Select_Finance_Process" />
<bpmn:exclusiveGateway id="Gateway_1qcctp1" name="Which Finance Process">
<bpmn:incoming>Flow_023hsr3</bpmn:incoming>
<bpmn:outgoing>Flow_04x5jyc</bpmn:outgoing>
<bpmn:outgoing>Flow_0319lpz</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_088v9c8">
<bpmn:incoming>Flow_12ans71</bpmn:incoming>
<bpmn:incoming>Flow_1a6ux7r</bpmn:incoming>
<bpmn:outgoing>Flow_1vmy0u7</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1vmy0u7" sourceRef="Gateway_088v9c8" targetRef="Event_1k87w5f" />
<bpmn:sequenceFlow id="Flow_04x5jyc" name="Submit an invoice" sourceRef="Gateway_1qcctp1" targetRef="Activity_Submit_Income">
<bpmn:conditionExpression>financeEnumRadio == "Submit an Invoice"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0319lpz" name="Something Else" sourceRef="Gateway_1qcctp1" targetRef="Activity_Submit_Something_Else">
<bpmn:conditionExpression>financeEnumRadio == "Something Else"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:manualTask id="Activity_Submit_Something_Else" name="Submit Something Else">
<bpmn:incoming>Flow_0319lpz</bpmn:incoming>
<bpmn:outgoing>Flow_12ans71</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_12ans71" sourceRef="Activity_Submit_Something_Else" targetRef="Gateway_088v9c8" />
<bpmn:sequenceFlow id="Flow_1a6ux7r" sourceRef="Activity_Submit_Income" targetRef="Gateway_088v9c8" />
<bpmn:callActivity id="Activity_Submit_Income" name="Submit Income" calledElement="Process_cc_invoice_approval_process_v2_a">
<bpmn:incoming>Flow_04x5jyc</bpmn:incoming>
<bpmn:outgoing>Flow_1a6ux7r</bpmn:outgoing>
</bpmn:callActivity>
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_0hqitwz" name="Finance" sourceRef="Gateway_Which_Department" targetRef="SubProcess_Select_Finance_Process">
<bpmn:conditionExpression>deptEnumRadio == "Finance"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1y39m94" sourceRef="SubProcess_Select_Finance_Process" targetRef="Gateway_08qio04" />
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_12ps4ez</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0n7p17z" sourceRef="Activity_1oohn7c" targetRef="Activity_Select_Department" />
<bpmn:manualTask id="Activity_1oohn7c" name="Show Waiting Tasks">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Waitiing Tasks Shown Here</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_12ps4ez</bpmn:incoming>
<bpmn:outgoing>Flow_0n7p17z</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmn:correlationProperty id="CorrelationProperty_Submit_Invoice" name="CorrelationProperty: Submit Invoice">
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_Submit_Invoice">
<bpmn:formalExpression>topica_one</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
</bpmn:correlationProperty>
<bpmn:message id="Message_Submit_Invoice" name="Message: Submit Invoice">
<bpmn:extensionElements>
<spiffworkflow:messagePayload>{
"topica_one":"topic_one_a",
"init_var_one":"3"
}</spiffworkflow:messagePayload>
<spiffworkflow:messageVariable>topica_one</spiffworkflow:messageVariable>
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1f8smlv">
<bpmndi:BPMNShape id="Participant_0j0qj5l_di" bpmnElement="Participant_0j0qj5l" isHorizontal="true">
<dc:Bounds x="-10" y="0" width="970" height="468" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1e82nzu_di" bpmnElement="Activity_Select_Department">
<dc:Bounds x="270" y="138" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1e95c19_di" bpmnElement="Event_1e95c19">
<dc:Bounds x="802" y="160" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1ni7rh4_di" bpmnElement="Gateway_Which_Department" isMarkerVisible="true">
<dc:Bounds x="435" y="153" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="388" y="196" width="64" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_08qio04_di" bpmnElement="Gateway_08qio04" isMarkerVisible="true">
<dc:Bounds x="705" y="153" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10drt8s_di" bpmnElement="Activity_Select_HR_Process">
<dc:Bounds x="550" y="138" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1e1pldb_di" bpmnElement="Activity_Select_Legal_Process">
<dc:Bounds x="550" y="270" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0p4rc9r_di" bpmnElement="SubProcess_Select_Finance_Process">
<dc:Bounds x="550" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="32" y="160" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1adwjso_di" bpmnElement="Activity_1oohn7c">
<dc:Bounds x="110" y="138" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_12ps4ez_di" bpmnElement="Flow_12ps4ez">
<di:waypoint x="68" y="178" />
<di:waypoint x="110" y="178" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1me5mdj_di" bpmnElement="Flow_1me5mdj">
<di:waypoint x="370" y="178" />
<di:waypoint x="435" y="178" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1r70j0z_di" bpmnElement="Flow_1r70j0z">
<di:waypoint x="485" y="178" />
<di:waypoint x="550" y="178" />
<bpmndi:BPMNLabel>
<dc:Bounds x="492" y="160" width="16" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qk44me_di" bpmnElement="Flow_1qk44me">
<di:waypoint x="460" y="203" />
<di:waypoint x="460" y="310" />
<di:waypoint x="550" y="310" />
<bpmndi:BPMNLabel>
<dc:Bounds x="486" y="293" width="27" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0rxay57_di" bpmnElement="Flow_0rxay57">
<di:waypoint x="755" y="178" />
<di:waypoint x="802" y="178" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0sgy55n_di" bpmnElement="Flow_0sgy55n">
<di:waypoint x="650" y="178" />
<di:waypoint x="705" y="178" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13xeu5r_di" bpmnElement="Flow_13xeu5r">
<di:waypoint x="650" y="310" />
<di:waypoint x="730" y="310" />
<di:waypoint x="730" y="203" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hqitwz_di" bpmnElement="Flow_0hqitwz">
<di:waypoint x="460" y="153" />
<di:waypoint x="460" y="60" />
<di:waypoint x="550" y="60" />
<bpmndi:BPMNLabel>
<dc:Bounds x="480" y="63" width="40" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1y39m94_di" bpmnElement="Flow_1y39m94">
<di:waypoint x="650" y="60" />
<di:waypoint x="730" y="60" />
<di:waypoint x="730" y="153" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0n7p17z_di" bpmnElement="Flow_0n7p17z">
<di:waypoint x="210" y="178" />
<di:waypoint x="270" y="178" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_1tsdisg">
<bpmndi:BPMNPlane id="BPMNPlane_0h6ct3n" bpmnElement="SubProcess_Select_Finance_Process">
<bpmndi:BPMNShape id="BPMNShape_0ujxch4" bpmnElement="Activity_Select_Finance_Process">
<dc:Bounds x="420" y="210" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1k87w5f_di" bpmnElement="Event_1k87w5f">
<dc:Bounds x="1372" y="232" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0iy5df8_di" bpmnElement="Event_0iy5df8">
<dc:Bounds x="322" y="232" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1qcctp1_di" bpmnElement="Gateway_1qcctp1" isMarkerVisible="true">
<dc:Bounds x="595" y="225" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="583" y="187.5" width="73" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_088v9c8_di" bpmnElement="Gateway_088v9c8" isMarkerVisible="true">
<dc:Bounds x="1255" y="225" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_080k15n_di" bpmnElement="Activity_Submit_Something_Else">
<dc:Bounds x="780" y="320" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0mtjk97_di" bpmnElement="Activity_Submit_Income">
<dc:Bounds x="780" y="210" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_023hsr3_di" bpmnElement="Flow_023hsr3">
<di:waypoint x="520" y="250" />
<di:waypoint x="595" y="250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1j7988u_di" bpmnElement="Flow_1j7988u">
<di:waypoint x="358" y="250" />
<di:waypoint x="420" y="250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1vmy0u7_di" bpmnElement="Flow_1vmy0u7">
<di:waypoint x="1305" y="250" />
<di:waypoint x="1372" y="250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04x5jyc_di" bpmnElement="Flow_04x5jyc">
<di:waypoint x="645" y="250" />
<di:waypoint x="780" y="250" />
<bpmndi:BPMNLabel>
<dc:Bounds x="666" y="232" width="87" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0319lpz_di" bpmnElement="Flow_0319lpz">
<di:waypoint x="620" y="275" />
<di:waypoint x="620" y="360" />
<di:waypoint x="780" y="360" />
<bpmndi:BPMNLabel>
<dc:Bounds x="671" y="343" width="78" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12ans71_di" bpmnElement="Flow_12ans71">
<di:waypoint x="880" y="360" />
<di:waypoint x="1280" y="360" />
<di:waypoint x="1280" y="275" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1a6ux7r_di" bpmnElement="Flow_1a6ux7r">
<di:waypoint x="880" y="250" />
<di:waypoint x="1255" y="250" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -1,10 +0,0 @@
{
"description": "nonAdmin",
"display_name": "nonAdmin",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "nonAdmin-portal.bpmn",
"primary_process_id": "Process_bd2e724z"
}

View File

@ -1,29 +0,0 @@
{
"admin": false,
"display_name": "Core Contributor Portal",
"display_order": 4,
"process_models": [
{
"description": "admin",
"display_name": "admin",
"display_order": 1,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "admin-portal.bpmn",
"primary_process_id": "Proccess_y8suehd",
"process_group_id": "core-contributor-portal"
},
{
"description": "nonAdmin",
"display_name": "nonAdmin",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "nonAdmin-portal.bpmn",
"primary_process_id": "Process_bd2e724z",
"process_group_id": "core-contributor-portal"
}
]
}

View File

@ -0,0 +1,11 @@
{
"description": "Globally shared DMN files",
"display_name": "DMN Files",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "waku-message-footer.bpmn",
"primary_process_id": "Get_Waku_Message_Footer"
}

View File

@ -1,10 +1,11 @@
{
"description": "Local Date and Time",
"description": "Returns the local date and time when provided with time zone",
"display_name": "Local Date and Time",
"display_order": 1,
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "shared_local_date_time.bpmn",
"primary_process_id": "Shared_Local_Date_Time"
}

View File

@ -7,7 +7,7 @@
<bpmn:sequenceFlow id="Flow_1al74ve" sourceRef="StartEvent_1" targetRef="Activity_Get_Local_Date_Time" />
<bpmn:scriptTask id="Activity_Get_Local_Date_Time" name="Get Local Date and Time" scriptFormat="python">
<bpmn:incoming>Flow_1al74ve</bpmn:incoming>
<bpmn:outgoing>Flow_0xa8fic</bpmn:outgoing>
<bpmn:outgoing>Flow_1u0p2sw</bpmn:outgoing>
<bpmn:script>try:
is_format
except NameError:
@ -31,6 +31,11 @@ except NameError:
else:
time_format = "12"
try:
is_waku_message_timestamp
except NameError:
is_waku_message_timestamp = False
utc_date_time_obj = datetime.utcnow()
local_date_time_obj = get_localtime(utc_date_time_obj, time_zone)
@ -52,9 +57,9 @@ del(utc_date_time_obj)
del(local_date_time_obj)</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="Event_1d6y8yr">
<bpmn:incoming>Flow_0xa8fic</bpmn:incoming>
<bpmn:incoming>Flow_1u0p2sw</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0xa8fic" sourceRef="Activity_Get_Local_Date_Time" targetRef="Event_1d6y8yr" />
<bpmn:sequenceFlow id="Flow_1u0p2sw" sourceRef="Activity_Get_Local_Date_Time" targetRef="Event_1d6y8yr" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Shared_Local_Date_Time">
@ -65,15 +70,15 @@ del(local_date_time_obj)</bpmn:script>
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1d6y8yr_di" bpmnElement="Event_1d6y8yr">
<dc:Bounds x="432" y="159" width="36" height="36" />
<dc:Bounds x="452" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1al74ve_di" bpmnElement="Flow_1al74ve">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xa8fic_di" bpmnElement="Flow_0xa8fic">
<bpmndi:BPMNEdge id="Flow_1u0p2sw_di" bpmnElement="Flow_1u0p2sw">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
<di:waypoint x="452" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>

File diff suppressed because it is too large Load Diff

View File

@ -59,7 +59,7 @@
<text>"114"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0a8mndc">
<text>"lead"</text>
<text>"lead@status.im"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1irkhsx">

View File

@ -1,168 +0,0 @@
<?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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Permissions_Procurement" name="Permissions: Procurement">
<decisionTable id="decisionTable_1">
<input id="input_1" label="uri" biodi:width="419">
<inputExpression id="inputExpression_1" typeRef="string">
<text>uri_procurement</text>
</inputExpression>
</input>
<input id="InputClause_1fs78j6" label="Group" biodi:width="180">
<inputExpression id="LiteralExpression_14pxvj8" typeRef="string">
<text>group</text>
</inputExpression>
</input>
<output id="output_1" label="Create?" name="procurement_permissions_create" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_03e2t9y" label="Read?" name="procurement_permissions_read" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_1dlgy9e" label="Update?" name="procurement_permissions_update" typeRef="boolean" biodi:width="150" />
<output id="OutputClause_1i8wda6" label="Delete?" name="procurement_permissions_delete" typeRef="boolean" biodi:width="150" />
<rule id="DecisionRule_1s0qiry">
<inputEntry id="UnaryTests_054ghsl">
<text>"/v1.0/process-groups/manage-procurement/*"</text>
</inputEntry>
<inputEntry id="UnaryTests_1nd37hq">
<text>"admin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_05su89a">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0l1d9ua">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0bmmj9z">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0tu0p2d">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1qdjvh9">
<inputEntry id="UnaryTests_0ofl62s">
<text>"/v1.0/process-groups/manage-procurement/procurement/vendor-invoice-management/invoice-processingl"</text>
</inputEntry>
<inputEntry id="UnaryTests_1n6y9ly">
<text>"procurement admin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_08cv62q">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1qr83pc">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1yv5mkr">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0p22gy0">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1u2v2yr">
<inputEntry id="UnaryTests_1qs6lkn">
<text>"/v1.0/process-groups/manage-procurement/procurement/vendor-invoice-management/invoice-processingl"</text>
</inputEntry>
<inputEntry id="UnaryTests_19tw9gx">
<text>"procurement member"</text>
</inputEntry>
<outputEntry id="LiteralExpression_19n0o3k">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0bd84lx">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_12geh1k">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ivqex9">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1rhfym9">
<inputEntry id="UnaryTests_02dno2m">
<text>"/v1.0/process-groups/manage-procurement/procurement/vendor-invoice-management/invoice-processingl"</text>
</inputEntry>
<inputEntry id="UnaryTests_0u4utql">
<text>"procurement project lead"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0m7ki6b">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qws3iq">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_00e927w">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_091fozz">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_06o2qj3">
<inputEntry id="UnaryTests_1ogxbdd">
<text>"/v1.0/process-groups/manage-procurement/procurement/vendor-invoice-management/invoice-processingl"</text>
</inputEntry>
<inputEntry id="UnaryTests_0oaw3kc">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_06uowhc">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_0s5q3v6">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_01bkqwv">
<text>False</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tt5ev0">
<text>False</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0umci41">
<inputEntry id="UnaryTests_0tnj5bl">
<text>"/v1.0/process-groups/manage-procurement/procurement/vendor-invoice-management/invoice-approval"</text>
</inputEntry>
<inputEntry id="UnaryTests_10xmrou">
<text>"procurement admin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1seryg8">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1f4f5mf">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_0wn87pm">
<text>True</text>
</outputEntry>
<outputEntry id="LiteralExpression_1d28dgr">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_12uilmp">
<inputEntry id="UnaryTests_1pr9fau">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1t4gki8">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0n3pyv0">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0fs8fbr">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0545wf7">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0e9rpab">
<text></text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Permissions_Procurement">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -78,7 +78,7 @@
<rule id="DecisionRule_1k1spje">
<description>zQ3shjbmAQ8QsCwBTPGumhzzBM1iKs29VuHojm2z4EF8yYGCZ</description>
<inputEntry id="UnaryTests_0oqd60u">
<text>"harmeet"</text>
<text>"harmeet@status.im"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ssoyp6">
<text>109</text>
@ -197,7 +197,7 @@
<rule id="DecisionRule_06rmwkt">
<description>0x048736f0d79be71d64b364d7172691a1053ef882017f02657bc2131c40a9e2e32cb87d35930a7410dada1818e2165f4bce671b805d08247de6333206dabab0aaee</description>
<inputEntry id="UnaryTests_1ku5lpv">
<text>"core"</text>
<text>"core@status.im"</text>
</inputEntry>
<outputEntry id="LiteralExpression_00yn7a4">
<text>113</text>
@ -227,7 +227,7 @@
<rule id="DecisionRule_09x98qh">
<description>0x04c3e87c880510000f3be0152905ab11c6e5c899fd580f4c76fc050a2d99cd2a9f034eafdde7385a31b2aee790bd67d7668dba17d6f282c8c5592488f4f4c4fe33</description>
<inputEntry id="UnaryTests_1hojvo7">
<text>"fin"</text>
<text>"fin@status.im"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0c8wxo2">
<text>118</text>
@ -257,7 +257,7 @@
<rule id="DecisionRule_13ao0ay">
<description>0x04eac0dfbdb475e903e816f1ab9b193f0dd0c404226923c7035cee08f39d6730ffda5c4fc7c8f515a5e08ed9c31a88a1d1039defb72a3cbd2b93935f00f261b144</description>
<inputEntry id="UnaryTests_1q0potj">
<text>"lead"</text>
<text>"lead@status.im"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pfwxee">
<text>114</text>

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

@ -5,6 +5,7 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "test.bpmn",
"primary_process_id": "Proccess_bd7bm56"
}

View File

@ -0,0 +1,45 @@
<?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="3.0.0-dev">
<bpmn:process id="Process_nar6ded" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1mo63ut</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1mo63ut" sourceRef="StartEvent_1" targetRef="Activity_1ng2wiq" />
<bpmn:endEvent id="Event_1y78b8p">
<bpmn:incoming>Flow_0vtr13m</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0vtr13m" sourceRef="Activity_1ng2wiq" targetRef="Event_1y78b8p" />
<bpmn:userTask id="Activity_1ng2wiq" name="Enter bug">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="enter-bug-details-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="enter-bug-details-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1mo63ut</bpmn:incoming>
<bpmn:outgoing>Flow_0vtr13m</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_nar6ded">
<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_1y78b8p_di" bpmnElement="Event_1y78b8p">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1v1ft25_di" bpmnElement="Activity_1ng2wiq">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1mo63ut_di" bpmnElement="Flow_1mo63ut">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0vtr13m_di" bpmnElement="Flow_0vtr13m">
<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,21 @@
{
"title": "Enter bug details",
"description": "",
"properties": {
"description": {
"type": "string",
"title": "Description"
},
"status": {
"type": "string",
"title": "Status",
"enum": [
"New",
" Developing",
" Ready",
" Done"
]
}
},
"required": []
}

View File

@ -0,0 +1,6 @@
{
"ui:order": [
"description",
"status"
]
}

View File

@ -0,0 +1,20 @@
{
"description": "",
"display_name": "Bug Tracker",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": [
{
"key": "description",
"path": "description"
},
{
"key": "status",
"path": "status"
}
],
"primary_file_name": "Bugs Form.bpmn",
"primary_process_id": "Process_nar6ded"
}

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

@ -1,17 +1,10 @@
<?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:collaboration id="Collaboration_04tabpt" messages="[object Object],[object Object],[object Object]">
<bpmn:participant id="Participant_0n4mcc7" processRef="Proccess_y8suehd" />
</bpmn:collaboration>
<bpmn:process id="Proccess_y8suehd" isExecutable="true">
<bpmn:process id="Process_s7q1h75" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" />
</bpmn:process>
<bpmn:message id="Message_Submit_Invoice" name="Message: Submit Invoice" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_04tabpt">
<bpmndi:BPMNShape id="Participant_0n4mcc7_di" bpmnElement="Participant_0n4mcc7" isHorizontal="true">
<dc:Bounds x="129" y="52" width="600" height="250" />
</bpmndi:BPMNShape>
<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>

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,39 @@
<?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_ptmeazu" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0qfycuk</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0qfycuk" sourceRef="StartEvent_1" targetRef="Activity_1qdbp6x" />
<bpmn:endEvent id="Event_1kumwb5">
<bpmn:incoming>Flow_1auiekw</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1auiekw" sourceRef="Activity_1qdbp6x" targetRef="Event_1kumwb5" />
<bpmn:scriptTask id="Activity_1qdbp6x" name="Script">
<bpmn:incoming>Flow_0qfycuk</bpmn:incoming>
<bpmn:outgoing>Flow_1auiekw</bpmn:outgoing>
<bpmn:script>if a=1</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_ptmeazu">
<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_1kumwb5_di" bpmnElement="Event_1kumwb5">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ii0b3p_di" bpmnElement="Activity_1qdbp6x">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0qfycuk_di" bpmnElement="Flow_0qfycuk">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1auiekw_di" bpmnElement="Flow_1auiekw">
<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": "Script Task",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "Script.bpmn",
"primary_process_id": "Process_ptmeazu"
}

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,200 @@
<?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_19npvp5" />
<bpmn:exclusiveGateway id="Gateway_0xlrnzx" name="Current User?" default="Flow_0i96b90">
<bpmn:incoming>Flow_12fb3ir</bpmn:incoming>
<bpmn:incoming>Flow_1mplhly</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_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_0dg341m</bpmn:outgoing>
<bpmn:script># Update Current User Extras
current_user_extras = {}
# Add
current_user_extras["bamboo_api_id"] = userBambooId
current_user_extras["time_zone"] = userTimeZone
current_user_extras["date_format"] = userDateFormat
current_user_extras["time_format"] = userTimeFormat
# Add Bamboo Info to Extras
current_user_extras["first_name"] = resp_BambooUserInfo["firstName"]
current_user_extras["last_name"] = resp_BambooUserInfo["lastName"]
current_user_extras["preferred_name"] = resp_BambooUserInfo["preferredName"]
if current_user_extras["preferred_name"] is None:
current_user_extras["full_name"] = current_user_extras["first_name"] + " " + current_user_extras["last_name"]
else:
current_user_extras["full_name"] = current_user_extras["first_name"] + " (" + current_user_extras["preferred_name"] + ") " + current_user_extras["last_name"]
current_user_extras["status_key"] = resp_BambooUserInfo["customStatusChatKey"]
current_user_extras["bamboo_supervisor_api_id"] = resp_BambooUserInfo["supervisorEid"]
current_user_extras["bamboo_supervisor_status_id"] = resp_BambooUserInfo["supervisorId"]
del(userFullName)
del (userFirstName)
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="userBambooId" />
<spiffworkflow:parameter id="fields" type="str" value="&#39;firstName,lastName,preferredName,customStatusChatKey,supervisorId,supervisorEid&#39;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0sypyzb</bpmn:incoming>
<bpmn:outgoing>Flow_12fb3ir</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0byohhl">
<bpmn:incoming>Flow_0d47w7r</bpmn:incoming>
<bpmn:incoming>Flow_0dg341m</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_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
# Check if find_user has a Status email
is_status_email = (find_user[-9:] == "status.im")</bpmn:script>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="Gateway_19npvp5" name="Status Email?" default="Flow_0sypyzb">
<bpmn:incoming>Flow_08nmyrt</bpmn:incoming>
<bpmn:outgoing>Flow_0sypyzb</bpmn:outgoing>
<bpmn:outgoing>Flow_1mplhly</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0sypyzb" name="Yes" sourceRef="Gateway_19npvp5" targetRef="Activity_1uw66e8" />
<bpmn:sequenceFlow id="Flow_12fb3ir" sourceRef="Activity_1uw66e8" targetRef="Gateway_0xlrnzx" />
<bpmn:sequenceFlow id="Flow_0dg341m" sourceRef="Activity_1a9fimb" targetRef="Gateway_0byohhl" />
<bpmn:sequenceFlow id="Flow_1mplhly" name="No" sourceRef="Gateway_19npvp5" targetRef="Gateway_0xlrnzx">
<bpmn:conditionExpression>not(is_status_email)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
</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="1232" y="209" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0xlrnzx_di" bpmnElement="Gateway_0xlrnzx" isMarkerVisible="true">
<dc:Bounds x="765" y="202" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="705" y="243" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0rvcg5l_di" bpmnElement="Activity_1a9fimb">
<dc:Bounds x="900" y="187" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0nftxgp_di" bpmnElement="Activity_1uw66e8">
<dc:Bounds x="580" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0byohhl_di" bpmnElement="Gateway_0byohhl" isMarkerVisible="true">
<dc:Bounds x="1085" y="202" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1azbkzp_di" bpmnElement="Activity_1fkr6s9">
<dc:Bounds x="100" y="187" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_19npvp5_di" bpmnElement="Gateway_19npvp5" isMarkerVisible="true">
<dc:Bounds x="445" y="202" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="437" y="172" width="68" height="14" />
</bpmndi:BPMNLabel>
</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="445" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0i96b90_di" bpmnElement="Flow_0i96b90">
<di:waypoint x="815" y="227" />
<di:waypoint x="900" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="849" y="209" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0d47w7r_di" bpmnElement="Flow_0d47w7r">
<di:waypoint x="790" y="202" />
<di:waypoint x="790" y="110" />
<di:waypoint x="1110" y="110" />
<di:waypoint x="1110" y="202" />
<bpmndi:BPMNLabel>
<dc:Bounds x="942" y="83" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gd83n0_di" bpmnElement="Flow_1gd83n0">
<di:waypoint x="1135" y="227" />
<di:waypoint x="1232" 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:BPMNEdge id="Flow_0sypyzb_di" bpmnElement="Flow_0sypyzb">
<di:waypoint x="495" y="227" />
<di:waypoint x="580" y="227" />
<bpmndi:BPMNLabel>
<dc:Bounds x="529" y="209" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12fb3ir_di" bpmnElement="Flow_12fb3ir">
<di:waypoint x="680" y="227" />
<di:waypoint x="765" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0dg341m_di" bpmnElement="Flow_0dg341m">
<di:waypoint x="1000" y="227" />
<di:waypoint x="1085" y="227" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1mplhly_di" bpmnElement="Flow_1mplhly">
<di:waypoint x="470" y="252" />
<di:waypoint x="470" y="320" />
<di:waypoint x="790" y="320" />
<di:waypoint x="790" y="252" />
<bpmndi:BPMNLabel>
<dc:Bounds x="622" y="293" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,295 @@
<?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_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@sartography.com"</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_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@sartography.com"</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_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@status.im"</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_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@status.im"</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_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@status.im"</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_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@sartography.com"</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_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@status.im"</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_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@status.im"</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_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@status.im"</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_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_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,11 @@
{
"description": "Globally accessible Waku Message components",
"display_name": "Waku Messages - Global",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "waku-message-global.bpmn",
"primary_process_id": "Shared_Waku_Messages_Global"
}

View File

@ -16,7 +16,7 @@
<rule id="DecisionRule_1m4u79d">
<description></description>
<inputEntry id="UnaryTests_1kb1te8">
<text>"manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval"</text>
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0d8t32s">
<text></text>
@ -25,17 +25,6 @@
<text>"\nProcess Instance Id: " + str(process_info["process_instance_id"]) + "\nLink to Spiff: https://demo.spiffworkflow.org/"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0i1httm">
<inputEntry id="UnaryTests_11pq65a">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_053rka9">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0wjm375">
<text>"Something is wrong, contact Support"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>

View File

@ -0,0 +1,67 @@
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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="Shared_Waku_Messages_Global" name="Shared: Waku Messages Global" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0mhmqog</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0mhmqog" sourceRef="StartEvent_1" targetRef="Activity_0elwnuk" />
<bpmn:businessRuleTask id="Activity_0elwnuk" name="Get Waku Message Footer">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Footer</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0mhmqog</bpmn:incoming>
<bpmn:outgoing>Flow_0gmwrim</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_1l5lalr">
<bpmn:incoming>Flow_0ed5hag</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0gmwrim" sourceRef="Activity_0elwnuk" targetRef="Activity_0rz4emr" />
<bpmn:sequenceFlow id="Flow_0ed5hag" sourceRef="Activity_0whqoqp" targetRef="Event_1l5lalr" />
<bpmn:sequenceFlow id="Flow_1y9wdf2" sourceRef="Activity_0rz4emr" targetRef="Activity_0whqoqp" />
<bpmn:callActivity id="Activity_0rz4emr" name="Call Shared: Local Date Time" calledElement="Shared_Local_Date_Time">
<bpmn:incoming>Flow_0gmwrim</bpmn:incoming>
<bpmn:outgoing>Flow_1y9wdf2</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:scriptTask id="Activity_0whqoqp" name="Set Timestamp">
<bpmn:incoming>Flow_1y9wdf2</bpmn:incoming>
<bpmn:outgoing>Flow_0ed5hag</bpmn:outgoing>
<bpmn:script># Set Waku Message Timestamp
waku_message_timestamp = "\n- - - - - - - - - - - - - - - - - - - - - - -" + "\nSent: " + local_date_str + " @ " + local_time_str + "\n- - - - - - - - - - - - - - - - - - - - - - -"</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Shared_Waku_Messages_Global">
<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_1ruow63_di" bpmnElement="Activity_0elwnuk">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l5lalr_di" bpmnElement="Event_1l5lalr">
<dc:Bounds x="802" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_12atk39_di" bpmnElement="Activity_0rz4emr">
<dc:Bounds x="450" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0bhutm8_di" bpmnElement="Activity_0whqoqp">
<dc:Bounds x="630" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0mhmqog_di" bpmnElement="Flow_0mhmqog">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0gmwrim_di" bpmnElement="Flow_0gmwrim">
<di:waypoint x="370" y="177" />
<di:waypoint x="450" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ed5hag_di" bpmnElement="Flow_0ed5hag">
<di:waypoint x="730" y="177" />
<di:waypoint x="802" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1y9wdf2_di" bpmnElement="Flow_1y9wdf2">
<di:waypoint x="550" y="177" />
<di:waypoint x="630" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -1,10 +0,0 @@
{
"description": "Message",
"display_name": "Message",
"display_order": 3,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "waku-message.bpmn",
"primary_process_id": "Waku_Messages_Message"
}

View File

@ -1,155 +0,0 @@
<?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="3.0.0-dev">
<bpmn:process id="Waku_Messages_Message" name="Waku Messages: Message" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0056x0e</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:businessRuleTask id="Activity_0xuhps4" name="Get Waku Messages: Message Body">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Body</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0056x0e</bpmn:incoming>
<bpmn:outgoing>Flow_0vmjtgx</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Activity_1pstq0l" name="Get Waku Message: Message Variables">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Variables</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0vmjtgx</bpmn:incoming>
<bpmn:outgoing>Flow_1503oql</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Get_Waku_Messages_Message_Footer" name="Get Waku Messages: Message Footer">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Footer</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1503oql</bpmn:incoming>
<bpmn:outgoing>Flow_0ynm0mf</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_0hgb9d6">
<bpmn:incoming>Flow_1lxrn9n</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1b2tmcm" sourceRef="Activity_1ll59ee" targetRef="Gateway_1szvllt" />
<bpmn:scriptTask id="Activity_1ll59ee" name="Set Message" scriptFormat="python">
<bpmn:incoming>Flow_0frd453</bpmn:incoming>
<bpmn:outgoing>Flow_1b2tmcm</bpmn:outgoing>
<bpmn:script># Set Message
waku_message = waku_message_body + waku_message_timestamp + waku_message_variables + waku_message_footer</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0bn6hlv" sourceRef="Activity_18vg53t" targetRef="Activity_1114i9z" />
<bpmn:callActivity id="Activity_18vg53t" name="Call Shared: Local Date Time" calledElement="Shared_Local_Date_Time">
<bpmn:incoming>Flow_0ynm0mf</bpmn:incoming>
<bpmn:outgoing>Flow_0bn6hlv</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:exclusiveGateway id="Gateway_0quuycl" name="Set Message" default="Flow_0frd453">
<bpmn:incoming>Flow_0n2gvya</bpmn:incoming>
<bpmn:outgoing>Flow_0frd453</bpmn:outgoing>
<bpmn:outgoing>Flow_1ypunfo</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0frd453" sourceRef="Gateway_0quuycl" targetRef="Activity_1ll59ee" />
<bpmn:exclusiveGateway id="Gateway_1szvllt">
<bpmn:incoming>Flow_1ypunfo</bpmn:incoming>
<bpmn:incoming>Flow_1b2tmcm</bpmn:incoming>
<bpmn:outgoing>Flow_1lxrn9n</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1lxrn9n" sourceRef="Gateway_1szvllt" targetRef="Event_0hgb9d6" />
<bpmn:sequenceFlow id="Flow_1ypunfo" name="No" sourceRef="Gateway_0quuycl" targetRef="Gateway_1szvllt">
<bpmn:conditionExpression>not(isSetMessage)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0n2gvya" sourceRef="Activity_1114i9z" targetRef="Gateway_0quuycl" />
<bpmn:scriptTask id="Activity_1114i9z" name="Set Waku Message Timestamp">
<bpmn:incoming>Flow_0bn6hlv</bpmn:incoming>
<bpmn:outgoing>Flow_0n2gvya</bpmn:outgoing>
<bpmn:script>waku_message_timestamp = "\n- - - - - - - - - - - - - - - - - - - - - - -" + "\nSent: " + local_date_str + " @ " + local_time_str + "\n- - - - - - - - - - - - - - - - - - - - - - -"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0056x0e" sourceRef="StartEvent_1" targetRef="Activity_0xuhps4" />
<bpmn:sequenceFlow id="Flow_0vmjtgx" sourceRef="Activity_0xuhps4" targetRef="Activity_1pstq0l" />
<bpmn:sequenceFlow id="Flow_1503oql" sourceRef="Activity_1pstq0l" targetRef="Get_Waku_Messages_Message_Footer" />
<bpmn:sequenceFlow id="Flow_0ynm0mf" sourceRef="Get_Waku_Messages_Message_Footer" targetRef="Activity_18vg53t" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Waku_Messages_Message">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="32" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vm75gb_di" bpmnElement="Activity_0xuhps4">
<dc:Bounds x="130" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1soux7h_di" bpmnElement="Activity_1pstq0l">
<dc:Bounds x="290" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_091bh2s_di" bpmnElement="Get_Waku_Messages_Message_Footer">
<dc:Bounds x="450" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vtbbbx_di" bpmnElement="Activity_18vg53t">
<dc:Bounds x="620" y="134" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_13tt0o4_di" bpmnElement="Activity_1114i9z">
<dc:Bounds x="780" y="134" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h667no_di" bpmnElement="Activity_1ll59ee">
<dc:Bounds x="1060" y="134" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0quuycl_di" bpmnElement="Gateway_0quuycl" isMarkerVisible="true">
<dc:Bounds x="945" y="149" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="938" y="206" width="65" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1szvllt_di" bpmnElement="Gateway_1szvllt" isMarkerVisible="true">
<dc:Bounds x="1225" y="149" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hgb9d6_di" bpmnElement="Event_0hgb9d6">
<dc:Bounds x="1332" y="156" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1b2tmcm_di" bpmnElement="Flow_1b2tmcm">
<di:waypoint x="1160" y="174" />
<di:waypoint x="1225" y="174" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bn6hlv_di" bpmnElement="Flow_0bn6hlv">
<di:waypoint x="720" y="174" />
<di:waypoint x="780" y="174" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0frd453_di" bpmnElement="Flow_0frd453">
<di:waypoint x="995" y="174" />
<di:waypoint x="1060" y="174" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1lxrn9n_di" bpmnElement="Flow_1lxrn9n">
<di:waypoint x="1275" y="174" />
<di:waypoint x="1332" y="174" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ypunfo_di" bpmnElement="Flow_1ypunfo">
<di:waypoint x="970" y="149" />
<di:waypoint x="970" y="100" />
<di:waypoint x="1250" y="100" />
<di:waypoint x="1250" y="149" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1158" y="82" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0n2gvya_di" bpmnElement="Flow_0n2gvya">
<di:waypoint x="880" y="174" />
<di:waypoint x="945" y="174" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0056x0e_di" bpmnElement="Flow_0056x0e">
<di:waypoint x="68" y="180" />
<di:waypoint x="130" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0vmjtgx_di" bpmnElement="Flow_0vmjtgx">
<di:waypoint x="230" y="180" />
<di:waypoint x="290" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1503oql_di" bpmnElement="Flow_1503oql">
<di:waypoint x="390" y="180" />
<di:waypoint x="450" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ynm0mf_di" bpmnElement="Flow_0ynm0mf">
<di:waypoint x="550" y="180" />
<di:waypoint x="620" y="180" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -1,51 +0,0 @@
{
"admin": false,
"display_name": "Waku Messages",
"display_order": 16,
"process_models": [
{
"description": "Message",
"display_name": "Message",
"display_order": 3,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "waku-message.bpmn",
"primary_process_id": "Waku_Messages_Message",
"process_group_id": "waku-messages"
},
{
"description": "Message Body",
"display_name": "Message Body",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "get-waku-message-body.bpmn",
"primary_process_id": "Waku_Messages_Message_Body",
"process_group_id": "waku-messages"
},
{
"description": "Message Footer",
"display_name": "Message Footer",
"display_order": 2,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "get-waku-message-footer.bpmn",
"primary_process_id": "Waku_Messages_Message_Footer",
"process_group_id": "waku-messages"
},
{
"description": "Message Variables",
"display_name": "Message Variables",
"display_order": 1,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "waku-message-variables.bpmn",
"primary_process_id": "Waku_Messages_Message_Variables",
"process_group_id": "waku-messages"
}
]
}

View File

@ -1,9 +0,0 @@
{
"admin": false,
"description": "These are my test processes.",
"display_name": "Playground",
"display_order": 0,
"parent_groups": null,
"process_groups": [],
"process_models": []
}

View File

@ -1,56 +0,0 @@
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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_tplw9di" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0k7z31f</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0k7z31f" sourceRef="StartEvent_1" targetRef="Activity_15zssoa" />
<bpmn:scriptTask id="Activity_15zssoa" name="Set Name">
<bpmn:incoming>Flow_0k7z31f</bpmn:incoming>
<bpmn:outgoing>Flow_1ditr0b</bpmn:outgoing>
<bpmn:script>my_name = "World"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1ditr0b" sourceRef="Activity_15zssoa" targetRef="Activity_0xc4pa4" />
<bpmn:manualTask id="Activity_0xc4pa4" name="Display Message">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Hello {{my_name}}!
--------------------------
Welcome to SpiffWorkflow!</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ditr0b</bpmn:incoming>
<bpmn:outgoing>Flow_1bp1ryc</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_00owh7w">
<bpmn:incoming>Flow_1bp1ryc</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1bp1ryc" sourceRef="Activity_0xc4pa4" targetRef="Event_00owh7w" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_tplw9di">
<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_0vnd7ff_di" bpmnElement="Activity_15zssoa">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1qlipg8_di" bpmnElement="Activity_0xc4pa4">
<dc:Bounds x="430" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_00owh7w_di" bpmnElement="Event_00owh7w">
<dc:Bounds x="592" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0k7z31f_di" bpmnElement="Flow_0k7z31f">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ditr0b_di" bpmnElement="Flow_1ditr0b">
<di:waypoint x="370" y="177" />
<di:waypoint x="430" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bp1ryc_di" bpmnElement="Flow_1bp1ryc">
<di:waypoint x="530" y="177" />
<di:waypoint x="592" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -1,10 +0,0 @@
{
"description": "My first SpiffWorkflow Process Mode",
"display_name": "Simple Example",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"primary_file_name": "hello_world.bpmn",
"primary_process_id": "Process_tplw9di"
}

View File

@ -1,6 +0,0 @@
{
"admin": false,
"display_name": "",
"display_order": 17,
"process_models": []
}

View File

@ -0,0 +1,40 @@
{
"admin": false,
"description": "",
"display_name": "Site Administration",
"display_order": 15,
"parent_groups": null,
"process_groups": [],
"process_models": [
{
"description": "Run this process model to apply permissions and user group assignment changes on the site. Data is largely sourced from users_to_groups.dmn and group_permissions.dmn.",
"display_name": "Set Permissions",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "site-administration/set-permissions",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "permissions.bpmn",
"primary_process_id": "set_permissions_process",
"process_group": null,
"sort_index": "site-administration/set-permissions"
},
{
"description": "",
"display_name": "testing",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"id": "site-administration/testing",
"metadata_extraction_paths": null,
"parent_groups": null,
"primary_file_name": "a.bpmn",
"primary_process_id": "Process_1g8zid0",
"process_group": null,
"sort_index": "site-administration/testing"
}
]
}

View File

@ -0,0 +1,187 @@
<?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="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="groups_to_permissions_table" name="Groups to Permissions">
<decisionTable id="decisionTable_1" hitPolicy="COLLECT">
<input id="input_1" biodi:width="150">
<inputExpression id="inputExpression_1" typeRef="string">
<text>"*"</text>
</inputExpression>
</input>
<output id="OutputClause_14rq1xp" name="permission_groups" typeRef="string" />
<output id="output_1" name="permissions" typeRef="string" biodi:width="279" />
<output id="OutputClause_1d0f70s" name="permission_uris" typeRef="string" biodi:width="254" />
<rule id="DecisionRule_13uhk78">
<description>admin group has access to everything. The permissions create, read, update, and delete are the full set that is available, and "all" is a shortcut to include all permissions.</description>
<inputEntry id="UnaryTests_1yb5tu4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_00aw971">
<text>"admin"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1drtsn8">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_13n9min">
<text>"ALL"
</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0vxd5xq">
<description>everybody group has basic access to the system.</description>
<inputEntry id="UnaryTests_18ra8iv">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_09upqcm">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qu6sf0">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mnqz8y">
<text>"BASIC"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0y6tpc1">
<description>everybody group can read all process groups and process models.</description>
<inputEntry id="UnaryTests_0idup89">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0jn02bx">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qw2qs5">
<text>["read"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1671tcs">
<text>"PG:ALL"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_013jo46">
<description>Everybody can raise a New Demand Request</description>
<inputEntry id="UnaryTests_0chz5r7">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0nqs8wo">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1omqc4b">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ki30rk">
<text>"PM:manage-procurement:procurement:requisition-order-management:raise-new-demand-request"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_15ava6l">
<description>Finance Team group has full access to the procurement process group, including authoring child process groups and process models and administering its process instances.</description>
<inputEntry id="UnaryTests_1d8q18o">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_143ih01">
<text>"Finance Team"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0aaakd4">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_031h3bx">
<text>"PG:manage-procurement:procurement"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ev5071">
<description>demo group can start the customer-contracts-trade-terms process model.</description>
<inputEntry id="UnaryTests_0rmdeuf">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1db9u0f">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tf5fq7">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_19v58sy">
<text>"PM:manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_16waes0">
<description>demo group can start all process models under the core-contributor-invoice-management process group.</description>
<inputEntry id="UnaryTests_1si0twd">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_03bfkxs">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0a2vmfc">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1hiq5xs">
<text>"PG:manage-procurement:procurement:core-contributor-invoice-management"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ps58js">
<description>demo group can start all process models under the vendor-lifecycle-management process group.</description>
<inputEntry id="UnaryTests_0mmu39q">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1j2pibl">
<text>"demo"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0f635r8">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_18qbym6">
<text>"PG:manage-procurement:vendor-lifecycle-management"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ush1di">
<description>test group can read and even update task data for process instances within the test process group. If a permission_uri begins with a forward slash, this grants access to an API path directly. These can include asterisk wildcards at the end.</description>
<inputEntry id="UnaryTests_0ajhuce">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0w3207v">
<text>"test"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mhnzp3">
<text>["read", "update"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0t37e9p">
<text>"/task-data/misc:test:*"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_04wbkm7">
<description>test group can start all process models under the test process group.</description>
<inputEntry id="UnaryTests_0rbr6bh">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1ubfxe8">
<text>"test"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1f0vzm8">
<text>["start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1uyihda">
<text>"PG:misc:test"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_07ps089">
<inputEntry id="UnaryTests_0i7qsq7">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1ez3179">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0sfr8z0">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_1v9cekn">
<text></text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="groups_to_permissions_table">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,279 @@
<?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="3.0.0-dev">
<bpmn:process id="set_permissions_process" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_04t49zv</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_04t49zv" sourceRef="StartEvent_1" targetRef="Activity_0fqwhd1" />
<bpmn:sequenceFlow id="Flow_0q5cs4y" sourceRef="Activity_0pdrn26" targetRef="Activity_1jexxm1" />
<bpmn:businessRuleTask id="Activity_0fqwhd1" name="Determine Users Group">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>users_to_groups_table</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_04t49zv</bpmn:incoming>
<bpmn:outgoing>Flow_194nkr6</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:businessRuleTask id="Activity_0iom85m" name="Determine Permissions">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>groups_to_permissions_table</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_194nkr6</bpmn:incoming>
<bpmn:outgoing>Flow_0fhzucf</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:manualTask id="Activity_0pdrn26" name="Display Proposed Permissions">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># Permission for each group
When you select continue, the following permissions will be written to the database.
{% for group in group_info %}
---
## Group: {{group['name']}}
**Users in Group:**
{% for user in group['users'] %}
* {{ user }}
{% endfor %}
**Permissions:**
| Path | Allowed Actions |
| ---------------| -------|
{% for permission in group['permissions'] %}
| {{permission['uri']}} | {{ permission['actions'] |join(', ') }} |
{% endfor %}
{% endfor %}
</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0f4klqg</bpmn:incoming>
<bpmn:outgoing>Flow_0q5cs4y</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_194nkr6" sourceRef="Activity_0fqwhd1" targetRef="Activity_0iom85m" />
<bpmn:sequenceFlow id="Flow_132k5th" sourceRef="Activity_1jexxm1" targetRef="Activity_0ino532" />
<bpmn:scriptTask id="Activity_1jexxm1" name="Set Permissions">
<bpmn:incoming>Flow_0q5cs4y</bpmn:incoming>
<bpmn:outgoing>Flow_132k5th</bpmn:outgoing>
<bpmn:script>refresh_permissions(group_info)
all_permissions = get_all_permissions()</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_0ino532" name="Show Actual Permissions">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>| Group | Path | Allowed Actions |
| ---------------| -------| ------|
{% for permission in all_permissions %}
| {{permission['group_identifier']}} | {{permission['uri']}} | {{permission['permissions']}}
{% endfor %}</spiffworkflow:instructionsForEndUser>
<spiffworkflow:postScript>del(all_permissions)</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_132k5th</bpmn:incoming>
<bpmn:outgoing>Flow_1ozuh1f</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_0f4klqg" sourceRef="Activity_0jt9kr1" targetRef="Activity_0pdrn26" />
<bpmn:scriptTask id="Activity_0jt9kr1" name="merge lists">
<bpmn:extensionElements>
<spiffworkflow:unitTests>
<spiffworkflow:unitTest id="Two Records Test">
<spiffworkflow:inputJson>{
"groups": [
"Administrators"
],
"users": [
"admin@spiffworkflow.org"
],
"permission_groups": [
"Administrators"
],
"permission_uris": [
"/*"
],
"permissions": [
[
"create",
"read",
"update",
"delete"
]
]
}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"group_info": [
{
"name":"Administrators",
"permissions": [
{"actions": [
"create","read","update","delete"
],
"uri": "/*"
}
],
"users": ["admin@spiffworkflow.org"]
}
]
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
<spiffworkflow:unitTest id="Second Test">
<spiffworkflow:inputJson>{
"groups": [
"Administrators",
"Everyone"
],
"users": [
"admin@spiffworkflow.org",
"*"
],
"permission_groups": [
"Administrators",
"Everyone"
],
"permission_uris": [
"/*",
"/*"
],
"permissions": [
[
"create",
"read",
"update",
"delete"
],
[
"read"
]
]
}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"group_info": [
{
"name": "Administrators",
"permissions": [
{
"actions": [
"create",
"read",
"update",
"delete"
],
"uri": "/*"
}
],
"users": [
"admin@spiffworkflow.org"
]
},
{
"name": "Everyone",
"permissions": [
{
"actions": [
"read"
],
"uri": "/*"
}
],
"users": [
"*"
]
}
]
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
</spiffworkflow:unitTests>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0fhzucf</bpmn:incoming>
<bpmn:outgoing>Flow_0f4klqg</bpmn:outgoing>
<bpmn:script>info_by_group = {}
for i, group in enumerate(groups):
if not group in info_by_group:
info_by_group[group] = {"users":[], "permissions": []}
info_by_group[group]["users"].append(users[i])
for i, group in enumerate(permission_groups):
if not group in info_by_group:
info_by_group[group] = {"users":[], "permissions": []}
info_by_group[group]["permissions"].append(
{"uri": permission_uris[i],
"actions": permissions[i]}
)
group_info = []
for group in info_by_group.keys():
group_info.append({
"name": group,
"users": info_by_group[group]['users'],
"permissions": info_by_group[group]['permissions']
})
del(info_by_group)
del(group)
del(i)
del(groups)
del(permissions)
del(permission_groups)
del(permission_uris)
del(users)</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0fhzucf" sourceRef="Activity_0iom85m" targetRef="Activity_0jt9kr1" />
<bpmn:sequenceFlow id="Flow_1ozuh1f" sourceRef="Activity_0ino532" targetRef="Event_0nbfjnu" />
<bpmn:endEvent id="Event_0nbfjnu">
<bpmn:incoming>Flow_1ozuh1f</bpmn:incoming>
</bpmn:endEvent>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="set_permissions_process">
<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_1afo4x3_di" bpmnElement="Activity_0fqwhd1">
<dc:Bounds x="280" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0e33fg2_di" bpmnElement="Activity_0iom85m">
<dc:Bounds x="440" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_16w91n5_di" bpmnElement="Activity_0pdrn26">
<dc:Bounds x="780" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0x17g2k_di" bpmnElement="Activity_1jexxm1">
<dc:Bounds x="940" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h17v78_di" bpmnElement="Activity_0ino532">
<dc:Bounds x="1110" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fj3k0v_di" bpmnElement="Activity_0jt9kr1">
<dc:Bounds x="610" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0nbfjnu_di" bpmnElement="Event_0nbfjnu">
<dc:Bounds x="1272" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_04t49zv_di" bpmnElement="Flow_04t49zv">
<di:waypoint x="215" y="177" />
<di:waypoint x="280" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0q5cs4y_di" bpmnElement="Flow_0q5cs4y">
<di:waypoint x="880" y="177" />
<di:waypoint x="940" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_194nkr6_di" bpmnElement="Flow_194nkr6">
<di:waypoint x="380" y="177" />
<di:waypoint x="440" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_132k5th_di" bpmnElement="Flow_132k5th">
<di:waypoint x="1040" y="177" />
<di:waypoint x="1110" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0f4klqg_di" bpmnElement="Flow_0f4klqg">
<di:waypoint x="710" y="177" />
<di:waypoint x="780" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0fhzucf_di" bpmnElement="Flow_0fhzucf">
<di:waypoint x="540" y="177" />
<di:waypoint x="610" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ozuh1f_di" bpmnElement="Flow_1ozuh1f">
<di:waypoint x="1210" y="177" />
<di:waypoint x="1272" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,11 @@
{
"description": "Run this process model to apply permissions and user group assignment changes on the site. Data is largely sourced from users_to_groups.dmn and group_permissions.dmn.",
"display_name": "Set Permissions",
"display_order": 0,
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": "permissions.bpmn",
"primary_process_id": "set_permissions_process"
}

View File

@ -0,0 +1,429 @@
<?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="site_admin_users_to_groups" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="users_to_groups_table" name="Users to Groups">
<decisionTable id="decisionTable_1" hitPolicy="COLLECT" biodi:annotationsWidth="400">
<input id="input_1" biodi:width="150">
<inputExpression id="inputExpression_1" typeRef="string">
<text>"*"</text>
</inputExpression>
</input>
<output id="OutputClause_0vrbi1j" label="users" typeRef="string" />
<output id="output_1" name="groups" typeRef="Any" biodi:width="262" />
<rule id="DecisionRule_1xwvp7b">
<description>Each line in this table assigns a user identifier (email) to a group. Please ensure that there are quotes around each entry.</description>
<inputEntry id="UnaryTests_01wus0h">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_18kwlie">
<text>"admin@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ykubgu">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0nnitbb">
<inputEntry id="UnaryTests_0xgbg0q">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_07rs9or">
<text>"jakub@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0a7iwx4">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ijn9xt">
<inputEntry id="UnaryTests_1wt98yp">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_16qw393">
<text>"jarrad@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ugjfub">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wd97vc">
<inputEntry id="UnaryTests_0vosap4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_10efskp">
<text>"kb@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_06uk1bu">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1g8cuy5">
<inputEntry id="UnaryTests_0ds44h6">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ql0vxm">
<text>"alex@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1i8ahi0">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0a4f7in">
<inputEntry id="UnaryTests_1ocx2b2">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_081j7ky">
<text>"dan@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_10ya305">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1um1xlb">
<inputEntry id="UnaryTests_1avvj1f">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0886ojb">
<text>"mike@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1wk0iao">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_16ylu8o">
<inputEntry id="UnaryTests_1nl5g2l">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1s1oai2">
<text>"jason@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0hvt2u6">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_16vgx6i">
<inputEntry id="UnaryTests_1xz7l8h">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_02251pa">
<text>"j@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_09i1s7q">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1mgkyjc">
<inputEntry id="UnaryTests_05jzhyr">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0wphfaa">
<text>"elizabeth@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0f90zf3">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1bgcltr">
<inputEntry id="UnaryTests_13da8o8">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0jr6qyp">
<text>"jon@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ykfbbr">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0zos3kt">
<inputEntry id="UnaryTests_0lpn04o">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0roezvj">
<text>"jakub@status.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_04kwqwz">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ti5qid">
<inputEntry id="UnaryTests_1jc24kr">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1ibru5q">
<text>"amir@status.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1hmzax3">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1u1u65c">
<inputEntry id="UnaryTests_0fw35xa">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0tdpdgw">
<text>"jarrad@status.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ctlwdi">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_11uuq67">
<inputEntry id="UnaryTests_1vw0zqm">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1qbottc">
<text>"sasha@status.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_04c7vg4">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ioclur">
<inputEntry id="UnaryTests_0jqgrcg">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_09gw30w">
<text>"fin@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_19xtrx7">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0s3ihrw">
<inputEntry id="UnaryTests_1g73uz6">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1hp4mhl">
<text>"fin1@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0axniza">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0bqm0gx">
<inputEntry id="UnaryTests_1w466q6">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0gkjjqc">
<text>"alex@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0lox7te">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1pbh522">
<inputEntry id="UnaryTests_1vnzat1">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0qrb3xp">
<text>"dan@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_14lzd6n">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_029rwpx">
<inputEntry id="UnaryTests_0hdd4nd">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1080jmb">
<text>"mike@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1rrm0dt">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0exw944">
<inputEntry id="UnaryTests_0pmz5ik">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1kuhgka">
<text>"jason@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0wk5w1p">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1d6t0m0">
<inputEntry id="UnaryTests_0h1emka">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_04j25oj">
<text>"j@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_00d5sek">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ah9t5d">
<inputEntry id="UnaryTests_0bddc0z">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_12e1b6j">
<text>"elizabeth@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1n0q6il">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_04ov5y0">
<inputEntry id="UnaryTests_04zcnxj">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0x6dytq">
<text>"jon@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0s8e8a9">
<text>"Finance Team"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_04n32yj">
<inputEntry id="UnaryTests_1r3fcy5">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_003vilj">
<text>"lead@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0or1mad">
<text>"Leads"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_11rzc1a">
<inputEntry id="UnaryTests_07wvcbc">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1al944k">
<text>"lead1@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1jbjdlu">
<text>"Leads"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1lhab01">
<inputEntry id="UnaryTests_1rbegrg">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ka3ny2">
<text>"manuchehr@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_14517bz">
<text>"Leads"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0b6a3z9">
<inputEntry id="UnaryTests_0no8yxa">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0zy3ynz">
<text>"harmeet@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ivpgxf">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0d6yq52">
<inputEntry id="UnaryTests_1e8xj0h">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0nc1gmq">
<text>"sasha@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_16p4fhk">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1uw06kq">
<inputEntry id="UnaryTests_1s5o8rc">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1bq9ggo">
<text>"manuchehr@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_04fsjwb">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wi26wh">
<inputEntry id="UnaryTests_0ipbauy">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1uzwkz5">
<text>"core@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1w7awl2">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_12xfsnp">
<inputEntry id="UnaryTests_1sqjvi9">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0dwyg6u">
<text>"fin@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_11qvp6a">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1y78vyq">
<inputEntry id="UnaryTests_19k79eh">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1fdekoc">
<text>"fin1@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1arvw0a">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_07bltpy">
<inputEntry id="UnaryTests_1crhbit">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0e3bcuy">
<text>"lead@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qv790q">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1uqwdun">
<inputEntry id="UnaryTests_1okbihr">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1gq6jrf">
<text>"lead1@status.im"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ucyscz">
<text>"demo"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1y4465z">
<inputEntry id="UnaryTests_1vgeybj">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_121rzix">
<text>"natalia@sartography.com"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mb3bmq">
<text>"test"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1jn6v9t">
<inputEntry id="UnaryTests_1srdiy4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1bz7u65">
<text>r".*"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ibpvtx">
<text>"everybody"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="users_to_groups_table">
<dc:Bounds height="80" width="180" x="157" y="151" />
</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"
}