updated models to use spiffworkflow:calledDecision w/ burnettk

This commit is contained in:
jasquat 2022-08-29 11:51:54 -04:00
parent 15b3290751
commit 3b2c3c0627
5 changed files with 234 additions and 60 deletions

View File

@ -1,5 +1,5 @@
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="process_model_one" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_10jwwqy</bpmn:outgoing>
@ -15,25 +15,16 @@
<bpmn:script>person = "Kevin"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1hd6o66" sourceRef="Activity_0a21ntf" targetRef="Event_1qb1u6a" />
<bpmn:businessRuleTask id="Activity_0a21ntf" name="is wonderful?" camunda:decisionRef="awesome_decision">
<bpmn:businessRuleTask id="Activity_0a21ntf" name="is wonderful?">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>awesome_decision</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0htxke7</bpmn:incoming>
<bpmn:outgoing>Flow_1hd6o66</bpmn:outgoing>
</bpmn:businessRuleTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_model_one">
<bpmndi:BPMNEdge id="Flow_1hd6o66_di" bpmnElement="Flow_1hd6o66">
<di:waypoint x="520" y="120" />
<di:waypoint x="582" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0htxke7_di" bpmnElement="Flow_0htxke7">
<di:waypoint x="340" y="120" />
<di:waypoint x="420" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10jwwqy_di" bpmnElement="Flow_10jwwqy">
<di:waypoint x="188" y="120" />
<di:waypoint x="240" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="152" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
@ -48,6 +39,18 @@
<dc:Bounds x="420" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_10jwwqy_di" bpmnElement="Flow_10jwwqy">
<di:waypoint x="188" y="120" />
<di:waypoint x="240" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0htxke7_di" bpmnElement="Flow_0htxke7">
<di:waypoint x="340" y="120" />
<di:waypoint x="420" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hd6o66_di" bpmnElement="Flow_1hd6o66">
<di:waypoint x="520" y="120" />
<di:waypoint x="582" y="120" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -1,7 +1,93 @@
{
"id": "acceptance-tests-group-one",
"display_order": 2,
"process_models": [
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "process_model_one",
"library": false,
"display_name": "Acceptance Tests Model 1",
"process_group_id": "acceptance-tests-group-one",
"primary_file_name": "process_model_one.bpmn",
"files": [],
"description": "Acceptance Tests Model 1",
"display_order": 0,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "acceptance-tests-model-1"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "test_form",
"library": false,
"display_name": "Acceptance Tests Model 2",
"process_group_id": "acceptance-tests-group-one",
"primary_file_name": "test_form.bpmn",
"files": [],
"description": "Acceptance Tests Model 2",
"display_order": 0,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "acceptance-tests-model-2"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "",
"library": false,
"display_name": "Acceptance Tests Model 3",
"process_group_id": "acceptance-tests-group-one",
"primary_file_name": "",
"files": [],
"description": "Acceptance Tests Model 3",
"display_order": 0,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "acceptance-tests-model-3"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "",
"library": false,
"display_name": "Acceptance Tests Model 4",
"process_group_id": "acceptance-tests-group-one",
"primary_file_name": "",
"files": [],
"description": "Acceptance Tests Model 4",
"display_order": 0,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "acceptance-tests-model-4"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "",
"library": false,
"display_name": "Acceptance Tests Model 5",
"process_group_id": "acceptance-tests-group-one",
"primary_file_name": "",
"files": [],
"description": "Acceptance Tests Model 5",
"display_order": 0,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "acceptance-tests-model-5"
}
],
"display_name": "Acceptance Tests Group One",
"admin": false,
"process_models": []
"display_order": 0,
"id": "acceptance-tests-group-one"
}

View File

@ -4,10 +4,10 @@
"primary_file_name": "message_receiver_two.bpmn",
"exception_notification_addresses": [],
"is_master_spec": false,
"description": "message_receivertwo",
"description": "message_receiver_two",
"primary_process_id": "message_receiver_process",
"is_review": false,
"process_group_id": "category_numbertwo",
"process_group_id": "category_number_one",
"library": false,
"display_name": "message_receivertwo",
"standalone": false,

View File

@ -1,59 +1,144 @@
{
"display_order": 0,
"display_name": "category_number_one",
"process_models": [
{
"display_name": "Process Model With Form",
"display_order": 0,
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "message_receiver_process",
"library": false,
"display_name": "message_receiver_one",
"process_group_id": "category_number_one",
"primary_file_name": "message_receiver_one.bpmn",
"files": [],
"description": "message_receiver_one",
"display_order": 6,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "message-receiver-one"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "message_receiver_process",
"library": false,
"display_name": "message_receivertwo",
"process_group_id": "category_number_one",
"primary_file_name": "message_receiver_two.bpmn",
"files": [],
"description": "message_receiver_two",
"display_order": 6,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "message-receiver-two"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "message_send_process",
"library": false,
"display_name": "message_send",
"process_group_id": "category_number_one",
"primary_file_name": "message_send.bpmn",
"files": [],
"description": "message_send",
"display_order": 3,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "message-send"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "message_send_process",
"library": false,
"display_name": "message_sender",
"process_group_id": "category_number_one",
"primary_file_name": "message_sender.bpmn",
"files": [],
"description": "message_sender",
"display_order": 5,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "message-sender"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "test_form",
"libraries": [],
"is_master_spec": false,
"library": false,
"standalone": false,
"is_review": false,
"files": [],
"id": "process-model-with-form",
"exception_notification_addresses": [],
"display_name": "Process Model With Form",
"process_group_id": "category_number_one",
"primary_file_name": "test_form.bpmn",
"files": [],
"description": "A Process Model with a form",
"fault_or_suspend_on_exception": "fault"
},
{
"display_name": "Who is Wonderful Workflow",
"display_order": 0,
"process_group_id": "category_number_one",
"primary_process_id": "sample",
"libraries": [],
"is_master_spec": false,
"library": false,
"standalone": false,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"files": [],
"id": "workflow_one",
"exception_notification_addresses": [],
"primary_file_name": "sample.bpmn",
"description": "Workflow One, is a workflow.",
"fault_or_suspend_on_exception": "fault"
"libraries": [],
"id": "process-model-with-form"
},
{
"display_name": "Process Model With Repeating Form",
"display_order": 2,
"process_group_id": "category_number_one",
"primary_process_id": "repeating_form",
"libraries": [],
"is_master_spec": false,
"library": false,
"standalone": false,
"is_review": false,
"files": [],
"id": "process-model-with-repeating-form",
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "repeating_form",
"library": false,
"display_name": "Process Model With Repeating Form",
"process_group_id": "category_number_one",
"primary_file_name": "assign_approvers.bpmn",
"files": [],
"description": "Process Model With Repeating Form",
"fault_or_suspend_on_exception": "fault"
"display_order": 2,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "process-model-with-repeating-form"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "Process_6be25102-637e-4c29-8ed5-8bc49a0cdf81",
"library": false,
"display_name": "test01",
"process_group_id": "category_number_one",
"primary_file_name": "raise-change-proposal-v3.bpmn",
"files": [],
"description": "test01",
"display_order": 3,
"fault_or_suspend_on_exception": "fault",
"is_review": true,
"libraries": [],
"id": "test01"
},
{
"exception_notification_addresses": [],
"is_master_spec": false,
"standalone": false,
"primary_process_id": "sample",
"library": false,
"display_name": "Who is Wonderful Workflow",
"process_group_id": "category_number_one",
"primary_file_name": "sample.bpmn",
"files": [],
"description": "Workflow One, is a workflow.",
"display_order": 1,
"fault_or_suspend_on_exception": "fault",
"is_review": false,
"libraries": [],
"id": "workflow_one"
}
],
"display_name": "category_number_one",
"admin": false,
"display_order": 1,
"id": "category_number_one"
}

View File

@ -1,5 +1,5 @@
<?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" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="sample" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_10jwwqy</bpmn:outgoing>
@ -17,7 +17,7 @@ Mike = "Awesome"
person = "Kevin"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1hd6o66" sourceRef="Activity_0a21ntf" targetRef="Event_1qb1u6a" />
<bpmn:businessRuleTask id="Activity_0a21ntf" name="is wonderful?" camunda:decisionRef="wonderful">
<bpmn:businessRuleTask id="Activity_0a21ntf" name="is wonderful?">
<bpmn:extensionElements>
<spiffworkflow:calledDecision decisionId="wonderful" />
</bpmn:extensionElements>