add more potential example from sample
This commit is contained in:
parent
6bab6439ab
commit
b4f0e8e9a2
|
@ -0,0 +1,51 @@
|
|||
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:process id="Process_Admin_Tools_Test" name="AdminToolsTest" isExecutable="true">
|
||||
<bpmn:startEvent id="Event_17e2qgy">
|
||||
<bpmn:outgoing>Flow_1ist4rn</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1ist4rn" sourceRef="Event_17e2qgy" targetRef="Activity_039a4i7" />
|
||||
<bpmn:endEvent id="Event_1qodpuj">
|
||||
<bpmn:incoming>Flow_1xbry1g</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0vzi07z" sourceRef="Activity_039a4i7" targetRef="Activity_0sqxs4d" />
|
||||
<bpmn:callActivity id="Activity_039a4i7" calledElement="Process_With_Timer">
|
||||
<bpmn:incoming>Flow_1ist4rn</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vzi07z</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_1xbry1g" sourceRef="Activity_0sqxs4d" targetRef="Event_1qodpuj" />
|
||||
<bpmn:manualTask id="Activity_0sqxs4d" name="Final">
|
||||
<bpmn:incoming>Flow_0vzi07z</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1xbry1g</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_Admin_Tools_Test">
|
||||
<bpmndi:BPMNShape id="Event_1qodpuj_di" bpmnElement="Event_1qodpuj">
|
||||
<dc:Bounds x="742" y="152" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_02srymo_di" bpmnElement="Activity_039a4i7">
|
||||
<dc:Bounds x="440" y="130" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1r3vbnd_di" bpmnElement="Activity_0sqxs4d">
|
||||
<dc:Bounds x="600" y="130" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_17e2qgy_di" bpmnElement="Event_17e2qgy">
|
||||
<dc:Bounds x="322" y="152" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1ist4rn_di" bpmnElement="Flow_1ist4rn">
|
||||
<di:waypoint x="358" y="170" />
|
||||
<di:waypoint x="440" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0vzi07z_di" bpmnElement="Flow_0vzi07z">
|
||||
<di:waypoint x="540" y="170" />
|
||||
<di:waypoint x="600" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1xbry1g_di" bpmnElement="Flow_1xbry1g">
|
||||
<di:waypoint x="700" y="170" />
|
||||
<di:waypoint x="742" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Examine behaviors and edge cases around pausing, rewinding, editing, and resuming a process.",
|
||||
"display_name": "Admin Pause, Edit, and Continue Features",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "admin_tools_test.bpmn",
|
||||
"primary_process_id": "Process_Admin_Tools_Test"
|
||||
}
|
|
@ -0,0 +1,89 @@
|
|||
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" 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_With_Timer" name="Process With Timer" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1e5apvr</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1e5apvr" sourceRef="StartEvent_1" targetRef="manual_task_1" />
|
||||
<bpmn:sequenceFlow id="Flow_0vtgres" sourceRef="manual_task_1" targetRef="Activity_2" />
|
||||
<bpmn:endEvent id="Event_1pgaya7">
|
||||
<bpmn:incoming>Flow_110vf76</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_110vf76" sourceRef="Activity_2" targetRef="Event_1pgaya7" />
|
||||
<bpmn:boundaryEvent id="Timer_Event_Horror" name="Timer_Event_Horror" attachedToRef="manual_task_1">
|
||||
<bpmn:outgoing>Flow_1hy0t7d</bpmn:outgoing>
|
||||
<bpmn:timerEventDefinition id="TimerEventDefinition_1jkwn61">
|
||||
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">'P14D'</bpmn:timeDuration>
|
||||
</bpmn:timerEventDefinition>
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1hy0t7d" sourceRef="Timer_Event_Horror" targetRef="Activity_3" />
|
||||
<bpmn:endEvent id="Event_10frcbe">
|
||||
<bpmn:incoming>Flow_1xbdri7</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1xbdri7" sourceRef="Activity_3" targetRef="Event_10frcbe" />
|
||||
<bpmn:manualTask id="manual_task_1" name="Manual Task #1">
|
||||
<bpmn:incoming>Flow_1e5apvr</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vtgres</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:manualTask id="Activity_3" name="#3">
|
||||
<bpmn:incoming>Flow_1hy0t7d</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1xbdri7</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:scriptTask id="Activity_2" name="#2">
|
||||
<bpmn:incoming>Flow_0vtgres</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_110vf76</bpmn:outgoing>
|
||||
<bpmn:script>y='1000'</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_With_Timer">
|
||||
<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_1pgaya7_di" bpmnElement="Event_1pgaya7">
|
||||
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_10frcbe_di" bpmnElement="Event_10frcbe">
|
||||
<dc:Bounds x="592" y="282" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1cl74h9_di" bpmnElement="manual_task_1">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0yn987b_di" bpmnElement="Activity_3">
|
||||
<dc:Bounds x="430" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_19c5vp3_di" bpmnElement="Activity_2">
|
||||
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1gfn4de_di" bpmnElement="Timer_Event_Horror">
|
||||
<dc:Bounds x="302" y="199" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="277" y="242" width="87" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1e5apvr_di" bpmnElement="Flow_1e5apvr">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0vtgres_di" bpmnElement="Flow_0vtgres">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="430" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_110vf76_di" bpmnElement="Flow_110vf76">
|
||||
<di:waypoint x="530" y="177" />
|
||||
<di:waypoint x="592" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1hy0t7d_di" bpmnElement="Flow_1hy0t7d">
|
||||
<di:waypoint x="320" y="235" />
|
||||
<di:waypoint x="320" y="300" />
|
||||
<di:waypoint x="430" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1xbdri7_di" bpmnElement="Flow_1xbdri7">
|
||||
<di:waypoint x="530" y="300" />
|
||||
<di:waypoint x="592" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,337 @@
|
|||
<?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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1uze7zy" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform">
|
||||
<bpmn:collaboration id="Collaboration_1q2gp80">
|
||||
<bpmn:participant id="Participant_1y5mafy" name="Requestor" processRef="Process_0fb2oio" />
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_0fb2oio" isExecutable="true">
|
||||
<bpmn:sequenceFlow id="Flow_00e1516" sourceRef="StartEvent_1" targetRef="Activity_0700v9z" />
|
||||
<bpmn:sequenceFlow id="Flow_1ctcnhy" name="Additional Information Requested" sourceRef="Gateway_0pp8ndk" targetRef="Gateway_1wzu3jk" />
|
||||
<bpmn:sequenceFlow id="Flow_07i8omp" name="Software Licenses" sourceRef="Gateway_0dlynao" targetRef="Activity_1bhsbxj" />
|
||||
<bpmn:sequenceFlow id="Flow_1tlc0b0" sourceRef="Gateway_0vu56ru" targetRef="Activity_19z0mrp" />
|
||||
<bpmn:sequenceFlow id="Flow_0brdikk" sourceRef="Activity_19z0mrp" targetRef="Activity_1mmd0dk" />
|
||||
<bpmn:sequenceFlow id="Flow_0y63nmt" sourceRef="Activity_1mmd0dk" targetRef="Gateway_0pp8ndk" />
|
||||
<bpmn:sequenceFlow id="Flow_078rmm1" name="Done" sourceRef="Gateway_0pp8ndk" targetRef="Event_0mcuev1" />
|
||||
<bpmn:sequenceFlow id="Flow_0nq00df" sourceRef="Activity_0700v9z" targetRef="Gateway_1wzu3jk" />
|
||||
<bpmn:callActivity id="Activity_0700v9z" name="Call Get Form Data">
|
||||
<bpmn:incoming>Flow_00e1516</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0nq00df</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_00e1516</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0brg3cf" sourceRef="Gateway_1wzu3jk" targetRef="Activity_0igcome" />
|
||||
<bpmn:exclusiveGateway id="Gateway_0pp8ndk" name="What Next?">
|
||||
<bpmn:incoming>Flow_0y63nmt</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_078rmm1</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1ctcnhy</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:endEvent id="Event_0mcuev1">
|
||||
<bpmn:incoming>Flow_078rmm1</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0vsdoki" sourceRef="Activity_0igcome" targetRef="Activity_0robt2l" />
|
||||
<bpmn:exclusiveGateway id="Gateway_0dlynao" name="Approval Type">
|
||||
<bpmn:incoming>Flow_0oxyw0j</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_07i8omp</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_11tccgy</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1g6sb4u</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0onb1ei</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0oxyw0j" sourceRef="Activity_0robt2l" targetRef="Gateway_0dlynao" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1wzu3jk">
|
||||
<bpmn:incoming>Flow_0nq00df</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1ctcnhy</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0brg3cf</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:callActivity id="Activity_1bhsbxj" name="Call PPG BA">
|
||||
<bpmn:incoming>Flow_07i8omp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jf9hx9</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:callActivity id="Activity_1dtu97h" name="Call Security">
|
||||
<bpmn:incoming>Flow_0jf9hx9</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1t6u9fq</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_0jf9hx9" sourceRef="Activity_1bhsbxj" targetRef="Activity_1dtu97h" />
|
||||
<bpmn:sequenceFlow id="Flow_1t6u9fq" sourceRef="Activity_1dtu97h" targetRef="Activity_1y75sbj" />
|
||||
<bpmn:callActivity id="Activity_1y75sbj" name="Call Infrastructure SME">
|
||||
<bpmn:incoming>Flow_1t6u9fq</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1b080en</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:callActivity id="Activity_0iuygwe" name="Call Legal SME">
|
||||
<bpmn:incoming>Flow_1b080en</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1dhsp85</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:callActivity id="Activity_1mmd0dk" name="Call Waku. Messages">
|
||||
<bpmn:incoming>Flow_0brdikk</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0y63nmt</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:scriptTask id="Activity_19z0mrp" name="Check Progress">
|
||||
<bpmn:incoming>Flow_1tlc0b0</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0brdikk</bpmn:outgoing>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:exclusiveGateway id="Gateway_0vu56ru">
|
||||
<bpmn:incoming>Flow_1dhsp85</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_183hvm4</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_06tfx34</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0wdxk5u</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_02xjfyw</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1tlc0b0</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_1b080en" sourceRef="Activity_1y75sbj" targetRef="Activity_0iuygwe" />
|
||||
<bpmn:sequenceFlow id="Flow_1dhsp85" sourceRef="Activity_0iuygwe" targetRef="Gateway_0vu56ru" />
|
||||
<bpmn:sequenceFlow id="Flow_11tccgy" name="Learning & Development" sourceRef="Gateway_0dlynao" targetRef="Activity_1i9gcv8" />
|
||||
<bpmn:callActivity id="Activity_1i9gcv8" name="Call PeopleOps Partner">
|
||||
<bpmn:incoming>Flow_11tccgy</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_183hvm4</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_183hvm4" sourceRef="Activity_1i9gcv8" targetRef="Gateway_0vu56ru" />
|
||||
<bpmn:sequenceFlow id="Flow_1g6sb4u" name="Equipment" sourceRef="Gateway_0dlynao" targetRef="Activity_06loif0" />
|
||||
<bpmn:sequenceFlow id="Flow_06tfx34" sourceRef="Gateway_01r0cc7" targetRef="Gateway_0vu56ru" />
|
||||
<bpmn:sequenceFlow id="Flow_1fwa1bn" name="Over Budget?" sourceRef="Gateway_01r0cc7" targetRef="Activity_0tmvi8r" />
|
||||
<bpmn:exclusiveGateway id="Gateway_01r0cc7">
|
||||
<bpmn:incoming>Flow_0qrkb2s</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_06tfx34</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1fwa1bn</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0qrkb2s" sourceRef="Activity_06loif0" targetRef="Gateway_01r0cc7" />
|
||||
<bpmn:callActivity id="Activity_06loif0" name="Call PeopleOps Partner">
|
||||
<bpmn:incoming>Flow_1g6sb4u</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0qrkb2s</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_0wdxk5u" sourceRef="Activity_0tmvi8r" targetRef="Gateway_0vu56ru" />
|
||||
<bpmn:callActivity id="Activity_0tmvi8r" name="Call Project Lead">
|
||||
<bpmn:incoming>Flow_1fwa1bn</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0wdxk5u</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_0onb1ei" name="Travel" sourceRef="Gateway_0dlynao" targetRef="Activity_01uuox9" />
|
||||
<bpmn:callActivity id="Activity_01uuox9" name="Call PeopleOps Partner">
|
||||
<bpmn:incoming>Flow_0onb1ei</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_02xjfyw</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_02xjfyw" sourceRef="Activity_01uuox9" targetRef="Gateway_0vu56ru" />
|
||||
<bpmn:userTask id="Activity_0igcome" name="Enter Request">
|
||||
<bpmn:incoming>Flow_0brg3cf</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vsdoki</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:callActivity id="Activity_0robt2l" name="Call Budget Owner">
|
||||
<bpmn:incoming>Flow_0vsdoki</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0oxyw0j</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:textAnnotation id="TextAnnotation_1sg8q12">
|
||||
<bpmn:text>Send notification message(s)</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_09vd9k3" sourceRef="Activity_1mmd0dk" targetRef="TextAnnotation_1sg8q12" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1q2gp80">
|
||||
<bpmndi:BPMNShape id="Participant_1y5mafy_di" bpmnElement="Participant_1y5mafy" isHorizontal="true">
|
||||
<dc:Bounds x="120" y="40" width="2210" height="930" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0brg3cf_di" bpmnElement="Flow_0brg3cf">
|
||||
<di:waypoint x="515" y="530" />
|
||||
<di:waypoint x="540" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0nq00df_di" bpmnElement="Flow_0nq00df">
|
||||
<di:waypoint x="430" y="530" />
|
||||
<di:waypoint x="465" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_078rmm1_di" bpmnElement="Flow_078rmm1">
|
||||
<di:waypoint x="2095" y="530" />
|
||||
<di:waypoint x="2192" y="530" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="2117" y="512" width="27" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0y63nmt_di" bpmnElement="Flow_0y63nmt">
|
||||
<di:waypoint x="1985" y="530" />
|
||||
<di:waypoint x="2045" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0brdikk_di" bpmnElement="Flow_0brdikk">
|
||||
<di:waypoint x="1830" y="530" />
|
||||
<di:waypoint x="1885" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1tlc0b0_di" bpmnElement="Flow_1tlc0b0">
|
||||
<di:waypoint x="1685" y="530" />
|
||||
<di:waypoint x="1730" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_07i8omp_di" bpmnElement="Flow_07i8omp">
|
||||
<di:waypoint x="880" y="505" />
|
||||
<di:waypoint x="880" y="230" />
|
||||
<di:waypoint x="1060" y="230" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="828" y="216.00000000002456" width="44" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ctcnhy_di" bpmnElement="Flow_1ctcnhy">
|
||||
<di:waypoint x="2070" y="505" />
|
||||
<di:waypoint x="2070" y="140" />
|
||||
<di:waypoint x="490" y="140" />
|
||||
<di:waypoint x="490" y="505" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1231" y="97" width="56" height="40" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_00e1516_di" bpmnElement="Flow_00e1516">
|
||||
<di:waypoint x="248" y="530" />
|
||||
<di:waypoint x="330" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0vsdoki_di" bpmnElement="Flow_0vsdoki">
|
||||
<di:waypoint x="640" y="530" />
|
||||
<di:waypoint x="700" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0oxyw0j_di" bpmnElement="Flow_0oxyw0j">
|
||||
<di:waypoint x="800" y="530" />
|
||||
<di:waypoint x="855" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jf9hx9_di" bpmnElement="Flow_0jf9hx9">
|
||||
<di:waypoint x="1160" y="230" />
|
||||
<di:waypoint x="1210" y="230" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1t6u9fq_di" bpmnElement="Flow_1t6u9fq">
|
||||
<di:waypoint x="1310" y="230" />
|
||||
<di:waypoint x="1360" y="230" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1b080en_di" bpmnElement="Flow_1b080en">
|
||||
<di:waypoint x="1460" y="230" />
|
||||
<di:waypoint x="1510" y="230" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1dhsp85_di" bpmnElement="Flow_1dhsp85">
|
||||
<di:waypoint x="1610" y="230" />
|
||||
<di:waypoint x="1660" y="230" />
|
||||
<di:waypoint x="1660" y="505" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11tccgy_di" bpmnElement="Flow_11tccgy">
|
||||
<di:waypoint x="880" y="505" />
|
||||
<di:waypoint x="880" y="350" />
|
||||
<di:waypoint x="900" y="350" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="807" y="336" width="65" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_183hvm4_di" bpmnElement="Flow_183hvm4">
|
||||
<di:waypoint x="1000" y="350" />
|
||||
<di:waypoint x="1660" y="350" />
|
||||
<di:waypoint x="1660" y="505" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1g6sb4u_di" bpmnElement="Flow_1g6sb4u">
|
||||
<di:waypoint x="880" y="505" />
|
||||
<di:waypoint x="880" y="450" />
|
||||
<di:waypoint x="900" y="450" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="813" y="443" width="53" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_06tfx34_di" bpmnElement="Flow_06tfx34">
|
||||
<di:waypoint x="1060" y="475" />
|
||||
<di:waypoint x="1060" y="530" />
|
||||
<di:waypoint x="1635" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1fwa1bn_di" bpmnElement="Flow_1fwa1bn">
|
||||
<di:waypoint x="1085" y="450" />
|
||||
<di:waypoint x="1210" y="450" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1114" y="432" width="68" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0qrkb2s_di" bpmnElement="Flow_0qrkb2s">
|
||||
<di:waypoint x="1000" y="450" />
|
||||
<di:waypoint x="1035" y="450" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0wdxk5u_di" bpmnElement="Flow_0wdxk5u">
|
||||
<di:waypoint x="1310" y="450" />
|
||||
<di:waypoint x="1660" y="450" />
|
||||
<di:waypoint x="1660" y="505" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0onb1ei_di" bpmnElement="Flow_0onb1ei">
|
||||
<di:waypoint x="880" y="555" />
|
||||
<di:waypoint x="880" y="640" />
|
||||
<di:waypoint x="900" y="640" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="834" y="633" width="31" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02xjfyw_di" bpmnElement="Flow_02xjfyw">
|
||||
<di:waypoint x="1000" y="640" />
|
||||
<di:waypoint x="1660" y="640" />
|
||||
<di:waypoint x="1660" y="555" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape id="Activity_0yhyz7z_di" bpmnElement="Activity_0700v9z">
|
||||
<dc:Bounds x="330" y="490" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="212" y="512" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0pp8ndk_di" bpmnElement="Gateway_0pp8ndk" isMarkerVisible="true">
|
||||
<dc:Bounds x="2045" y="505" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1991" y="553" width="58" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0mcuev1_di" bpmnElement="Event_0mcuev1">
|
||||
<dc:Bounds x="2192" y="512" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1sg8q12_di" bpmnElement="TextAnnotation_1sg8q12">
|
||||
<dc:Bounds x="1890" y="380" width="99.99156545209178" height="55.330634278002705" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0dlynao_di" bpmnElement="Gateway_0dlynao" isMarkerVisible="true">
|
||||
<dc:Bounds x="855" y="505" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="914" y="533" width="71" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1wzu3jk_di" bpmnElement="Gateway_1wzu3jk" isMarkerVisible="true">
|
||||
<dc:Bounds x="465" y="505" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1xr77hf_di" bpmnElement="Activity_1bhsbxj">
|
||||
<dc:Bounds x="1060" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_183wo98_di" bpmnElement="Activity_1dtu97h">
|
||||
<dc:Bounds x="1210" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1555ix6_di" bpmnElement="Activity_1y75sbj">
|
||||
<dc:Bounds x="1360" y="190" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_178as5y_di" bpmnElement="Activity_0iuygwe">
|
||||
<dc:Bounds x="1510" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_1rywnvr" bpmnElement="Activity_1mmd0dk">
|
||||
<dc:Bounds x="1885" y="490" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0hutku1_di" bpmnElement="Activity_19z0mrp">
|
||||
<dc:Bounds x="1730" y="490" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0vu56ru_di" bpmnElement="Gateway_0vu56ru" isMarkerVisible="true">
|
||||
<dc:Bounds x="1635" y="505" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1otvq2y_di" bpmnElement="Activity_1i9gcv8">
|
||||
<dc:Bounds x="900" y="310" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_01r0cc7_di" bpmnElement="Gateway_01r0cc7" isMarkerVisible="true">
|
||||
<dc:Bounds x="1035" y="425" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_0rfsb98" bpmnElement="Activity_06loif0">
|
||||
<dc:Bounds x="900" y="410" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_1hjvmp4" bpmnElement="Activity_0tmvi8r">
|
||||
<dc:Bounds x="1210" y="410" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_1okc59u" bpmnElement="Activity_01uuox9">
|
||||
<dc:Bounds x="900" y="600" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1j40wjc_di" bpmnElement="Activity_0igcome">
|
||||
<dc:Bounds x="540" y="490" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1umi5b7_di" bpmnElement="Activity_0robt2l">
|
||||
<dc:Bounds x="700" y="490" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_09vd9k3_di" bpmnElement="Association_09vd9k3">
|
||||
<di:waypoint x="1935" y="490" />
|
||||
<di:waypoint x="1935" y="435" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "approval process that might be a bit status specific",
|
||||
"display_name": "Approvals",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "Approval Process Proposal.bpmn",
|
||||
"primary_process_id": "Process_0fb2oio"
|
||||
}
|
|
@ -0,0 +1,79 @@
|
|||
<?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="only_a" name="I Only Accept A" isExecutable="true">
|
||||
<bpmn:ioSpecification>
|
||||
<bpmn:dataInput id="input" name="input" />
|
||||
<bpmn:dataInput id="input2" name="input2" />
|
||||
<bpmn:dataOutput id="out_var" name="out_var" />
|
||||
<bpmn:inputSet />
|
||||
<bpmn:outputSet />
|
||||
</bpmn:ioSpecification>
|
||||
<bpmn:endEvent id="Event_1rfotk7">
|
||||
<bpmn:incoming>Flow_0xwv690</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0pcur1r" sourceRef="Activity_0ita3x1" targetRef="Activity_1fhzf27" />
|
||||
<bpmn:scriptTask id="Activity_0ita3x1" name="set out_var to a">
|
||||
<bpmn:incoming>Flow_0rybvdg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0pcur1r</bpmn:outgoing>
|
||||
<bpmn:script>out_var = input</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0xwv690" sourceRef="Activity_1fhzf27" targetRef="Event_1rfotk7" />
|
||||
<bpmn:scriptTask id="Activity_1fhzf27" name="Script Task">
|
||||
<bpmn:incoming>Flow_0pcur1r</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0xwv690</bpmn:outgoing>
|
||||
<bpmn:script>x = 2
|
||||
</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:startEvent id="Event_0j0ylb0">
|
||||
<bpmn:outgoing>Flow_0rybvdg</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0rybvdg" sourceRef="Event_0j0ylb0" targetRef="Activity_0ita3x1" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="only_a">
|
||||
<bpmndi:BPMNShape id="DataInput-319647955-1DI" bpmnElement="input2">
|
||||
<dc:Bounds x="142" y="-25" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="145" y="32" width="31" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1rfotk7_di" bpmnElement="Event_1rfotk7">
|
||||
<dc:Bounds x="572" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0pbuois_di" bpmnElement="Activity_0ita3x1">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0htnwsv_di" bpmnElement="Activity_1fhzf27">
|
||||
<dc:Bounds x="420" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0j0ylb0_di" bpmnElement="Event_0j0ylb0">
|
||||
<dc:Bounds x="172" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataInput-148238758-1DI" bpmnElement="input">
|
||||
<dc:Bounds x="142" y="65" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="148" y="122" width="25" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataOutput-848496090-1DI" bpmnElement="out_var">
|
||||
<dc:Bounds x="622" y="65" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="622" y="122" width="38" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0pcur1r_di" bpmnElement="Flow_0pcur1r">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="420" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0xwv690_di" bpmnElement="Flow_0xwv690">
|
||||
<di:waypoint x="520" y="177" />
|
||||
<di:waypoint x="572" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0rybvdg_di" bpmnElement="Flow_0rybvdg">
|
||||
<di:waypoint x="208" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,95 @@
|
|||
<?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="resp_XeroCurrencies" name="resp_XeroCurrencies" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_00dtwg4</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
- <bpmn:sequenceFlow id="Flow_00dtwg4" sourceRef="StartEvent_1" targetRef="Activity_1exwsxw" />
|
||||
<bpmn:endEvent id="Event_1y0ygn2">
|
||||
<bpmn:incoming>Flow_1a7e6ex</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_13gbhum" sourceRef="Activity_19d5hif" targetRef="Activity_0yiiiu2" />
|
||||
<bpmn:callActivity id="Activity_19d5hif" name="Call with vars" calledElement="only_a">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:postScript />
|
||||
<spiffworkflow:preScript>input = 100</spiffworkflow:preScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0v9ir1d</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_13gbhum</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_1a7e6ex" sourceRef="Activity_0yiiiu2" targetRef="Event_1y0ygn2" />
|
||||
<bpmn:callActivity id="Activity_0yiiiu2" name="Invalid Call Activity" calledElement="only_a">
|
||||
<bpmn:incoming>Flow_13gbhum</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1a7e6ex</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_14f7xcp" name="Data Object I Lmod" dataObjectRef="DataObject_1i1lmod" />
|
||||
<bpmn:dataObject id="DataObject_1i1lmod" />
|
||||
<bpmn:sequenceFlow id="Flow_0v9ir1d" sourceRef="Activity_1m3g1le" targetRef="Activity_19d5hif" />
|
||||
<bpmn:businessRuleTask id="Activity_1m3g1le" name="numbers to letters">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:preScript>x=3</spiffworkflow:preScript>
|
||||
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_164dn79</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0v9ir1d</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:sequenceFlow id="Flow_164dn79" sourceRef="Activity_1exwsxw" targetRef="Activity_1m3g1le" />
|
||||
<bpmn:scriptTask id="Activity_1exwsxw" name="x = 3">
|
||||
<bpmn:incoming>Flow_00dtwg4</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_164dn79</bpmn:outgoing>
|
||||
<bpmn:script>x=3</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="resp_XeroCurrencies">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-88" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1y0ygn2_di" bpmnElement="Event_1y0ygn2">
|
||||
<dc:Bounds x="722" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_02h6yf2_di" bpmnElement="Activity_19d5hif">
|
||||
<dc:Bounds x="350" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1t9qr8m_di" bpmnElement="Activity_0yiiiu2">
|
||||
<dc:Bounds x="530" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_14f7xcp_di" bpmnElement="DataObjectReference_14f7xcp">
|
||||
<dc:Bounds x="232" y="245" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="218" y="302" width="65" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_15hbkv0_di" bpmnElement="Activity_1m3g1le">
|
||||
<dc:Bounds x="160" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_049botf_di" bpmnElement="Activity_1exwsxw">
|
||||
<dc:Bounds x="0" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_00dtwg4_di" bpmnElement="Flow_00dtwg4">
|
||||
<di:waypoint x="-52" y="177" />
|
||||
<di:waypoint x="0" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_13gbhum_di" bpmnElement="Flow_13gbhum">
|
||||
<di:waypoint x="450" y="177" />
|
||||
<di:waypoint x="530" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1a7e6ex_di" bpmnElement="Flow_1a7e6ex">
|
||||
<di:waypoint x="630" y="177" />
|
||||
<di:waypoint x="722" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0v9ir1d_di" bpmnElement="Flow_0v9ir1d">
|
||||
<di:waypoint x="260" y="177" />
|
||||
<di:waypoint x="350" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_164dn79_di" bpmnElement="Flow_164dn79">
|
||||
<di:waypoint x="100" y="177" />
|
||||
<di:waypoint x="160" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,52 @@
|
|||
<?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="decision_1" name="numbers_to_letters">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1" label="x">
|
||||
<inputExpression id="inputExpression_1" typeRef="string">
|
||||
<text>x</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" name="y" typeRef="string" />
|
||||
<rule id="DecisionRule_00rc7vz">
|
||||
<inputEntry id="UnaryTests_18u134n">
|
||||
<text>1</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1kvg5d7">
|
||||
<text>"A"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1ksnfzd">
|
||||
<inputEntry id="UnaryTests_1fodknj">
|
||||
<text>2</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_046os12">
|
||||
<text>"B"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0d4camr">
|
||||
<inputEntry id="UnaryTests_03j6scg">
|
||||
<text>3</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0aig0bw">
|
||||
<text>"C"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_03pmnzi">
|
||||
<inputEntry id="UnaryTests_12zn7kb">
|
||||
<text>4</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1n9zdq2">
|
||||
<text>D</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_1">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "",
|
||||
"display_name": "Call Activities with Data Inputs",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "main.bpmn",
|
||||
"primary_process_id": "resp_XeroCurrencies"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- created with bpmn-js / http://bpmn.io -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="288" height="92" viewBox="186 174 288 92" version="1.1"><defs><marker id="sequenceflow-end-white-black-bess9o8sccqg1i184u28ble2h" viewBox="0 0 20 20" refX="11" refY="10" markerWidth="10" markerHeight="10" orient="auto"><path d="M 1 5 L 11 10 L 1 15 Z" style="fill: black; stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 10000, 1; stroke: black;"/></marker></defs><g class="djs-group"><g class="djs-element djs-connection" data-element-id="Flow_1xndbxy" style="display: block;"><g class="djs-visual"><path d="m 380,220L432,220 " style="fill: none; stroke-width: 2px; stroke: black; stroke-linejoin: round; marker-end: url('#sequenceflow-end-white-black-bess9o8sccqg1i184u28ble2h');"/></g><polyline points="380,220 432,220 " class="djs-hit djs-hit-stroke" style="fill: none; stroke-opacity: 0; stroke: white; stroke-width: 15px;"/><rect x="374" y="214" width="64" height="12" class="djs-outline" style="fill: none;"/></g></g><g class="djs-group"><g class="djs-element djs-connection" data-element-id="Flow_1hjrex4" style="display: block;"><g class="djs-visual"><path d="m 228,220L280,220 " style="fill: none; stroke-width: 2px; stroke: black; stroke-linejoin: round; marker-end: url('#sequenceflow-end-white-black-bess9o8sccqg1i184u28ble2h');"/></g><polyline points="228,220 280,220 " class="djs-hit djs-hit-stroke" style="fill: none; stroke-opacity: 0; stroke: white; stroke-width: 15px;"/><rect x="222" y="214" width="64" height="12" class="djs-outline" style="fill: none;"/></g></g><g class="djs-group"><g class="djs-element djs-shape" data-element-id="Event_1ftsuzw" style="display: block;" transform="matrix(1 0 0 1 192 202)"><g class="djs-visual"><circle cx="18" cy="18" r="18" style="stroke: black; stroke-width: 2px; fill: white; fill-opacity: 0.95;"/></g><rect class="djs-hit djs-hit-all" x="0" y="0" width="36" height="36" style="fill: none; stroke-opacity: 0; stroke: white; stroke-width: 15px;"/><rect x="-6" y="-6" width="48" height="48" class="djs-outline" style="fill: none;"/></g></g><g class="djs-group"><g class="djs-element djs-shape" data-element-id="Activity_1iqs4li" style="display: block;" transform="matrix(1 0 0 1 280 180)"><g class="djs-visual"><rect x="0" y="0" width="100" height="80" rx="10" ry="10" style="stroke: black; stroke-width: 2px; fill: white; fill-opacity: 0.95;"/><text lineHeight="1.2" class="djs-label" style="font-family: Arial, sans-serif; font-size: 12px; font-weight: normal; fill: black;"><tspan x="25.265625" y="43.599999999999994">Any Task</tspan></text></g><rect class="djs-hit djs-hit-all" x="0" y="0" width="100" height="80" style="fill: none; stroke-opacity: 0; stroke: white; stroke-width: 15px;"/><rect x="-6" y="-6" width="112" height="92" class="djs-outline" style="fill: none;"/></g></g><g class="djs-group"><g class="djs-element djs-shape" data-element-id="Event_0c80924" style="display: block;" transform="matrix(1 0 0 1 432 202)"><g class="djs-visual"><circle cx="18" cy="18" r="18" style="stroke: black; stroke-width: 4px; fill: white; fill-opacity: 0.95;"/></g><rect class="djs-hit djs-hit-all" x="0" y="0" width="36" height="36" style="fill: none; stroke-opacity: 0; stroke: white; stroke-width: 15px;"/><rect x="-6" y="-6" width="48" height="48" class="djs-outline" style="fill: none;"/></g></g></svg>
|
After Width: | Height: | Size: 3.5 KiB |
|
@ -0,0 +1,58 @@
|
|||
<?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_vqhe612" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_058bksi</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_058bksi" sourceRef="StartEvent_1" targetRef="get_city" />
|
||||
<bpmn:userTask id="get_city" name="Get City">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="get-the-city-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="get-the-city-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_058bksi</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1n7v9ut</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_1n7v9ut" sourceRef="get_city" targetRef="process_city" />
|
||||
<bpmn:scriptTask id="process_city" name="Process City">
|
||||
<bpmn:incoming>Flow_1n7v9ut</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1sl3993</bpmn:outgoing>
|
||||
<bpmn:script>parsed_city = json.loads(city)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:endEvent id="Event_18js6uq">
|
||||
<bpmn:incoming>Flow_1sl3993</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1sl3993" sourceRef="process_city" targetRef="Event_18js6uq" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_vqhe612">
|
||||
<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_1ysk8rw_di" bpmnElement="get_city">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_09qcgvs_di" bpmnElement="process_city">
|
||||
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_18js6uq_di" bpmnElement="Event_18js6uq">
|
||||
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_058bksi_di" bpmnElement="Flow_058bksi">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1n7v9ut_di" bpmnElement="Flow_1n7v9ut">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="430" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1sl3993_di" bpmnElement="Flow_1sl3993">
|
||||
<di:waypoint x="530" y="177" />
|
||||
<di:waypoint x="592" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"title": "Get the City",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"city": {
|
||||
"type": "string",
|
||||
"title": "city"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"ui:order": [
|
||||
"city"
|
||||
],
|
||||
"city": {
|
||||
"ui:widget": "typeahead",
|
||||
"ui:help": "Select city",
|
||||
"ui:options": {
|
||||
"category": "cities",
|
||||
"itemFormat": "{name} ({state}, {country})"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Demonstrates a form with a typeahead field that autocompletes the city from a list on a remote server",
|
||||
"display_name": "Cities Typeahead",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "cities_typeahead.bpmn",
|
||||
"primary_process_id": "Process_vqhe612"
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
<?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_oan02mu" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1vrslsg</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1vrslsg" sourceRef="StartEvent_1" targetRef="date_stuff" />
|
||||
<bpmn:endEvent id="Event_1vcg2yg">
|
||||
<bpmn:incoming>Flow_1bzzdy2</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1bzzdy2" sourceRef="date_stuff" targetRef="Event_1vcg2yg" />
|
||||
<bpmn:userTask id="date_stuff">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="datetest-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="datetest-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1vrslsg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1bzzdy2</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_oan02mu">
|
||||
<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_1vcg2yg_di" bpmnElement="Event_1vcg2yg">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_04leh8x_di" bpmnElement="date_stuff">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1vrslsg_di" bpmnElement="Flow_1vrslsg">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bzzdy2_di" bpmnElement="Flow_1bzzdy2">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"title": "datetest",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"start_date": {
|
||||
"type": "string",
|
||||
"title": "start date",
|
||||
"format": "date",
|
||||
"minimumDate": "today"
|
||||
},
|
||||
"the_not_date": {
|
||||
"type": "string",
|
||||
"title": "the NOT date"
|
||||
},
|
||||
"end_date": {
|
||||
"type": "string",
|
||||
"title": "end date",
|
||||
"format": "date",
|
||||
"minimumDate": "field:start_date,field:event_date"
|
||||
},
|
||||
"event_date": {
|
||||
"type": "string",
|
||||
"title": "event date",
|
||||
"format": "date",
|
||||
"minimumDate": "field:start_date"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ui:order": [
|
||||
"the_not_date",
|
||||
"start_date",
|
||||
"event_date",
|
||||
"end_date"
|
||||
],
|
||||
"end_date": {
|
||||
"ui:help": "Please specify the scheduled Event date for which you are traveling. If the Event takes a few days, please indicate the main date, and provide further details in the Supporting info"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "",
|
||||
"display_name": "dateform",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "date.bpmn",
|
||||
"primary_process_id": "Process_oan02mu"
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
<?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_l04ij5k" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1vqnkmr</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1vqnkmr" sourceRef="StartEvent_1" targetRef="Activity_0hk0377" />
|
||||
<bpmn:endEvent id="Event_16hwisf">
|
||||
<bpmn:incoming>Flow_0wh82oz</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0wh82oz" sourceRef="Activity_19vu7pq" targetRef="Event_16hwisf" />
|
||||
<bpmn:userTask id="Activity_19vu7pq">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="thedrop-uischema.json" />
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="thedrop-schema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1udoe6p</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0wh82oz</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_1udoe6p" sourceRef="Activity_0hk0377" targetRef="Activity_19vu7pq" />
|
||||
<bpmn:scriptTask id="Activity_0hk0377">
|
||||
<bpmn:incoming>Flow_1vqnkmr</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1udoe6p</bpmn:outgoing>
|
||||
<bpmn:script>dept_enum_list = [{"label": "LABEL1", "value": "VALUE1"}, {"label": "LABEL2", "value": "VALUE2"}]</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_l04ij5k">
|
||||
<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_16hwisf_di" bpmnElement="Event_16hwisf">
|
||||
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_02ao221_di" bpmnElement="Activity_19vu7pq">
|
||||
<dc:Bounds x="400" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_16xdkr1_di" bpmnElement="Activity_0hk0377">
|
||||
<dc:Bounds x="250" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1vqnkmr_di" bpmnElement="Flow_1vqnkmr">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="250" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0wh82oz_di" bpmnElement="Flow_0wh82oz">
|
||||
<di:waypoint x="500" y="177" />
|
||||
<di:waypoint x="592" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1udoe6p_di" bpmnElement="Flow_1udoe6p">
|
||||
<di:waypoint x="350" y="177" />
|
||||
<di:waypoint x="400" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "",
|
||||
"display_name": "Dropdown",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "hey.bpmn",
|
||||
"primary_process_id": "Process_l04ij5k"
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"title": "thedrop",
|
||||
"description": "",
|
||||
"properties": {
|
||||
"field1": {
|
||||
"type": "string",
|
||||
"title": "FIELD1",
|
||||
"enum": [
|
||||
"hye",
|
||||
"yo",
|
||||
"go"
|
||||
]
|
||||
},
|
||||
"field2": {
|
||||
"type": "object",
|
||||
"title": "FIELD2",
|
||||
"anyOf": [
|
||||
{
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"bar": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"field4": {
|
||||
"type": "string",
|
||||
"title": "FIELD4",
|
||||
"enum": [
|
||||
"hye4",
|
||||
"yo4",
|
||||
"go4"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["field4", "field2", "field1"]
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
|
@ -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_mo96zij" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_033qhpg</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_033qhpg" sourceRef="StartEvent_1" targetRef="Activity_0s50enz" />
|
||||
<bpmn:endEvent id="Event_1kjasg9">
|
||||
<bpmn:incoming>Flow_0w2z7z5</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0w2z7z5" sourceRef="Activity_0s50enz" targetRef="Event_1kjasg9" />
|
||||
<bpmn:callActivity id="Activity_0s50enz" calledElement="Process_Signal_Button_Test">
|
||||
<bpmn:incoming>Flow_033qhpg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0w2z7z5</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_mo96zij">
|
||||
<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_1kjasg9_di" bpmnElement="Event_1kjasg9">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_09184cb_di" bpmnElement="Activity_0s50enz">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_033qhpg_di" bpmnElement="Flow_033qhpg">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0w2z7z5_di" bpmnElement="Flow_0w2z7z5">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Demonstrates how additional buttons can be added to User and Manual Tasks using Interrupting Signal Events.",
|
||||
"display_name": "Event Buttons",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "call_activity.bpmn",
|
||||
"primary_process_id": "Process_mo96zij"
|
||||
}
|
|
@ -0,0 +1,196 @@
|
|||
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:process id="Process_Signal_Button_Test" name="Signal Button Test Process" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0elszck</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0elszck" sourceRef="StartEvent_1" targetRef="Activity_0cmmlen" />
|
||||
<bpmn:endEvent id="Event_1mjvim4">
|
||||
<bpmn:incoming>Flow_1akz8b3</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1akz8b3" sourceRef="Activity_0cmmlen" targetRef="Event_1mjvim4" />
|
||||
<bpmn:endEvent id="Event_1dvll15">
|
||||
<bpmn:incoming>Flow_16bzuvz</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_16bzuvz" sourceRef="Activity_1u4om4i" targetRef="Event_1dvll15" />
|
||||
<bpmn:manualTask id="Activity_0cmmlen" name="My Manual Task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Welcome
|
||||
This manual task has Two Buttons! The first is standard submit button that will take you to the end. The second button will fire a signal event and take you to a different manual task.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0elszck</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1akz8b3</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:manualTask id="Activity_1u4om4i" name="Spam Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Spam Eaten!
|
||||
Congratulations! You have selected the Eat Additional Spam option, which opens up new doors to vast previously uncharted culinary eating experiences! Oh the Joy! Oh the Reward! Sweet savory wonderful Spam! </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_02nfkmi</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_16bzuvz</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_1lvntp7" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:outgoing>Flow_0fyxy40</bpmn:outgoing>
|
||||
<bpmn:timerEventDefinition id="TimerEventDefinition_0lrkkui">
|
||||
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">'PT15M'</bpmn:timeDuration>
|
||||
</bpmn:timerEventDefinition>
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0fyxy40" sourceRef="Event_1lvntp7" targetRef="Activity_1m3zxxg" />
|
||||
<bpmn:manualTask id="Activity_1m3zxxg" name="15 Minute Timer Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Timer Event
|
||||
This task will not be caused by a button, and no button should be visible. </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0fyxy40</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1741ps8</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:endEvent id="Event_0pr29vo">
|
||||
<bpmn:incoming>Flow_1741ps8</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1741ps8" sourceRef="Activity_1m3zxxg" targetRef="Event_0pr29vo" />
|
||||
<bpmn:sequenceFlow id="Flow_1qya0og" sourceRef="Event_0usahfx" targetRef="Activity_0z8cuko" />
|
||||
<bpmn:boundaryEvent id="Event_0usahfx" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:outgoing>Flow_1qya0og</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_13pwj9v" signalRef="Signal_151h644" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:endEvent id="Event_0ezler8">
|
||||
<bpmn:incoming>Flow_0u77h13</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0u77h13" sourceRef="Activity_0z8cuko" targetRef="Event_0ezler8" />
|
||||
<bpmn:manualTask id="Activity_0z8cuko" name="No Button Label">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># This task should not show up.
|
||||
This task, which has no button label, should not be accessible. You would need to fire this from some external system instead.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1qya0og</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0u77h13</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:endEvent id="Event_056340o">
|
||||
<bpmn:incoming>Flow_0k6ullg</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0k6ullg" sourceRef="Activity_1jjz4ax" targetRef="Event_056340o" />
|
||||
<bpmn:manualTask id="Activity_1jjz4ax" name="Cheetos Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Cheetos!
|
||||
You have selected to eat Cheetos today! Wohoo!!!!</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0tfc3q2</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0k6ullg</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_0vo3icv" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:signalButtonLabel>Eat Cheetos!</spiffworkflow:signalButtonLabel>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:outgoing>Flow_0tfc3q2</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_002ue4s" signalRef="Signal_2o87k4q" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0tfc3q2" sourceRef="Event_0vo3icv" targetRef="Activity_1jjz4ax" />
|
||||
<bpmn:boundaryEvent id="Event_0du75ds" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:signalButtonLabel>Eat Spam</spiffworkflow:signalButtonLabel>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:outgoing>Flow_02nfkmi</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_1jkudgi" signalRef="Signal_17t90lm" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_02nfkmi" sourceRef="Event_0du75ds" targetRef="Activity_1u4om4i" />
|
||||
</bpmn:process>
|
||||
<bpmn:signal id="Signal_17t90lm" name="eat_spam" />
|
||||
<bpmn:signal id="Signal_151h644" name="eat_potato_chips" />
|
||||
<bpmn:signal id="Signal_2o87k4q" name="eat_cheetos" />
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_Signal_Button_Test">
|
||||
<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_1mjvim4_di" bpmnElement="Event_1mjvim4">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1dvll15_di" bpmnElement="Event_1dvll15">
|
||||
<dc:Bounds x="692" y="282" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zxmtux_di" bpmnElement="Activity_0cmmlen">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0tll58x_di" bpmnElement="Activity_1u4om4i">
|
||||
<dc:Bounds x="520" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1p465d5_di" bpmnElement="Activity_1m3zxxg">
|
||||
<dc:Bounds x="520" y="530" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0pr29vo_di" bpmnElement="Event_0pr29vo">
|
||||
<dc:Bounds x="692" y="552" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0ezler8_di" bpmnElement="Event_0ezler8">
|
||||
<dc:Bounds x="692" y="462" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0dxfl6u_di" bpmnElement="Activity_0z8cuko">
|
||||
<dc:Bounds x="520" y="440" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_056340o_di" bpmnElement="Event_056340o">
|
||||
<dc:Bounds x="692" y="372" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_03a4vi7_di" bpmnElement="Activity_1jjz4ax">
|
||||
<dc:Bounds x="520" y="350" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_18fcd1o_di" bpmnElement="Event_0du75ds">
|
||||
<dc:Bounds x="352" y="119" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_19518xv_di" bpmnElement="Event_0vo3icv">
|
||||
<dc:Bounds x="332" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0w0k7qx_di" bpmnElement="Event_0usahfx">
|
||||
<dc:Bounds x="292" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1moswh3_di" bpmnElement="Event_1lvntp7">
|
||||
<dc:Bounds x="252" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0elszck_di" bpmnElement="Flow_0elszck">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1akz8b3_di" bpmnElement="Flow_1akz8b3">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_16bzuvz_di" bpmnElement="Flow_16bzuvz">
|
||||
<di:waypoint x="620" y="300" />
|
||||
<di:waypoint x="692" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0fyxy40_di" bpmnElement="Flow_0fyxy40">
|
||||
<di:waypoint x="270" y="235" />
|
||||
<di:waypoint x="270" y="570" />
|
||||
<di:waypoint x="520" y="570" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1741ps8_di" bpmnElement="Flow_1741ps8">
|
||||
<di:waypoint x="620" y="570" />
|
||||
<di:waypoint x="692" y="570" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1qya0og_di" bpmnElement="Flow_1qya0og">
|
||||
<di:waypoint x="310" y="235" />
|
||||
<di:waypoint x="310" y="480" />
|
||||
<di:waypoint x="520" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u77h13_di" bpmnElement="Flow_0u77h13">
|
||||
<di:waypoint x="620" y="480" />
|
||||
<di:waypoint x="692" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0k6ullg_di" bpmnElement="Flow_0k6ullg">
|
||||
<di:waypoint x="620" y="390" />
|
||||
<di:waypoint x="692" y="390" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0tfc3q2_di" bpmnElement="Flow_0tfc3q2">
|
||||
<di:waypoint x="350" y="235" />
|
||||
<di:waypoint x="350" y="390" />
|
||||
<di:waypoint x="520" y="390" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02nfkmi_di" bpmnElement="Flow_02nfkmi">
|
||||
<di:waypoint x="388" y="137" />
|
||||
<di:waypoint x="570" y="137" />
|
||||
<di:waypoint x="570" y="260" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,102 @@
|
|||
<?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="abc" name="abc" namespace="http://camunda.org/schema/1.0/dmn">
|
||||
<decision id="decision_abc" name="abc">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1">
|
||||
<inputExpression id="inputExpression_1" typeRef="string">
|
||||
<text>x</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="InputClause_0fiw5qo">
|
||||
<inputExpression id="LiteralExpression_0wapvku" typeRef="boolean">
|
||||
<text>is_lower_case</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" name="y" typeRef="number" />
|
||||
<rule id="DecisionRule_1dzzpx9">
|
||||
<inputEntry id="UnaryTests_1p51myj">
|
||||
<text>1</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0dfl4gk">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_039dl5s">
|
||||
<text>"a"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1sycqvm">
|
||||
<inputEntry id="UnaryTests_0evw4tz">
|
||||
<text>1</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_13l9o4n">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_08kdfb1">
|
||||
<text>"A"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_09dxkjk">
|
||||
<inputEntry id="UnaryTests_1gyjfqb">
|
||||
<text>2</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_05w51q0">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0ndppqf">
|
||||
<text>"b"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_12wufzt">
|
||||
<inputEntry id="UnaryTests_1x01441">
|
||||
<text>2</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0b7bxpx">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1oturg0">
|
||||
<text>"B"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_05yj9tk">
|
||||
<inputEntry id="UnaryTests_1ihqz58">
|
||||
<text>>=3</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0v32irf">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0acto1t">
|
||||
<text>"c"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1t4bs8b">
|
||||
<inputEntry id="UnaryTests_1bqfa3i">
|
||||
<text>>=3</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_16ic1s0">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_04sn827">
|
||||
<text>"C"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_08fpvbl">
|
||||
<inputEntry id="UnaryTests_0g6wb69">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1uctjd5">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0iwpp9d">
|
||||
<text>"ZED"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_abc">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
|
@ -0,0 +1,58 @@
|
|||
<?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_5bmdbcp" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0brrubl</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0brrubl" sourceRef="StartEvent_1" targetRef="Activity_17q59fj" />
|
||||
<bpmn:endEvent id="Event_1fw7s4u">
|
||||
<bpmn:incoming>Flow_15vr3a8</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_15vr3a8" sourceRef="Activity_06jvah6" targetRef="Event_1fw7s4u" />
|
||||
<bpmn:businessRuleTask id="Activity_06jvah6" name="Make decision">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>decision_abc</spiffworkflow:calledDecisionId>
|
||||
<spiffworkflow:preScript />
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0dyelew</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_15vr3a8</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:sequenceFlow id="Flow_0dyelew" sourceRef="Activity_17q59fj" targetRef="Activity_06jvah6" />
|
||||
<bpmn:scriptTask id="Activity_17q59fj" name="set vars">
|
||||
<bpmn:incoming>Flow_0brrubl</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0dyelew</bpmn:outgoing>
|
||||
<bpmn:script>x = 1
|
||||
is_lower_case = True</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_5bmdbcp">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="32" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1fw7s4u_di" bpmnElement="Event_1fw7s4u">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0bkq2p2_di" bpmnElement="Activity_06jvah6">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1rxu6zq_di" bpmnElement="Activity_17q59fj">
|
||||
<dc:Bounds x="110" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0brrubl_di" bpmnElement="Flow_0brrubl">
|
||||
<di:waypoint x="68" y="177" />
|
||||
<di:waypoint x="110" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_15vr3a8_di" bpmnElement="Flow_15vr3a8">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0dyelew_di" bpmnElement="Flow_0dyelew">
|
||||
<di:waypoint x="210" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Show how to include a basic DMN decision table in a process",
|
||||
"display_name": "Example Decision",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "decision_example.bpmn",
|
||||
"primary_process_id": "Process_5bmdbcp"
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Send a message to slack",
|
||||
"display_name": "Example Service Call",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "slack_message.bpmn",
|
||||
"primary_process_id": "Process_59yn9gr"
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
<?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_59yn9gr" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1i0dt68</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1i0dt68" sourceRef="StartEvent_1" targetRef="Activity_1cfrs16" />
|
||||
<bpmn:endEvent id="Event_1fg0gf6">
|
||||
<bpmn:incoming>Flow_1j8frxd</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1j8frxd" sourceRef="Activity_1cfrs16" targetRef="Event_1fg0gf6" />
|
||||
<bpmn:serviceTask id="Activity_1cfrs16" name="send message to slack">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="slack/PostMessage" resultVariable="slack_response">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="channel" type="str" value=""slack-connector-testing"" />
|
||||
<spiffworkflow:parameter id="message" type="str" value=""Hello World!"" />
|
||||
<spiffworkflow:parameter id="token" type="str" value=""secret:slack_token"" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1i0dt68</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1j8frxd</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_59yn9gr">
|
||||
<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_1fg0gf6_di" bpmnElement="Event_1fg0gf6">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0iuq5d5_di" bpmnElement="Activity_1cfrs16">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1i0dt68_di" bpmnElement="Flow_1i0dt68">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1j8frxd_di" bpmnElement="Flow_1j8frxd">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -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_j1lrr54" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1awgm4b</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1awgm4b" sourceRef="StartEvent_1" targetRef="nested_items_user_task" />
|
||||
<bpmn:endEvent id="Event_154wzsk">
|
||||
<bpmn:incoming>Flow_10limka</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_10limka" sourceRef="nested_items_user_task" targetRef="Event_154wzsk" />
|
||||
<bpmn:userTask id="nested_items_user_task" name="Nested Items User Task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="form_with_nested_items_schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="form_with_nested_items_uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1awgm4b</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_10limka</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_j1lrr54">
|
||||
<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_154wzsk_di" bpmnElement="Event_154wzsk">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1ufinbr_di" bpmnElement="nested_items_user_task">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1awgm4b_di" bpmnElement="Flow_1awgm4b">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_10limka_di" bpmnElement="Flow_10limka">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"title": "A list of tasks",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"title": "Task list title"
|
||||
},
|
||||
"tasks": {
|
||||
"type": "array",
|
||||
"title": "Tasks",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"title": "Title",
|
||||
"description": "A sample title"
|
||||
},
|
||||
"details": {
|
||||
"type": "string",
|
||||
"title": "Task details",
|
||||
"description": "Enter the task details"
|
||||
},
|
||||
"start_date": {
|
||||
"type": "string",
|
||||
"title": "start date",
|
||||
"format": "date",
|
||||
"minimumDate": "today"
|
||||
},
|
||||
"end_date": {
|
||||
"type": "string",
|
||||
"title": "end date",
|
||||
"format": "date",
|
||||
"minimumDate": "field:start_date"
|
||||
},
|
||||
"done": {
|
||||
"type": "boolean",
|
||||
"title": "Done?",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ui:order": ["title", "tasks"],
|
||||
"tasks": {
|
||||
"items": {
|
||||
"ui:order": ["title", "details", "start_date", "end_date", "done"],
|
||||
"details": {
|
||||
"ui:widget": "textarea"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Shows how you can nest complex objects inside other objects by allowing the user to create a list of tasks",
|
||||
"display_name": "Form With Nested Items",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "form_with_nested_items.bpmn",
|
||||
"primary_process_id": "Process_j1lrr54"
|
||||
}
|
|
@ -0,0 +1,95 @@
|
|||
<?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.11.0">
|
||||
<bpmn:process id="Hello_BPMN_World" name="Hello BPMN World" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1dsg4jb</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_1nuxsxl">
|
||||
<bpmn:incoming>Flow_0jbgbqr</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0aw40yc" sourceRef="Activity_0j3j0ev" targetRef="Activity_04nklcf" />
|
||||
<bpmn:serviceTask id="Activity_04nklcf" name="Send Hello World">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="http/PostRequest" resultVariable="resp_DiscordHelloWorld">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="basic_auth_password" type="str" value="None" />
|
||||
<spiffworkflow:parameter id="basic_auth_username" type="str" value="None" />
|
||||
<spiffworkflow:parameter id="data" type="any" value="{"content": my_message}" />
|
||||
<spiffworkflow:parameter id="headers" type="any" value="{"Content-type": "application/json"}" />
|
||||
<spiffworkflow:parameter id="url" type="str" value=""secret:DISCORD_TEST_CONNECTION"" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0aw40yc</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jbgbqr</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:sequenceFlow id="Flow_0jbgbqr" sourceRef="Activity_04nklcf" targetRef="Event_1nuxsxl" />
|
||||
<bpmn:userTask id="Activity_0j3j0ev" name="Show Hello World">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>{{ my_message }}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1dsg4jb</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0aw40yc</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_1dsg4jb" sourceRef="StartEvent_1" targetRef="Activity_0j3j0ev" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0n80njr">
|
||||
<bpmn:text>Sets the my_message variable to "Hello World"</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:textAnnotation id="TextAnnotation_1yze331">
|
||||
<bpmn:text>Displays the my_message variable to the user</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_13sqazn" sourceRef="Activity_0j3j0ev" targetRef="TextAnnotation_1yze331" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_132sqfb">
|
||||
<bpmn:text>Sends my_message to SpiffWorkflow Discord channel</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1fgflyp" sourceRef="Activity_04nklcf" targetRef="TextAnnotation_132sqfb" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Hello_BPMN_World">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="259" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1nuxsxl_di" bpmnElement="Event_1nuxsxl">
|
||||
<dc:Bounds x="852" y="259" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zsvyuq_di" bpmnElement="Activity_04nklcf">
|
||||
<dc:Bounds x="680" y="237" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0n80njr_di" bpmnElement="TextAnnotation_0n80njr">
|
||||
<dc:Bounds x="160" y="80" width="100" height="70" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1yze331_di" bpmnElement="TextAnnotation_1yze331">
|
||||
<dc:Bounds x="459" y="85" width="120" height="60" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_132sqfb_di" bpmnElement="TextAnnotation_132sqfb">
|
||||
<dc:Bounds x="740" y="80" width="112" height="70" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1974xwn_di" bpmnElement="Activity_0j3j0ev">
|
||||
<dc:Bounds x="280" y="237" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_13sqazn_di" bpmnElement="Association_13sqazn">
|
||||
<di:waypoint x="372" y="237" />
|
||||
<di:waypoint x="469" y="145" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0aw40yc_di" bpmnElement="Flow_0aw40yc">
|
||||
<di:waypoint x="380" y="277" />
|
||||
<di:waypoint x="680" y="277" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jbgbqr_di" bpmnElement="Flow_0jbgbqr">
|
||||
<di:waypoint x="780" y="277" />
|
||||
<di:waypoint x="852" y="277" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_1fgflyp_di" bpmnElement="Association_1fgflyp">
|
||||
<di:waypoint x="742" y="237" />
|
||||
<di:waypoint x="768" y="150" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1dsg4jb_di" bpmnElement="Flow_1dsg4jb">
|
||||
<di:waypoint x="215" y="277" />
|
||||
<di:waypoint x="280" y="277" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Enhanced Hello World example that sends a message to discord",
|
||||
"display_name": "Hello BPMN World",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "hello-bpmn-world.bpmn",
|
||||
"primary_process_id": "Hello_BPMN_World"
|
||||
}
|
|
@ -0,0 +1,116 @@
|
|||
<?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_7kik021" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1djhqzp</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_1nuxsxl">
|
||||
<bpmn:incoming>Flow_0jbgbqr</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1djhqzp" sourceRef="StartEvent_1" targetRef="Activity_16qfwpz" />
|
||||
<bpmn:sequenceFlow id="Flow_0fj602z" sourceRef="Activity_16qfwpz" targetRef="Activity_0j3j0ev" />
|
||||
<bpmn:scriptTask id="Activity_16qfwpz" name="Set Hello Wolrd Variable">
|
||||
<bpmn:incoming>Flow_1djhqzp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0fj602z</bpmn:outgoing>
|
||||
<bpmn:script># Set message Variable
|
||||
my_message = "Hello World"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0aw40yc" sourceRef="Activity_0j3j0ev" targetRef="Activity_04nklcf" />
|
||||
<bpmn:manualTask id="Activity_0j3j0ev" name="Show Hello World">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>{{ my_message }}
|
||||
|
||||
![image](https://www.spiffworkflow.org/images/illustrations/flow.svg)</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0fj602z</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0aw40yc</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:serviceTask id="Activity_04nklcf" name="Send Hello World">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="http/PostRequest" resultVariable="resp_DiscordHelloWorld">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="basic_auth_password" type="str" value="None" />
|
||||
<spiffworkflow:parameter id="basic_auth_username" type="str" value="None" />
|
||||
<spiffworkflow:parameter id="data" type="any" value="{"content": my_message}" />
|
||||
<spiffworkflow:parameter id="headers" type="any" value="{"Content-type": "application/json"}" />
|
||||
<spiffworkflow:parameter id="url" type="str" value=""secret:DISCORD_TEST_CONNECTION"" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0aw40yc</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jbgbqr</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:sequenceFlow id="Flow_0jbgbqr" sourceRef="Activity_04nklcf" targetRef="Event_1nuxsxl" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0n80njr">
|
||||
<bpmn:text>Sets the my_message variable to "Hello World"</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0xm5mzh" sourceRef="Activity_16qfwpz" targetRef="TextAnnotation_0n80njr" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_1yze331">
|
||||
<bpmn:text>Displays the my_message variable to the user</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_13sqazn" sourceRef="Activity_0j3j0ev" targetRef="TextAnnotation_1yze331" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_132sqfb">
|
||||
<bpmn:text>Sends my_message to SpiffWorkflow Discord channel</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1fgflyp" sourceRef="Activity_04nklcf" targetRef="TextAnnotation_132sqfb" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_7kik021">
|
||||
<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_1nuxsxl_di" bpmnElement="Event_1nuxsxl">
|
||||
<dc:Bounds x="852" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1e5du3q_di" bpmnElement="Activity_16qfwpz">
|
||||
<dc:Bounds x="280" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0crrakz_di" bpmnElement="Activity_0j3j0ev">
|
||||
<dc:Bounds x="450" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zsvyuq_di" bpmnElement="Activity_04nklcf">
|
||||
<dc:Bounds x="680" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0n80njr_di" bpmnElement="TextAnnotation_0n80njr">
|
||||
<dc:Bounds x="160" y="-20" width="100" height="70" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1yze331_di" bpmnElement="TextAnnotation_1yze331">
|
||||
<dc:Bounds x="459" y="-15" width="120" height="60" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_132sqfb_di" bpmnElement="TextAnnotation_132sqfb">
|
||||
<dc:Bounds x="740" y="-20" width="112" height="70" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1djhqzp_di" bpmnElement="Flow_1djhqzp">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="280" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0fj602z_di" bpmnElement="Flow_0fj602z">
|
||||
<di:waypoint x="380" y="177" />
|
||||
<di:waypoint x="450" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0aw40yc_di" bpmnElement="Flow_0aw40yc">
|
||||
<di:waypoint x="550" y="177" />
|
||||
<di:waypoint x="680" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jbgbqr_di" bpmnElement="Flow_0jbgbqr">
|
||||
<di:waypoint x="780" y="177" />
|
||||
<di:waypoint x="852" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_0xm5mzh_di" bpmnElement="Association_0xm5mzh">
|
||||
<di:waypoint x="305" y="137" />
|
||||
<di:waypoint x="251" y="50" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_13sqazn_di" bpmnElement="Association_13sqazn">
|
||||
<di:waypoint x="500" y="137" />
|
||||
<di:waypoint x="500" y="45" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_1fgflyp_di" bpmnElement="Association_1fgflyp">
|
||||
<di:waypoint x="742" y="137" />
|
||||
<di:waypoint x="768" y="50" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "My first diagram",
|
||||
"display_name": "Hello World",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "hello-world.bpmn",
|
||||
"primary_process_id": "Process_7kik021"
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
<?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_07yp894">
|
||||
<bpmn:participant id="Participant_0unj1vb" processRef="Process_15z0wpx" />
|
||||
<bpmn:correlationKey name="interstitial_correlation_key">
|
||||
<bpmn:correlationPropertyRef>interstitial_correlation_property</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_15z0wpx">
|
||||
<bpmn:startEvent id="Event_1ylz5r2">
|
||||
<bpmn:outgoing>Flow_1p1q9bf</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1p1q9bf" sourceRef="Event_1ylz5r2" targetRef="Event_0kkhzhf" />
|
||||
<bpmn:endEvent id="Event_1la2c8u">
|
||||
<bpmn:incoming>Flow_02014cv</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_02014cv" sourceRef="Event_0kkhzhf" targetRef="Event_1la2c8u" />
|
||||
<bpmn:intermediateThrowEvent id="Event_0kkhzhf">
|
||||
<bpmn:incoming>Flow_1p1q9bf</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_02014cv</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_1uy8kq4" messageRef="Message_0uo9ra4" />
|
||||
</bpmn:intermediateThrowEvent>
|
||||
</bpmn:process>
|
||||
<bpmn:correlationProperty id="interstitial_correlation_property" name="interstitial_correlation_property">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_0uo9ra4">
|
||||
<bpmn:formalExpression>x</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:message id="Message_0uo9ra4" name="interstitial_message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messagePayload>{"x": 1}</spiffworkflow:messagePayload>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_07yp894">
|
||||
<bpmndi:BPMNShape id="Participant_0unj1vb_di" bpmnElement="Participant_0unj1vb" isHorizontal="true">
|
||||
<dc:Bounds x="320" y="230" width="600" height="250" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1ylz5r2_di" bpmnElement="Event_1ylz5r2">
|
||||
<dc:Bounds x="452" y="332" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1la2c8u_di" bpmnElement="Event_1la2c8u">
|
||||
<dc:Bounds x="632" y="332" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1mf48m2_di" bpmnElement="Event_0kkhzhf">
|
||||
<dc:Bounds x="542" y="332" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1p1q9bf_di" bpmnElement="Flow_1p1q9bf">
|
||||
<di:waypoint x="488" y="350" />
|
||||
<di:waypoint x="542" y="350" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02014cv_di" bpmnElement="Flow_02014cv">
|
||||
<di:waypoint x="578" y="350" />
|
||||
<di:waypoint x="632" y="350" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Sends a message to allow a process to continue.",
|
||||
"display_name": "Interstitial Message Sender",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "example.bpmn",
|
||||
"primary_process_id": "Process_15z0wpx"
|
||||
}
|
|
@ -0,0 +1,216 @@
|
|||
<?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:collaboration id="Collaboration_1gcz510">
|
||||
<bpmn:participant id="Participant_1kfb02a" processRef="Process_y37j6hy" />
|
||||
<bpmn:correlationKey name="interstitial_key">
|
||||
<bpmn:correlationPropertyRef>interstitial_property</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_y37j6hy" isExecutable="true">
|
||||
<bpmn:laneSet id="LaneSet_1iyyeiq">
|
||||
<bpmn:lane id="Lane_121gbmd" name="approvers">
|
||||
<bpmn:flowNodeRef>Activity_05vwpsn</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_1fuykx3">
|
||||
<bpmn:flowNodeRef>task_2</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_1g9krb1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0fmdaxs</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_4</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_5</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0n37ljx</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1ayy15u</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
</bpmn:laneSet>
|
||||
<bpmn:scriptTask id="task_2" name="first script">
|
||||
<bpmn:incoming>Flow_1ernyhf</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_09dv3gl</bpmn:outgoing>
|
||||
<bpmn:script>x=100</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1hfdqj8</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:scriptTask id="Activity_1g9krb1" name="Script 1">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Connecting to Bamboo HR and retrieving information about you and your supervisor so we can set up the correct approvals ....</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1hfdqj8</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0u2t7ct</bpmn:outgoing>
|
||||
<bpmn:script>lane_owners = {"approvers": ["alex@sartography.com", "madhurya@sartography.com",
|
||||
"dan@sartography.com"]}
|
||||
time.sleep(3)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:manualTask id="task_1" name="user task 1">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Manual Task One</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0jaw07d</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1ernyhf</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:scriptTask id="Activity_0fmdaxs" name="Script 2">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser />
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0u2t7ct</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jaw07d</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0slw75o" sourceRef="task_4" targetRef="task_5" />
|
||||
<bpmn:sequenceFlow id="Flow_1kknhym" sourceRef="task_5" targetRef="Event_0n37ljx" />
|
||||
<bpmn:sequenceFlow id="Flow_1o2nvb0" sourceRef="Event_0n37ljx" targetRef="Event_1ayy15u" />
|
||||
<bpmn:sequenceFlow id="Flow_0urf87u" sourceRef="Activity_05vwpsn" targetRef="task_4" />
|
||||
<bpmn:sequenceFlow id="Flow_1ernyhf" sourceRef="task_1" targetRef="task_2" />
|
||||
<bpmn:sequenceFlow id="Flow_09dv3gl" sourceRef="task_2" targetRef="Activity_05vwpsn" />
|
||||
<bpmn:sequenceFlow id="Flow_1hfdqj8" sourceRef="StartEvent_1" targetRef="Activity_1g9krb1" />
|
||||
<bpmn:sequenceFlow id="Flow_0u2t7ct" sourceRef="Activity_1g9krb1" targetRef="Activity_0fmdaxs" />
|
||||
<bpmn:sequenceFlow id="Flow_0jaw07d" sourceRef="Activity_0fmdaxs" targetRef="task_1" />
|
||||
<bpmn:scriptTask id="task_4" name="A slow script">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Here we make some complex calculations using calculus, linear algebra so that we might reflect on the complexities of the space-time continuum. {{my_message}}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0urf87u</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0slw75o</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(5)
|
||||
my_message = "This is a jinja embedded message"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:manualTask id="task_5" name="Last one">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>This is the last manual task to complete.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0slw75o</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1kknhym</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:intermediateCatchEvent id="Event_0n37ljx" name="Wait For External Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>We are awaiting a response from a remote service that will provide detailed inforamtion. It may take 1 to 2 days before your final product is ready for order.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1kknhym</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1o2nvb0</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_09sm0ra" messageRef="Message_0hri1uv" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:endEvent id="Event_1ayy15u" name="Complete">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># All Done!
|
||||
You have complted all of the steps! Contradulations!
|
||||
You have fully completed this process! Great Job.
|
||||
|
||||
|
||||
While this was running we set a variable called "my_message". It's value is {{my_message}}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1o2nvb0</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:manualTask id="Activity_05vwpsn" name="Approve">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Only the approvers group shoud see this task.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_09dv3gl</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0urf87u</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
</bpmn:process>
|
||||
<bpmn:correlationProperty id="interstitial_property" name="interstitial_property">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_0hri1uv">
|
||||
<bpmn:formalExpression>"start"</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:message id="Message_0hri1uv" name="interstitial_message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>x</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1gcz510">
|
||||
<bpmndi:BPMNShape id="Participant_1kfb02a_di" bpmnElement="Participant_1kfb02a" isHorizontal="true">
|
||||
<dc:Bounds x="125" y="240" width="1440" height="270" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_1fuykx3_di" bpmnElement="Lane_1fuykx3" isHorizontal="true">
|
||||
<dc:Bounds x="155" y="240" width="1410" height="140" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_121gbmd_di" bpmnElement="Lane_121gbmd" isHorizontal="true">
|
||||
<dc:Bounds x="155" y="380" width="1410" height="130" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_02g0xtn_di" bpmnElement="task_2">
|
||||
<dc:Bounds x="635" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="167" y="282" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1xfrfmn_di" bpmnElement="Activity_1g9krb1">
|
||||
<dc:Bounds x="225" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1v8m0yx_di" bpmnElement="task_1">
|
||||
<dc:Bounds x="485" y="260" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1p7gxxy_di" bpmnElement="Activity_0fmdaxs">
|
||||
<dc:Bounds x="355" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_154mk3s_di" bpmnElement="task_4">
|
||||
<dc:Bounds x="1080" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0rvd77l_di" bpmnElement="task_5">
|
||||
<dc:Bounds x="1220" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_020vqe3_di" bpmnElement="Event_0n37ljx">
|
||||
<dc:Bounds x="1372" y="282" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1346" y="325" width="89" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1ayy15u_di" bpmnElement="Event_1ayy15u">
|
||||
<dc:Bounds x="1462" y="282" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1456" y="325" width="48" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0m2tskq_di" bpmnElement="Activity_05vwpsn">
|
||||
<dc:Bounds x="820" y="410" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0slw75o_di" bpmnElement="Flow_0slw75o">
|
||||
<di:waypoint x="1180" y="300" />
|
||||
<di:waypoint x="1220" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1kknhym_di" bpmnElement="Flow_1kknhym">
|
||||
<di:waypoint x="1320" y="300" />
|
||||
<di:waypoint x="1372" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1o2nvb0_di" bpmnElement="Flow_1o2nvb0">
|
||||
<di:waypoint x="1408" y="300" />
|
||||
<di:waypoint x="1462" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0urf87u_di" bpmnElement="Flow_0urf87u">
|
||||
<di:waypoint x="920" y="450" />
|
||||
<di:waypoint x="970" y="450" />
|
||||
<di:waypoint x="970" y="300" />
|
||||
<di:waypoint x="1080" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ernyhf_di" bpmnElement="Flow_1ernyhf">
|
||||
<di:waypoint x="585" y="300" />
|
||||
<di:waypoint x="635" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_09dv3gl_di" bpmnElement="Flow_09dv3gl">
|
||||
<di:waypoint x="735" y="300" />
|
||||
<di:waypoint x="775" y="300" />
|
||||
<di:waypoint x="775" y="450" />
|
||||
<di:waypoint x="820" y="450" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1hfdqj8_di" bpmnElement="Flow_1hfdqj8">
|
||||
<di:waypoint x="203" y="300" />
|
||||
<di:waypoint x="225" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u2t7ct_di" bpmnElement="Flow_0u2t7ct">
|
||||
<di:waypoint x="325" y="300" />
|
||||
<di:waypoint x="355" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jaw07d_di" bpmnElement="Flow_0jaw07d">
|
||||
<di:waypoint x="455" y="300" />
|
||||
<di:waypoint x="485" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,59 @@
|
|||
<?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="Interstitial_Call_Activity_Process" name="Interstitial Call Activity Process" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1qlnctx</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1qlnctx" sourceRef="StartEvent_1" targetRef="B_Level_2_First_Script" />
|
||||
<bpmn:endEvent id="Event_End_Call_Activity">
|
||||
<bpmn:incoming>Flow_147fsiu</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_14b2x1z" sourceRef="B_Level_2_First_Script" targetRef="C_To_Level_3_Call_Activity" />
|
||||
<bpmn:scriptTask id="B_Level_2_First_Script" name="2. Script Within Call Activity">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Level 2, Script 1</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1qlnctx</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_14b2x1z</bpmn:outgoing>
|
||||
<bpmn:script>x=100</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_147fsiu" sourceRef="C_To_Level_3_Call_Activity" targetRef="Event_End_Call_Activity" />
|
||||
<bpmn:callActivity id="C_To_Level_3_Call_Activity" name="3. To Level 3" calledElement="Third_Level_Process">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Level 3 - Call Activity</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_14b2x1z</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_147fsiu</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Interstitial_Call_Activity_Process">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="262" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_049s1h2_di" bpmnElement="Event_End_Call_Activity">
|
||||
<dc:Bounds x="632" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1xxbpv9_di" bpmnElement="B_Level_2_First_Script">
|
||||
<dc:Bounds x="350" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0z58dpa_di" bpmnElement="C_To_Level_3_Call_Activity">
|
||||
<dc:Bounds x="490" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1qlnctx_di" bpmnElement="Flow_1qlnctx">
|
||||
<di:waypoint x="298" y="177" />
|
||||
<di:waypoint x="350" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_14b2x1z_di" bpmnElement="Flow_14b2x1z">
|
||||
<di:waypoint x="450" y="177" />
|
||||
<di:waypoint x="490" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_147fsiu_di" bpmnElement="Flow_147fsiu">
|
||||
<di:waypoint x="590" y="177" />
|
||||
<di:waypoint x="632" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "",
|
||||
"display_name": "Interstitial Page Test",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "test_interstitial.bpmn",
|
||||
"primary_process_id": "Process_y37j6hy"
|
||||
}
|
|
@ -0,0 +1,266 @@
|
|||
<?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:collaboration id="Collaboration_1gcz510">
|
||||
<bpmn:participant id="Participant_1kfb02a" processRef="Process_y37j6hy" />
|
||||
<bpmn:correlationKey name="interstitial_key">
|
||||
<bpmn:correlationPropertyRef>interstitial_property</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_y37j6hy" isExecutable="true">
|
||||
<bpmn:laneSet id="LaneSet_1iyyeiq">
|
||||
<bpmn:lane id="Lane_121gbmd" name="approvers">
|
||||
<bpmn:flowNodeRef>Activity_05vwpsn</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_1fuykx3">
|
||||
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0fmdaxs</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_1g9krb1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>A_Call_Acitvity</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_3_send_to_slack</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_4</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>task_5</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0n37ljx</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1ayy15u</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_1rbmcsk</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
</bpmn:laneSet>
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1hfdqj8</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0slw75o" sourceRef="task_4" targetRef="task_5" />
|
||||
<bpmn:sequenceFlow id="Flow_1kknhym" sourceRef="task_5" targetRef="Event_0n37ljx" />
|
||||
<bpmn:sequenceFlow id="Flow_1o2nvb0" sourceRef="Event_0n37ljx" targetRef="Event_1ayy15u" />
|
||||
<bpmn:sequenceFlow id="Flow_0dym8fs" sourceRef="task_3_send_to_slack" targetRef="task_4" />
|
||||
<bpmn:sequenceFlow id="Flow_0urf87u" sourceRef="Activity_05vwpsn" targetRef="task_3_send_to_slack" />
|
||||
<bpmn:sequenceFlow id="Flow_1hfdqj8" sourceRef="StartEvent_1" targetRef="A_Call_Acitvity" />
|
||||
<bpmn:sequenceFlow id="Flow_0jaw07d" sourceRef="Activity_0fmdaxs" targetRef="task_1" />
|
||||
<bpmn:sequenceFlow id="Flow_0u2t7ct" sourceRef="Activity_1g9krb1" targetRef="Activity_0fmdaxs" />
|
||||
<bpmn:sequenceFlow id="Flow_0doornu" sourceRef="A_Call_Acitvity" targetRef="Activity_1g9krb1" />
|
||||
<bpmn:manualTask id="task_1" name="user task 1">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Manual Task One</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0jaw07d</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0lqzlgr</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:scriptTask id="Activity_0fmdaxs" name="Script 2">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser />
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0u2t7ct</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jaw07d</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:scriptTask id="Activity_1g9krb1" name="Script 1">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Connecting to Bamboo HR and retrieving information about you and your supervisor so we can set up the correct approvals ....</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0doornu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0u2t7ct</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:callActivity id="A_Call_Acitvity" name="1 first script" calledElement="Interstitial_Call_Activity_Process">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Level 2 (Call Activity Parent)
|
||||
|
||||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
|
||||
|
||||
* One
|
||||
* Two
|
||||
* Three
|
||||
* Four
|
||||
* Fi e</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1hfdqj8</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0doornu</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:serviceTask id="task_3_send_to_slack" name="Send to slack">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="slack/PostMessage">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="channel" type="str" value="'slack-connector-testing'" />
|
||||
<spiffworkflow:parameter id="message" type="str" value="'some message'" />
|
||||
<spiffworkflow:parameter id="token" type="str" value="'secret:slack_token'" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
<spiffworkflow:instructionsForEndUser>Sending a reminder message to slack to let them know the status of the request.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0urf87u</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0dym8fs</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:scriptTask id="task_4" name="A slow script">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Here we make some complex calculations using calculus, linear algebra so that we might reflect on the complexities of the space-time continuum. {{my_message}}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0dym8fs</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0slw75o</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)
|
||||
my_message = "This is a jinja embedded message"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:manualTask id="task_5" name="Last one">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>This is the last manual task to complete.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0slw75o</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1kknhym</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:intermediateCatchEvent id="Event_0n37ljx" name="Wait For External Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>We are awaiting a response from a remote service that will provide detailed inforamtion. It may take 1 to 2 days before your final product is ready for order.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1kknhym</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1o2nvb0</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_09sm0ra" messageRef="Message_0hri1uv" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:endEvent id="Event_1ayy15u" name="Complete">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># All Done!
|
||||
You have complted all of the steps! Contradulations!
|
||||
You have fully completed this process! Great Job.
|
||||
|
||||
|
||||
While this was running we set a variable called "my_message". It's value is {{my_message}}</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1o2nvb0</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:manualTask id="Activity_05vwpsn" name="Approve">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Only the approvers group shoud see this task.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1stkgzo</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0urf87u</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:scriptTask id="Activity_1rbmcsk" name="Script task after user task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># AFTER User Task</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0lqzlgr</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1stkgzo</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0lqzlgr" sourceRef="task_1" targetRef="Activity_1rbmcsk" />
|
||||
<bpmn:sequenceFlow id="Flow_1stkgzo" sourceRef="Activity_1rbmcsk" targetRef="Activity_05vwpsn" />
|
||||
</bpmn:process>
|
||||
<bpmn:correlationProperty id="interstitial_property" name="interstitial_property">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_0hri1uv">
|
||||
<bpmn:formalExpression>"start"</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:message id="Message_0hri1uv" name="interstitial_message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>x</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1gcz510">
|
||||
<bpmndi:BPMNShape id="Participant_1kfb02a_di" bpmnElement="Participant_1kfb02a" isHorizontal="true">
|
||||
<dc:Bounds x="125" y="180" width="1560" height="330" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_1fuykx3_di" bpmnElement="Lane_1fuykx3" isHorizontal="true">
|
||||
<dc:Bounds x="155" y="180" width="1530" height="200" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_121gbmd_di" bpmnElement="Lane_121gbmd" isHorizontal="true">
|
||||
<dc:Bounds x="155" y="380" width="1530" height="130" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="167" y="282" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1v8m0yx_di" bpmnElement="task_1">
|
||||
<dc:Bounds x="670" y="260" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1p7gxxy_di" bpmnElement="Activity_0fmdaxs">
|
||||
<dc:Bounds x="520" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1xfrfmn_di" bpmnElement="Activity_1g9krb1">
|
||||
<dc:Bounds x="380" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1602p3z_di" bpmnElement="A_Call_Acitvity">
|
||||
<dc:Bounds x="240" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_15zb4rp_di" bpmnElement="task_3_send_to_slack">
|
||||
<dc:Bounds x="1055" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_154mk3s_di" bpmnElement="task_4">
|
||||
<dc:Bounds x="1200" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0rvd77l_di" bpmnElement="task_5">
|
||||
<dc:Bounds x="1340" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_020vqe3_di" bpmnElement="Event_0n37ljx">
|
||||
<dc:Bounds x="1492" y="282" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1466" y="325" width="89" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1ayy15u_di" bpmnElement="Event_1ayy15u">
|
||||
<dc:Bounds x="1582" y="282" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1576" y="325" width="48" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0m2tskq_di" bpmnElement="Activity_05vwpsn">
|
||||
<dc:Bounds x="1030" y="410" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0oej1hw_di" bpmnElement="Activity_1rbmcsk">
|
||||
<dc:Bounds x="810" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0slw75o_di" bpmnElement="Flow_0slw75o">
|
||||
<di:waypoint x="1300" y="300" />
|
||||
<di:waypoint x="1340" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1kknhym_di" bpmnElement="Flow_1kknhym">
|
||||
<di:waypoint x="1440" y="300" />
|
||||
<di:waypoint x="1492" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1o2nvb0_di" bpmnElement="Flow_1o2nvb0">
|
||||
<di:waypoint x="1528" y="300" />
|
||||
<di:waypoint x="1582" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0dym8fs_di" bpmnElement="Flow_0dym8fs">
|
||||
<di:waypoint x="1155" y="300" />
|
||||
<di:waypoint x="1200" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0urf87u_di" bpmnElement="Flow_0urf87u">
|
||||
<di:waypoint x="1080" y="410" />
|
||||
<di:waypoint x="1080" y="375" />
|
||||
<di:waypoint x="1105" y="375" />
|
||||
<di:waypoint x="1105" y="340" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1hfdqj8_di" bpmnElement="Flow_1hfdqj8">
|
||||
<di:waypoint x="203" y="300" />
|
||||
<di:waypoint x="240" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jaw07d_di" bpmnElement="Flow_0jaw07d">
|
||||
<di:waypoint x="620" y="300" />
|
||||
<di:waypoint x="670" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u2t7ct_di" bpmnElement="Flow_0u2t7ct">
|
||||
<di:waypoint x="480" y="300" />
|
||||
<di:waypoint x="520" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0doornu_di" bpmnElement="Flow_0doornu">
|
||||
<di:waypoint x="340" y="300" />
|
||||
<di:waypoint x="380" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0lqzlgr_di" bpmnElement="Flow_0lqzlgr">
|
||||
<di:waypoint x="770" y="300" />
|
||||
<di:waypoint x="810" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1stkgzo_di" bpmnElement="Flow_1stkgzo">
|
||||
<di:waypoint x="910" y="300" />
|
||||
<di:waypoint x="970" y="300" />
|
||||
<di:waypoint x="970" y="450" />
|
||||
<di:waypoint x="1030" y="450" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,97 @@
|
|||
<?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="Third_Level_Process" name="Third Level" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_10ngp7e</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_10ngp7e" sourceRef="StartEvent_1" targetRef="D_Activity_Third_Level_Script" />
|
||||
<bpmn:subProcess id="E_Forth_Level_Sub_Process" name="5. Forth Level">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Level 4 - Sub Process</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0ss6sj9</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_12qnoht</bpmn:outgoing>
|
||||
<bpmn:startEvent id="Event_0j3r0le">
|
||||
<bpmn:outgoing>Flow_16uw8cm</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_16uw8cm" sourceRef="Event_0j3r0le" targetRef="F_Activity_4_level_Script" />
|
||||
<bpmn:endEvent id="Event_End_Forth_Level">
|
||||
<bpmn:incoming>Flow_0gn7twe</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0gn7twe" sourceRef="F_Activity_4_level_Script" targetRef="Event_End_Forth_Level" />
|
||||
<bpmn:scriptTask id="F_Activity_4_level_Script" name="6. Forth Level Script">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Level 4 - Script 1</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_16uw8cm</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0gn7twe</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:subProcess>
|
||||
<bpmn:sequenceFlow id="Flow_0ss6sj9" sourceRef="D_Activity_Third_Level_Script" targetRef="E_Forth_Level_Sub_Process" />
|
||||
<bpmn:scriptTask id="D_Activity_Third_Level_Script" name="4. Third Level Script">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Level 3 - Scipt 1</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_10ngp7e</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ss6sj9</bpmn:outgoing>
|
||||
<bpmn:script>time.sleep(1)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:endEvent id="Event_End_Thrid_Level">
|
||||
<bpmn:incoming>Flow_12qnoht</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_12qnoht" sourceRef="E_Forth_Level_Sub_Process" targetRef="Event_End_Thrid_Level" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Third_Level_Process">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="202" y="142" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0puxmjv_di" bpmnElement="E_Forth_Level_Sub_Process">
|
||||
<dc:Bounds x="450" y="120" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0txsbgr_di" bpmnElement="D_Activity_Third_Level_Script">
|
||||
<dc:Bounds x="300" y="120" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1j0kbol_di" bpmnElement="Event_End_Thrid_Level">
|
||||
<dc:Bounds x="602" y="142" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_10ngp7e_di" bpmnElement="Flow_10ngp7e">
|
||||
<di:waypoint x="238" y="160" />
|
||||
<di:waypoint x="300" y="160" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0ss6sj9_di" bpmnElement="Flow_0ss6sj9">
|
||||
<di:waypoint x="400" y="160" />
|
||||
<di:waypoint x="450" y="160" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_12qnoht_di" bpmnElement="Flow_12qnoht">
|
||||
<di:waypoint x="550" y="160" />
|
||||
<di:waypoint x="602" y="160" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_0y9132f">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_0k8rgyt" bpmnElement="E_Forth_Level_Sub_Process">
|
||||
<bpmndi:BPMNShape id="Event_0j3r0le_di" bpmnElement="Event_0j3r0le">
|
||||
<dc:Bounds x="312" y="162" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1sge921_di" bpmnElement="Event_End_Forth_Level">
|
||||
<dc:Bounds x="552" y="162" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1qaxgjr_di" bpmnElement="F_Activity_4_level_Script">
|
||||
<dc:Bounds x="400" y="140" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_16uw8cm_di" bpmnElement="Flow_16uw8cm">
|
||||
<di:waypoint x="348" y="180" />
|
||||
<di:waypoint x="400" y="180" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0gn7twe_di" bpmnElement="Flow_0gn7twe">
|
||||
<di:waypoint x="500" y="180" />
|
||||
<di:waypoint x="552" y="180" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Demonstrate a workflow that is kicked off with a message start event",
|
||||
"display_name": "Message Start Event",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "start_message.bpmn",
|
||||
"primary_process_id": "Process_e1zq6wb"
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
<?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_0phym66">
|
||||
<bpmn:participant id="Participant_02wc2sh" processRef="Process_e1zq6wb" />
|
||||
<bpmn:correlationKey name="participant">
|
||||
<bpmn:correlationPropertyRef>email</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_e1zq6wb" isExecutable="true">
|
||||
<bpmn:endEvent id="Event_0nn631c">
|
||||
<bpmn:incoming>Flow_0hlasr0</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:scriptTask id="Activity_13fwwbf" name="Simple Script Task">
|
||||
<bpmn:incoming>Flow_1yfzaca</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0hlasr0</bpmn:outgoing>
|
||||
<bpmn:script>x = 1</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_1yfzaca" sourceRef="StartEvent_1" targetRef="Activity_13fwwbf" />
|
||||
<bpmn:sequenceFlow id="Flow_0hlasr0" sourceRef="Activity_13fwwbf" targetRef="Event_0nn631c" />
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1yfzaca</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_0bfy03r" messageRef="start_test" />
|
||||
</bpmn:startEvent>
|
||||
</bpmn:process>
|
||||
<bpmn:message id="start_test" name="start_test">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>payload</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:correlationProperty id="email" name="email">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="start_test">
|
||||
<bpmn:formalExpression>payload.email</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0phym66">
|
||||
<bpmndi:BPMNShape id="Participant_02wc2sh_di" bpmnElement="Participant_02wc2sh" isHorizontal="true">
|
||||
<dc:Bounds x="60" y="40" width="510" height="140" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0nn631c_di" bpmnElement="Event_0nn631c">
|
||||
<dc:Bounds x="452" y="99" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1to7o28_di" bpmnElement="Activity_13fwwbf">
|
||||
<dc:Bounds x="290" y="77" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1ha1pmx_di" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="199" y="99" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1yfzaca_di" bpmnElement="Flow_1yfzaca">
|
||||
<di:waypoint x="235" y="117" />
|
||||
<di:waypoint x="290" y="117" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0hlasr0_di" bpmnElement="Flow_0hlasr0">
|
||||
<di:waypoint x="390" y="117" />
|
||||
<di:waypoint x="452" y="117" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,704 @@
|
|||
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:collaboration id="Collaboration_059pfn3">
|
||||
<bpmn:participant id="Participant_0pgewn4" processRef="Process_s7xfbti" />
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_s7xfbti" isExecutable="true">
|
||||
<bpmn:laneSet id="LaneSet_09w5rbx">
|
||||
<bpmn:lane id="Lane_0i6vm8x">
|
||||
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0h7r2xf</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1bliz64</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_1j9ksd0</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1or7z59</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0fxkugq</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_16bj0wn</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_1rz5h3e" name="Approver1">
|
||||
<bpmn:flowNodeRef>Activity_02qvs11</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_0cvlh16</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1or3epy</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1kjub5y</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0jup8rs</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0np7jlr</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_17f7tdl" name="Approver2">
|
||||
<bpmn:flowNodeRef>Activity_0649vw3</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1aisfqv</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_0vza3va</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1a53lvz</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_092hc6t</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_02y3rqp</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_1ct0nzy" name="Approver3">
|
||||
<bpmn:flowNodeRef>Activity_1vdzcey</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1mqikfu</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1pmg5mn</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0lq4h7d</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0t2z9gc</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0ht3rzf</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
</bpmn:laneSet>
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_00a8mkg</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:manualTask id="Activity_0h7r2xf" name="Start Approval">
|
||||
<bpmn:incoming>Flow_11tuj8a</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1a3uikk</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:parallelGateway id="Gateway_1bliz64">
|
||||
<bpmn:incoming>Flow_1a3uikk</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_12x4km2</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_14bzyyu</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_065h60y</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:scriptTask id="Activity_1j9ksd0" name="Set Variables & Lanes">
|
||||
<bpmn:incoming>Flow_00a8mkg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11tuj8a</bpmn:outgoing>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_069vd52">
|
||||
<bpmn:targetRef>DataObjectReference_1t4ej9y</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_0dhbsbi">
|
||||
<bpmn:targetRef>DataObjectReference_1194m91</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:script># Set inital approver state
|
||||
is_approval = {}
|
||||
is_approval["approver1"] = False
|
||||
is_approval["approver2"] = False
|
||||
is_approval["approver3"] = False
|
||||
|
||||
# Set approver count
|
||||
approval_cnt = 0
|
||||
|
||||
# Set Project Lead Lane Permission
|
||||
lane_owners = {
|
||||
"Approver1": ["nelson@spiffworkflow.org"],
|
||||
"Approver2": ["malala@spiffworkflow.org"],
|
||||
"Approver3": ["oskar@spiffworkflow.org"]
|
||||
}</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_00a8mkg" sourceRef="StartEvent_1" targetRef="Activity_1j9ksd0" />
|
||||
<bpmn:sequenceFlow id="Flow_11tuj8a" sourceRef="Activity_1j9ksd0" targetRef="Activity_0h7r2xf" />
|
||||
<bpmn:sequenceFlow id="Flow_1a3uikk" sourceRef="Activity_0h7r2xf" targetRef="Gateway_1bliz64" />
|
||||
<bpmn:sequenceFlow id="Flow_12x4km2" sourceRef="Gateway_1bliz64" targetRef="Activity_1vdzcey" />
|
||||
<bpmn:sequenceFlow id="Flow_14bzyyu" sourceRef="Gateway_1bliz64" targetRef="Activity_0649vw3" />
|
||||
<bpmn:sequenceFlow id="Flow_065h60y" sourceRef="Gateway_1bliz64" targetRef="Activity_02qvs11" />
|
||||
<bpmn:manualTask id="Activity_1vdzcey" name="Do Approver-3 Approval">
|
||||
<bpmn:incoming>Flow_12x4km2</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_069391w</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_0t2z9gc" attachedToRef="Activity_1vdzcey">
|
||||
<bpmn:outgoing>Flow_1cmqfcg</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_14trtng" signalRef="Signal_0obospb" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_069391w" sourceRef="Activity_1vdzcey" targetRef="Activity_0ht3rzf" />
|
||||
<bpmn:sequenceFlow id="Flow_00akfhi" sourceRef="Activity_0ht3rzf" targetRef="Gateway_1pmg5mn" />
|
||||
<bpmn:sequenceFlow id="Flow_1cmqfcg" sourceRef="Event_0t2z9gc" targetRef="Gateway_1mqikfu" />
|
||||
<bpmn:manualTask id="Activity_0649vw3" name="Do Approver-2 Approval">
|
||||
<bpmn:incoming>Flow_14bzyyu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1ps311c</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_092hc6t" attachedToRef="Activity_0649vw3">
|
||||
<bpmn:outgoing>Flow_1i7dm9k</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_0xe9gm2" signalRef="Signal_0obospb" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1ps311c" sourceRef="Activity_0649vw3" targetRef="Activity_02y3rqp" />
|
||||
<bpmn:sequenceFlow id="Flow_0c7ey0f" sourceRef="Activity_02y3rqp" targetRef="Gateway_1aisfqv" />
|
||||
<bpmn:sequenceFlow id="Flow_1i7dm9k" sourceRef="Event_092hc6t" targetRef="Gateway_0vza3va" />
|
||||
<bpmn:manualTask id="Activity_02qvs11" name="Do Approver-1 Approval">
|
||||
<bpmn:incoming>Flow_065h60y</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0lsgj5x</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_0jup8rs" attachedToRef="Activity_02qvs11">
|
||||
<bpmn:outgoing>Flow_09u1ht0</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_1yyjjun" signalRef="Signal_0obospb" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0lsgj5x" sourceRef="Activity_02qvs11" targetRef="Activity_0np7jlr" />
|
||||
<bpmn:sequenceFlow id="Flow_1crkrzw" sourceRef="Activity_0np7jlr" targetRef="Gateway_1or3epy" />
|
||||
<bpmn:sequenceFlow id="Flow_09u1ht0" sourceRef="Event_0jup8rs" targetRef="Gateway_0cvlh16" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1aisfqv" name="Two Approvals?" default="Flow_1upwobg">
|
||||
<bpmn:incoming>Flow_0c7ey0f</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_14snynn</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1upwobg</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_14snynn" name="Yes" sourceRef="Gateway_1aisfqv" targetRef="Event_1a53lvz">
|
||||
<bpmn:conditionExpression>gateway_approval_cnt == 2</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:exclusiveGateway id="Gateway_0vza3va">
|
||||
<bpmn:incoming>Flow_1i7dm9k</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_15f0tui</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1upwobg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_08ph8re</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_15f0tui" sourceRef="Event_1a53lvz" targetRef="Gateway_0vza3va" />
|
||||
<bpmn:intermediateThrowEvent id="Event_1a53lvz">
|
||||
<bpmn:incoming>Flow_14snynn</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_15f0tui</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_1bn82hc" signalRef="Signal_0obospb" />
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1upwobg" name="No" sourceRef="Gateway_1aisfqv" targetRef="Gateway_0vza3va" />
|
||||
<bpmn:endEvent id="Event_1or7z59">
|
||||
<bpmn:incoming>Flow_1199vyt</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:manualTask id="Activity_0fxkugq" name="Show Approvals">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>Nelson: {{ is_approval["approver1"] }}
|
||||
Malala: {{ is_approval["approver2"] }}
|
||||
Oskar: {{ is_approval["approver3"] }}
|
||||
|
||||
Approval Count: {{ approval_cnt }}
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1l44yik</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1199vyt</bpmn:outgoing>
|
||||
<bpmn:property id="Property_02r2slo" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_0atht2v">
|
||||
<bpmn:sourceRef>DataObjectReference_0v1o873</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_02r2slo</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1ckscck">
|
||||
<bpmn:sourceRef>DataObjectReference_1e9dqri</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_02r2slo</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:parallelGateway id="Gateway_16bj0wn">
|
||||
<bpmn:incoming>Flow_08ph8re</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0fb9qhu</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_058zuib</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1l44yik</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:sequenceFlow id="Flow_1199vyt" sourceRef="Activity_0fxkugq" targetRef="Event_1or7z59" />
|
||||
<bpmn:sequenceFlow id="Flow_1l44yik" sourceRef="Gateway_16bj0wn" targetRef="Activity_0fxkugq" />
|
||||
<bpmn:sequenceFlow id="Flow_08ph8re" sourceRef="Gateway_0vza3va" targetRef="Gateway_16bj0wn" />
|
||||
<bpmn:exclusiveGateway id="Gateway_0cvlh16">
|
||||
<bpmn:incoming>Flow_09u1ht0</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_11jlqmr</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0we4l20</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0fb9qhu</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:exclusiveGateway id="Gateway_1or3epy" name="Two Approvals?" default="Flow_0we4l20">
|
||||
<bpmn:incoming>Flow_1crkrzw</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_064emnu</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0we4l20</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_064emnu" name="Yes" sourceRef="Gateway_1or3epy" targetRef="Event_1kjub5y">
|
||||
<bpmn:conditionExpression>gateway_approval_cnt == 2</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_11jlqmr" sourceRef="Event_1kjub5y" targetRef="Gateway_0cvlh16" />
|
||||
<bpmn:intermediateThrowEvent id="Event_1kjub5y">
|
||||
<bpmn:incoming>Flow_064emnu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11jlqmr</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_1xxgpl7" signalRef="Signal_0obospb" />
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0we4l20" name="No" sourceRef="Gateway_1or3epy" targetRef="Gateway_0cvlh16" />
|
||||
<bpmn:sequenceFlow id="Flow_0fb9qhu" sourceRef="Gateway_0cvlh16" targetRef="Gateway_16bj0wn" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1mqikfu">
|
||||
<bpmn:incoming>Flow_1cmqfcg</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_12nx960</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1ibvb14</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_058zuib</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:exclusiveGateway id="Gateway_1pmg5mn" name="Two Approvals?" default="Flow_1ibvb14">
|
||||
<bpmn:incoming>Flow_00akfhi</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0h5nhqk</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1ibvb14</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0h5nhqk" name="Yes" sourceRef="Gateway_1pmg5mn" targetRef="Event_0lq4h7d">
|
||||
<bpmn:conditionExpression>gateway_approval_cnt == 2</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_12nx960" sourceRef="Event_0lq4h7d" targetRef="Gateway_1mqikfu" />
|
||||
<bpmn:intermediateThrowEvent id="Event_0lq4h7d">
|
||||
<bpmn:incoming>Flow_0h5nhqk</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_12nx960</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_0wrivit" signalRef="Signal_0obospb" />
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1ibvb14" name="No" sourceRef="Gateway_1pmg5mn" targetRef="Gateway_1mqikfu" />
|
||||
<bpmn:sequenceFlow id="Flow_058zuib" sourceRef="Gateway_1mqikfu" targetRef="Gateway_16bj0wn" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1t4ej9y" name="Approval Cnt" dataObjectRef="approval_cnt" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1194m91" name="Is Approval" dataObjectRef="is_approval" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1r531et" name="Approval Cnt" dataObjectRef="approval_cnt" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0pcv4xh" name="Is Approval" dataObjectRef="is_approval" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1fwlns1" name="Is Approval" dataObjectRef="is_approval" />
|
||||
<bpmn:scriptTask id="Activity_0ht3rzf" name="Set Lead Approval">
|
||||
<bpmn:incoming>Flow_069391w</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_00akfhi</bpmn:outgoing>
|
||||
<bpmn:property id="Property_0u2y5m5" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1ujv32m">
|
||||
<bpmn:sourceRef>DataObjectReference_10v9kb5</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0u2y5m5</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_05os2ab">
|
||||
<bpmn:sourceRef>DataObjectReference_1fwlns1</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0u2y5m5</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_17bvaeq">
|
||||
<bpmn:targetRef>DataObjectReference_10v9kb5</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_1w4ee8t">
|
||||
<bpmn:targetRef>DataObjectReference_1fwlns1</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:script># Increment approval count
|
||||
approval_cnt = approval_cnt + 1
|
||||
|
||||
# Set Exclusive Gateway variable
|
||||
gateway_approval_cnt = approval_cnt
|
||||
|
||||
# Update approver state
|
||||
is_approval["approver3"] = True</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:scriptTask id="Activity_02y3rqp" name="Set Fin Approval">
|
||||
<bpmn:incoming>Flow_1ps311c</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0c7ey0f</bpmn:outgoing>
|
||||
<bpmn:property id="Property_0nkwrt1" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_12lsybg">
|
||||
<bpmn:sourceRef>DataObjectReference_1r531et</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0nkwrt1</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1ol9wmq">
|
||||
<bpmn:sourceRef>DataObjectReference_0pcv4xh</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0nkwrt1</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_0kkqybu">
|
||||
<bpmn:targetRef>DataObjectReference_1r531et</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_0xqkeq4">
|
||||
<bpmn:targetRef>DataObjectReference_0pcv4xh</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:script># Increment approval count
|
||||
approval_cnt = approval_cnt + 1
|
||||
|
||||
# Set Exclusive Gateway variable
|
||||
gateway_approval_cnt = approval_cnt
|
||||
|
||||
# Update approver state
|
||||
is_approval["approver2"] = True</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:scriptTask id="Activity_0np7jlr" name="Set Core Approval">
|
||||
<bpmn:incoming>Flow_0lsgj5x</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1crkrzw</bpmn:outgoing>
|
||||
<bpmn:property id="Property_0qx3k9r" name="__targetRef_placeholder" />
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1nl5d0v">
|
||||
<bpmn:sourceRef>DataObjectReference_16tbebh</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0qx3k9r</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataInputAssociation id="DataInputAssociation_1wd16mn">
|
||||
<bpmn:sourceRef>DataObjectReference_0as5g1t</bpmn:sourceRef>
|
||||
<bpmn:targetRef>Property_0qx3k9r</bpmn:targetRef>
|
||||
</bpmn:dataInputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_1kg2e1u">
|
||||
<bpmn:targetRef>DataObjectReference_16tbebh</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_0yuejgz">
|
||||
<bpmn:targetRef>DataObjectReference_0as5g1t</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
<bpmn:script># Increment approval count
|
||||
approval_cnt = approval_cnt + 1
|
||||
|
||||
# Set Exclusive Gateway variable
|
||||
gateway_approval_cnt = approval_cnt
|
||||
|
||||
# Update approver state
|
||||
is_approval["approver1"] = True</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0as5g1t" name="Is Approval" dataObjectRef="is_approval" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_16tbebh" name="Approval Cnt" dataObjectRef="approval_cnt" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_10v9kb5" name="Approval Cnt" dataObjectRef="approval_cnt" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0v1o873" name="Is Approval" dataObjectRef="is_approval" />
|
||||
<bpmn:dataObject id="is_approval" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1e9dqri" name="Approval Cnt" dataObjectRef="approval_cnt" />
|
||||
<bpmn:dataObject id="approval_cnt" />
|
||||
</bpmn:process>
|
||||
<bpmn:signal id="Signal_352nsp4" name="Approver-1" />
|
||||
<bpmn:signal id="Signal_2uo4te4" name="Approver-2" />
|
||||
<bpmn:signal id="Signal_301r46t" name="Approver-3" />
|
||||
<bpmn:signal id="Signal_0obospb" name="Cancel" />
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_059pfn3">
|
||||
<bpmndi:BPMNShape id="Participant_0pgewn4_di" bpmnElement="Participant_0pgewn4" isHorizontal="true">
|
||||
<dc:Bounds x="15" y="120" width="1535" height="1170" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_1ct0nzy_di" bpmnElement="Lane_1ct0nzy" isHorizontal="true">
|
||||
<dc:Bounds x="45" y="990" width="1505" height="300" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_17f7tdl_di" bpmnElement="Lane_17f7tdl" isHorizontal="true">
|
||||
<dc:Bounds x="45" y="700" width="1505" height="290" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_1rz5h3e_di" bpmnElement="Lane_1rz5h3e" isHorizontal="true">
|
||||
<dc:Bounds x="45" y="377" width="1505" height="323" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Lane_0i6vm8x_di" bpmnElement="Lane_0i6vm8x" isHorizontal="true">
|
||||
<dc:Bounds x="45" y="120" width="1505" height="257" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="65" y="189" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0erb1j2_di" bpmnElement="Activity_0h7r2xf">
|
||||
<dc:Bounds x="296" y="167" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0kyojdh_di" bpmnElement="Gateway_1bliz64">
|
||||
<dc:Bounds x="455" y="182" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_07uda32_di" bpmnElement="Activity_1j9ksd0">
|
||||
<dc:Bounds x="140" y="167" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0dxx0cd_di" bpmnElement="Activity_1vdzcey">
|
||||
<dc:Bounds x="540" y="1150" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1xuyzx6_di" bpmnElement="Activity_0649vw3">
|
||||
<dc:Bounds x="540" y="840" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_090rnlx_di" bpmnElement="Activity_02qvs11">
|
||||
<dc:Bounds x="540" y="550" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1aisfqv_di" bpmnElement="Gateway_1aisfqv" isMarkerVisible="true">
|
||||
<dc:Bounds x="835" y="855" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="822" y="912" width="78" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0vza3va_di" bpmnElement="Gateway_0vza3va" isMarkerVisible="true">
|
||||
<dc:Bounds x="1075" y="855" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_00og2tm_di" bpmnElement="Event_1a53lvz">
|
||||
<dc:Bounds x="952" y="862" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1or7z59_di" bpmnElement="Event_1or7z59">
|
||||
<dc:Bounds x="1442" y="189" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1qlt3e7_di" bpmnElement="Activity_0fxkugq">
|
||||
<dc:Bounds x="1290" y="167" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_16m9sys_di" bpmnElement="Gateway_16bj0wn">
|
||||
<dc:Bounds x="1185" y="182" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0cvlh16_di" bpmnElement="Gateway_0cvlh16" isMarkerVisible="true">
|
||||
<dc:Bounds x="1075" y="565" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1or3epy_di" bpmnElement="Gateway_1or3epy" isMarkerVisible="true">
|
||||
<dc:Bounds x="835" y="565" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="822" y="622" width="78" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_11swxzg_di" bpmnElement="Event_1kjub5y">
|
||||
<dc:Bounds x="952" y="572" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1mqikfu_di" bpmnElement="Gateway_1mqikfu" isMarkerVisible="true">
|
||||
<dc:Bounds x="1075" y="1165" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1pmg5mn_di" bpmnElement="Gateway_1pmg5mn" isMarkerVisible="true">
|
||||
<dc:Bounds x="835" y="1165" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="822" y="1222" width="78" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0902wkh_di" bpmnElement="Event_0lq4h7d">
|
||||
<dc:Bounds x="952" y="1172" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1t4ej9y_di" bpmnElement="DataObjectReference_1t4ej9y">
|
||||
<dc:Bounds x="122" y="285" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="108" y="342" width="65" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1194m91_di" bpmnElement="DataObjectReference_1194m91">
|
||||
<dc:Bounds x="202" y="285" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="193" y="342" width="55" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1r531et_di" bpmnElement="DataObjectReference_1r531et">
|
||||
<dc:Bounds x="652" y="745" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="638" y="721" width="64" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_0pcv4xh_di" bpmnElement="DataObjectReference_0pcv4xh">
|
||||
<dc:Bounds x="752" y="745" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="742" y="721" width="55" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1fwlns1_di" bpmnElement="DataObjectReference_1fwlns1">
|
||||
<dc:Bounds x="752" y="1045" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="742" y="1021" width="55" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0k2oe3t_di" bpmnElement="Activity_0ht3rzf">
|
||||
<dc:Bounds x="680" y="1150" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0v1o7ol_di" bpmnElement="Activity_02y3rqp">
|
||||
<dc:Bounds x="690" y="840" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1fc1mt6_di" bpmnElement="Activity_0np7jlr">
|
||||
<dc:Bounds x="680" y="550" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_0as5g1t_di" bpmnElement="DataObjectReference_0as5g1t">
|
||||
<dc:Bounds x="752" y="445" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="742" y="423" width="55" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_16tbebh_di" bpmnElement="DataObjectReference_16tbebh">
|
||||
<dc:Bounds x="652" y="445" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="638" y="423" width="65" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_10v9kb5_di" bpmnElement="DataObjectReference_10v9kb5">
|
||||
<dc:Bounds x="662" y="1045" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="648" y="1021" width="65" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_0v1o873_di" bpmnElement="DataObjectReference_0v1o873">
|
||||
<dc:Bounds x="1292" y="285" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1283" y="342" width="55" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1e9dqri_di" bpmnElement="DataObjectReference_1e9dqri">
|
||||
<dc:Bounds x="1372" y="285" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1358" y="342" width="65" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0ta91uv_di" bpmnElement="Event_0jup8rs">
|
||||
<dc:Bounds x="592" y="612" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0nmakwh_di" bpmnElement="Event_092hc6t">
|
||||
<dc:Bounds x="592" y="902" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_142fu88_di" bpmnElement="Event_0t2z9gc">
|
||||
<dc:Bounds x="592" y="1212" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_00a8mkg_di" bpmnElement="Flow_00a8mkg">
|
||||
<di:waypoint x="101" y="207" />
|
||||
<di:waypoint x="140" y="207" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11tuj8a_di" bpmnElement="Flow_11tuj8a">
|
||||
<di:waypoint x="240" y="207" />
|
||||
<di:waypoint x="296" y="207" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1a3uikk_di" bpmnElement="Flow_1a3uikk">
|
||||
<di:waypoint x="396" y="207" />
|
||||
<di:waypoint x="455" y="207" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_12x4km2_di" bpmnElement="Flow_12x4km2">
|
||||
<di:waypoint x="480" y="232" />
|
||||
<di:waypoint x="480" y="1190" />
|
||||
<di:waypoint x="540" y="1190" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_14bzyyu_di" bpmnElement="Flow_14bzyyu">
|
||||
<di:waypoint x="480" y="232" />
|
||||
<di:waypoint x="480" y="880" />
|
||||
<di:waypoint x="540" y="880" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_065h60y_di" bpmnElement="Flow_065h60y">
|
||||
<di:waypoint x="480" y="232" />
|
||||
<di:waypoint x="480" y="590" />
|
||||
<di:waypoint x="540" y="590" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_069391w_di" bpmnElement="Flow_069391w">
|
||||
<di:waypoint x="640" y="1190" />
|
||||
<di:waypoint x="680" y="1190" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_00akfhi_di" bpmnElement="Flow_00akfhi">
|
||||
<di:waypoint x="780" y="1190" />
|
||||
<di:waypoint x="835" y="1190" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1cmqfcg_di" bpmnElement="Flow_1cmqfcg">
|
||||
<di:waypoint x="610" y="1248" />
|
||||
<di:waypoint x="610" y="1268" />
|
||||
<di:waypoint x="1100" y="1268" />
|
||||
<di:waypoint x="1100" y="1215" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ps311c_di" bpmnElement="Flow_1ps311c">
|
||||
<di:waypoint x="640" y="880" />
|
||||
<di:waypoint x="690" y="880" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0c7ey0f_di" bpmnElement="Flow_0c7ey0f">
|
||||
<di:waypoint x="790" y="880" />
|
||||
<di:waypoint x="835" y="880" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1i7dm9k_di" bpmnElement="Flow_1i7dm9k">
|
||||
<di:waypoint x="610" y="938" />
|
||||
<di:waypoint x="610" y="958" />
|
||||
<di:waypoint x="1100" y="958" />
|
||||
<di:waypoint x="1100" y="905" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0lsgj5x_di" bpmnElement="Flow_0lsgj5x">
|
||||
<di:waypoint x="640" y="590" />
|
||||
<di:waypoint x="680" y="590" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1crkrzw_di" bpmnElement="Flow_1crkrzw">
|
||||
<di:waypoint x="780" y="590" />
|
||||
<di:waypoint x="835" y="590" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_09u1ht0_di" bpmnElement="Flow_09u1ht0">
|
||||
<di:waypoint x="610" y="648" />
|
||||
<di:waypoint x="610" y="668" />
|
||||
<di:waypoint x="1100" y="668" />
|
||||
<di:waypoint x="1100" y="615" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_14snynn_di" bpmnElement="Flow_14snynn">
|
||||
<di:waypoint x="885" y="880" />
|
||||
<di:waypoint x="952" y="880" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="910" y="862" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_15f0tui_di" bpmnElement="Flow_15f0tui">
|
||||
<di:waypoint x="988" y="880" />
|
||||
<di:waypoint x="1075" y="880" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1upwobg_di" bpmnElement="Flow_1upwobg">
|
||||
<di:waypoint x="860" y="855" />
|
||||
<di:waypoint x="860" y="810" />
|
||||
<di:waypoint x="1100" y="810" />
|
||||
<di:waypoint x="1100" y="855" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="973" y="792" width="15" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1199vyt_di" bpmnElement="Flow_1199vyt">
|
||||
<di:waypoint x="1390" y="207" />
|
||||
<di:waypoint x="1442" y="207" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1l44yik_di" bpmnElement="Flow_1l44yik">
|
||||
<di:waypoint x="1235" y="207" />
|
||||
<di:waypoint x="1290" y="207" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_08ph8re_di" bpmnElement="Flow_08ph8re">
|
||||
<di:waypoint x="1125" y="880" />
|
||||
<di:waypoint x="1210" y="880" />
|
||||
<di:waypoint x="1210" y="232" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_064emnu_di" bpmnElement="Flow_064emnu">
|
||||
<di:waypoint x="885" y="590" />
|
||||
<di:waypoint x="952" y="590" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="910" y="572" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11jlqmr_di" bpmnElement="Flow_11jlqmr">
|
||||
<di:waypoint x="988" y="590" />
|
||||
<di:waypoint x="1075" y="590" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0we4l20_di" bpmnElement="Flow_0we4l20">
|
||||
<di:waypoint x="860" y="565" />
|
||||
<di:waypoint x="860" y="520" />
|
||||
<di:waypoint x="1100" y="520" />
|
||||
<di:waypoint x="1100" y="565" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="973" y="502" width="15" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0fb9qhu_di" bpmnElement="Flow_0fb9qhu">
|
||||
<di:waypoint x="1125" y="590" />
|
||||
<di:waypoint x="1210" y="590" />
|
||||
<di:waypoint x="1210" y="232" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0h5nhqk_di" bpmnElement="Flow_0h5nhqk">
|
||||
<di:waypoint x="885" y="1190" />
|
||||
<di:waypoint x="952" y="1190" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="910" y="1172" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_12nx960_di" bpmnElement="Flow_12nx960">
|
||||
<di:waypoint x="988" y="1190" />
|
||||
<di:waypoint x="1075" y="1190" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ibvb14_di" bpmnElement="Flow_1ibvb14">
|
||||
<di:waypoint x="860" y="1165" />
|
||||
<di:waypoint x="860" y="1120" />
|
||||
<di:waypoint x="1100" y="1120" />
|
||||
<di:waypoint x="1100" y="1165" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="973" y="1102" width="15" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_058zuib_di" bpmnElement="Flow_058zuib">
|
||||
<di:waypoint x="1125" y="1190" />
|
||||
<di:waypoint x="1210" y="1190" />
|
||||
<di:waypoint x="1210" y="232" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_069vd52_di" bpmnElement="DataOutputAssociation_069vd52">
|
||||
<di:waypoint x="169" y="247" />
|
||||
<di:waypoint x="150" y="285" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_0dhbsbi_di" bpmnElement="DataOutputAssociation_0dhbsbi">
|
||||
<di:waypoint x="202" y="247" />
|
||||
<di:waypoint x="214" y="285" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_0atht2v_di" bpmnElement="DataInputAssociation_0atht2v">
|
||||
<di:waypoint x="1323" y="285" />
|
||||
<di:waypoint x="1340" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_1ckscck_di" bpmnElement="DataInputAssociation_1ckscck">
|
||||
<di:waypoint x="1373" y="285" />
|
||||
<di:waypoint x="1350" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_1ujv32m_di" bpmnElement="DataInputAssociation_1ujv32m">
|
||||
<di:waypoint x="684" y="1095" />
|
||||
<di:waypoint x="690" y="1150" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_05os2ab_di" bpmnElement="DataInputAssociation_05os2ab">
|
||||
<di:waypoint x="758" y="1095" />
|
||||
<di:waypoint x="733" y="1150" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_17bvaeq_di" bpmnElement="DataOutputAssociation_17bvaeq">
|
||||
<di:waypoint x="720" y="1150" />
|
||||
<di:waypoint x="693" y="1095" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_1w4ee8t_di" bpmnElement="DataOutputAssociation_1w4ee8t">
|
||||
<di:waypoint x="756" y="1150" />
|
||||
<di:waypoint x="768" y="1095" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_12lsybg_di" bpmnElement="DataInputAssociation_12lsybg">
|
||||
<di:waypoint x="678" y="795" />
|
||||
<di:waypoint x="693" y="844" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_1ol9wmq_di" bpmnElement="DataInputAssociation_1ol9wmq">
|
||||
<di:waypoint x="761" y="795" />
|
||||
<di:waypoint x="744" y="840" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_0kkqybu_di" bpmnElement="DataOutputAssociation_0kkqybu">
|
||||
<di:waypoint x="713" y="840" />
|
||||
<di:waypoint x="684" y="795" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_0xqkeq4_di" bpmnElement="DataOutputAssociation_0xqkeq4">
|
||||
<di:waypoint x="768" y="840" />
|
||||
<di:waypoint x="768" y="795" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_1nl5d0v_di" bpmnElement="DataInputAssociation_1nl5d0v">
|
||||
<di:waypoint x="678" y="495" />
|
||||
<di:waypoint x="694" y="550" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataInputAssociation_1wd16mn_di" bpmnElement="DataInputAssociation_1wd16mn">
|
||||
<di:waypoint x="759" y="495" />
|
||||
<di:waypoint x="733" y="550" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_1kg2e1u_di" bpmnElement="DataOutputAssociation_1kg2e1u">
|
||||
<di:waypoint x="717" y="550" />
|
||||
<di:waypoint x="685" y="495" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_0yuejgz_di" bpmnElement="DataOutputAssociation_0yuejgz">
|
||||
<di:waypoint x="757" y="550" />
|
||||
<di:waypoint x="765" y="495" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Felix \u2014 Today at 4:10 AM hey all, I am designing an approval process using spiff-workflow, a multi instances user task has 3 assignees, the task should complete if more than 2 users approve. Is SpiffWorkflow able to do this?",
|
||||
"display_name": "Parallel Approval",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "parallel_approvals.bpmn",
|
||||
"primary_process_id": "Process_s7xfbti"
|
||||
}
|
|
@ -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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:process id="Process_o51p9x8" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1paria1</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1paria1" sourceRef="StartEvent_1" targetRef="Gateway_0kqayxt" />
|
||||
<bpmn:parallelGateway id="Gateway_0kqayxt">
|
||||
<bpmn:incoming>Flow_1paria1</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0lcc4oa</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0sz2dai</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0lcc4oa" sourceRef="Gateway_0kqayxt" targetRef="Activity_1uxkaqg" />
|
||||
<bpmn:sequenceFlow id="Flow_0sz2dai" sourceRef="Gateway_0kqayxt" targetRef="Activity_0jq6ozs" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1qyd1z6">
|
||||
<bpmn:incoming>Flow_0gdh3fb</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0m87nwj</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_04ve6cj</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0gdh3fb" sourceRef="Activity_0jq6ozs" targetRef="Gateway_1qyd1z6" />
|
||||
<bpmn:sequenceFlow id="Flow_0m87nwj" sourceRef="Activity_1uxkaqg" targetRef="Gateway_1qyd1z6" />
|
||||
<bpmn:endEvent id="Event_0znu8jo">
|
||||
<bpmn:incoming>Flow_04ve6cj</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_04ve6cj" sourceRef="Gateway_1qyd1z6" targetRef="Event_0znu8jo" />
|
||||
<bpmn:manualTask id="Activity_1uxkaqg" name="Task 1">
|
||||
<bpmn:incoming>Flow_0lcc4oa</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0m87nwj</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:manualTask id="Activity_0jq6ozs" name="Task 2">
|
||||
<bpmn:incoming>Flow_0sz2dai</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0gdh3fb</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_o51p9x8">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0znh33z_di" bpmnElement="Gateway_0kqayxt">
|
||||
<dc:Bounds x="265" y="152" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1qyd1z6_di" bpmnElement="Gateway_1qyd1z6" isMarkerVisible="true">
|
||||
<dc:Bounds x="525" y="265" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0znu8jo_di" bpmnElement="Event_0znu8jo">
|
||||
<dc:Bounds x="632" y="272" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0ud8kqk_di" bpmnElement="Activity_1uxkaqg">
|
||||
<dc:Bounds x="370" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_18ghnvl_di" bpmnElement="Activity_0jq6ozs">
|
||||
<dc:Bounds x="370" y="250" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1paria1_di" bpmnElement="Flow_1paria1">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="265" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0lcc4oa_di" bpmnElement="Flow_0lcc4oa">
|
||||
<di:waypoint x="315" y="177" />
|
||||
<di:waypoint x="370" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0sz2dai_di" bpmnElement="Flow_0sz2dai">
|
||||
<di:waypoint x="290" y="202" />
|
||||
<di:waypoint x="290" y="290" />
|
||||
<di:waypoint x="370" y="290" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0gdh3fb_di" bpmnElement="Flow_0gdh3fb">
|
||||
<di:waypoint x="470" y="290" />
|
||||
<di:waypoint x="525" y="290" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0m87nwj_di" bpmnElement="Flow_0m87nwj">
|
||||
<di:waypoint x="470" y="177" />
|
||||
<di:waypoint x="550" y="177" />
|
||||
<di:waypoint x="550" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_04ve6cj_di" bpmnElement="Flow_04ve6cj">
|
||||
<di:waypoint x="575" y="290" />
|
||||
<di:waypoint x="632" y="290" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Shows how you can collect information from multiple forms in parallel. It actually uses manual tasks but the same concept applies to user tasks.",
|
||||
"display_name": "Parallel Forms",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "parallel_forms.bpmn",
|
||||
"primary_process_id": "Process_o51p9x8"
|
||||
}
|
|
@ -0,0 +1,489 @@
|
|||
{
|
||||
"admin": false,
|
||||
"description": "Examples that may eventually be for public consumption. Feel free to promote these.",
|
||||
"display_name": "Examples",
|
||||
"display_order": 1,
|
||||
"parent_groups": null,
|
||||
"process_groups": [],
|
||||
"process_models": [
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Examine behaviors and edge cases around pausing, rewinding, editing, and resuming a process.",
|
||||
"display_name": "Admin Pause, Edit, and Continue Features",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/admin-pause-edit-and-continue-features",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "admin_tools_test.bpmn",
|
||||
"primary_process_id": "Process_Admin_Tools_Test",
|
||||
"process_group": null,
|
||||
"sort_index": "example/admin-pause-edit-and-continue-features"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Approvals",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/approvals",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "Approval Process Proposal.bpmn",
|
||||
"primary_process_id": "Process_0fb2oio",
|
||||
"process_group": null,
|
||||
"sort_index": "example/approvals"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Call Activities with Data Inputs",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/call-activities-with-data-inputs",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "main.bpmn",
|
||||
"primary_process_id": "resp_XeroCurrencies",
|
||||
"process_group": null,
|
||||
"sort_index": "example/call-activities-with-data-inputs"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "dateform",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/dateform",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "date.bpmn",
|
||||
"primary_process_id": "Process_oan02mu",
|
||||
"process_group": null,
|
||||
"sort_index": "example/dateform"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Dropdown",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/dropdown",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "hey.bpmn",
|
||||
"primary_process_id": "Process_l04ij5k",
|
||||
"process_group": null,
|
||||
"sort_index": "example/dropdown"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Demonstrates how additional buttons can be added to User and Manual Tasks using Interrupting Signal Events.",
|
||||
"display_name": "Event Buttons",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/event-buttons",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "call_activity.bpmn",
|
||||
"primary_process_id": "Process_mo96zij",
|
||||
"process_group": null,
|
||||
"sort_index": "example/event-buttons"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Show how to include a basic decision in a process",
|
||||
"display_name": "Example Decision",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/example-decision",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "decision_example.bpmn",
|
||||
"primary_process_id": "Process_5bmdbcp",
|
||||
"process_group": null,
|
||||
"sort_index": "example/example-decision"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Send a message to slack",
|
||||
"display_name": "Example Service Call",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/example-service-call",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "slack_message.bpmn",
|
||||
"primary_process_id": "Process_59yn9gr",
|
||||
"process_group": null,
|
||||
"sort_index": "example/example-service-call"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Enhanced Hello World example",
|
||||
"display_name": "Hello BPMN World",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/hello-bpmn-world",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "hello-bpmn-world.bpmn",
|
||||
"primary_process_id": "Hello_BPMN_World",
|
||||
"process_group": null,
|
||||
"sort_index": "example/hello-bpmn-world"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "My first diagram",
|
||||
"display_name": "Hello World",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/hello-world",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "hello-world.bpmn",
|
||||
"primary_process_id": "Process_7kik021",
|
||||
"process_group": null,
|
||||
"sort_index": "example/hello-world"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Sends a message to allow a process to continue.",
|
||||
"display_name": "Interstitial Message Sender",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/interstitial-example",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "example.bpmn",
|
||||
"primary_process_id": "Process_15z0wpx",
|
||||
"process_group": null,
|
||||
"sort_index": "example/interstitial-example"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Interstitial Page Test",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/interstitial-page-test",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "test_interstitial.bpmn",
|
||||
"primary_process_id": "Process_y37j6hy",
|
||||
"process_group": null,
|
||||
"sort_index": "example/interstitial-page-test"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "An Example of a Lane",
|
||||
"display_name": "lanes",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/lanes",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "my_vacation.bpmn",
|
||||
"primary_process_id": "Process_9wllce2",
|
||||
"process_group": null,
|
||||
"sort_index": "example/lanes"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Demonstrate a workflow that is kicked off with a message start event",
|
||||
"display_name": "Message Start Event",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/message-start-event",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "start_message.bpmn",
|
||||
"primary_process_id": "Process_e1zq6wb",
|
||||
"process_group": null,
|
||||
"sort_index": "example/message-start-event"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Felix \u2014 Today at 4:10 AM hey all, I am designing an approval process using spiff-workflow, a multi instances user task has 3 assignees, the task should complete if more than 2 users approve. Is SpiffWorkflow able to do this?",
|
||||
"display_name": "Parallel Approval",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/multi-instance-approval",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "parallel_approvals.bpmn",
|
||||
"primary_process_id": "Process_s7xfbti",
|
||||
"process_group": null,
|
||||
"sort_index": "example/multi-instance-approval"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Parallel Forms",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/parallel-forms",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "parallel_forms.bpmn",
|
||||
"primary_process_id": "Process_o51p9x8",
|
||||
"process_group": null,
|
||||
"sort_index": "example/parallel-forms"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Testing Receive message",
|
||||
"display_name": "Receive Message",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/receive-message",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": null,
|
||||
"primary_process_id": null,
|
||||
"process_group": null,
|
||||
"sort_index": "example/receive-message"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "How to do a repeating form",
|
||||
"display_name": "Repeating Form",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/repeating-form",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "default.bpmn",
|
||||
"primary_process_id": "Process_pmt4oev",
|
||||
"process_group": null,
|
||||
"sort_index": "example/repeating-form"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Runy Workflow",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/runy-workflow",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": null,
|
||||
"primary_process_id": null,
|
||||
"process_group": null,
|
||||
"sort_index": "example/runy-workflow"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Sends a message to a difference process model",
|
||||
"display_name": "Send A Message",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/send-a-message",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "message_sender.bpmn",
|
||||
"primary_process_id": "message_send_process",
|
||||
"process_group": null,
|
||||
"sort_index": "example/send-a-message"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Counterpart to Send A Message process that starts, and the responds to the same conversation",
|
||||
"display_name": "Send A Message (receive and respond)",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/send-a-message-receive-and-respond",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "message_receiver.bpmn",
|
||||
"primary_process_id": "message_receiver_process",
|
||||
"process_group": null,
|
||||
"sort_index": "example/send-a-message-receive-and-respond"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Signal Event Button",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/signal-event-button",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "signal_event_button.bpmn",
|
||||
"primary_process_id": "Process_Signal_Button_Test",
|
||||
"process_group": null,
|
||||
"sort_index": "example/signal-event-button"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "example onboarding process for a user",
|
||||
"display_name": "Signup Process",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [
|
||||
"phillana@sartography.com"
|
||||
],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/signup-process",
|
||||
"metadata_extraction_paths": [],
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "signupCustomer.bpmn",
|
||||
"primary_process_id": "Process_signupCustomer",
|
||||
"process_group": null,
|
||||
"sort_index": "example/signup-process"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "test",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/test",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "test.bpmn",
|
||||
"primary_process_id": "Process_lvle734",
|
||||
"process_group": null,
|
||||
"sort_index": "example/test"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Check to see that we move back to the top of the page when we encounter an error or move between very long pages. ",
|
||||
"display_name": "Test Very Long Pages",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/test-very-long-pages",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "long pages.bpmn",
|
||||
"primary_process_id": "Process_sv3gl14",
|
||||
"process_group": null,
|
||||
"sort_index": "example/test-very-long-pages"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Details on peoples vacation habits",
|
||||
"display_name": "Vacation Information",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/vacation-information",
|
||||
"metadata_extraction_paths": [
|
||||
{
|
||||
"key": "location",
|
||||
"path": "location"
|
||||
},
|
||||
{
|
||||
"key": "season",
|
||||
"path": "season"
|
||||
},
|
||||
{
|
||||
"key": "activities",
|
||||
"path": "activities"
|
||||
}
|
||||
],
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "vacation.bpmn",
|
||||
"primary_process_id": "Process_3iqzgmz",
|
||||
"process_group": null,
|
||||
"sort_index": "example/vacation-information"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "Example of waiting for a message",
|
||||
"display_name": "Wait For Message",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/wait-for-message",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "wait_for_go.bpmn",
|
||||
"primary_process_id": "Process_ez6kgib",
|
||||
"process_group": null,
|
||||
"sort_index": "example/wait-for-message"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "with-milestones",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/with-milestones",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "a.bpmn",
|
||||
"primary_process_id": "Milestone_related_process",
|
||||
"process_group": null,
|
||||
"sort_index": "example/with-milestones"
|
||||
},
|
||||
{
|
||||
"bpmn_version_control_identifier": null,
|
||||
"description": "",
|
||||
"display_name": "Working w/ Eitan ",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"id": "example/working-w-eitan",
|
||||
"metadata_extraction_paths": null,
|
||||
"parent_groups": null,
|
||||
"primary_file_name": "most_simple.bpmn",
|
||||
"primary_process_id": "Process_a7i9gwh",
|
||||
"process_group": null,
|
||||
"sort_index": "example/working-w-eitan"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Testing Receive message",
|
||||
"display_name": "Receive Message",
|
||||
"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
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
<?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_pmt4oev" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1rfcibe</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1rfcibe" sourceRef="StartEvent_1" targetRef="Activity_199y8xr" />
|
||||
<bpmn:endEvent id="Event_10ys5gb">
|
||||
<bpmn:incoming>Flow_1wsnj6h</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1wsnj6h" sourceRef="Activity_199y8xr" targetRef="Event_10ys5gb" />
|
||||
<bpmn:userTask id="Activity_199y8xr">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="repeat_schema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1rfcibe</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1wsnj6h</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_pmt4oev">
|
||||
<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_10ys5gb_di" bpmnElement="Event_10ys5gb">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1ra7m1o_di" bpmnElement="Activity_199y8xr">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1rfcibe_di" bpmnElement="Flow_1rfcibe">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1wsnj6h_di" bpmnElement="Flow_1wsnj6h">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "How to do a repeating form",
|
||||
"display_name": "Repeating Form",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "default.bpmn",
|
||||
"primary_process_id": "Process_pmt4oev"
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"title": "A list of tasks",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"title": "Task list title"
|
||||
},
|
||||
"tasks": {
|
||||
"type": "array",
|
||||
"title": "Tasks",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"title": "Title",
|
||||
"description": "A sample title"
|
||||
},
|
||||
"details": {
|
||||
"type": "string",
|
||||
"title": "Task details",
|
||||
"description": "Enter the task details"
|
||||
},
|
||||
"done": {
|
||||
"type": "boolean",
|
||||
"title": "Done?",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
<?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_0oye1os" messages="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]">
|
||||
<bpmn:participant id="message_receiver" name="Message Receiver (invoice approver)" processRef="message_receiver_process" />
|
||||
<bpmn:participant id="message_sender" name="Message Sender" />
|
||||
<bpmn:messageFlow id="message_send_flow" name="Message Send Flow" sourceRef="message_sender" targetRef="receive_message" />
|
||||
<bpmn:messageFlow id="Flow_0ds946g" sourceRef="send_message_response" targetRef="message_sender" />
|
||||
<bpmn:correlationKey name="invoice">
|
||||
<bpmn:correlationPropertyRef>customer_id</bpmn:correlationPropertyRef>
|
||||
<bpmn:correlationPropertyRef>po_number</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
<bpmn:correlationKey name="receipt">
|
||||
<bpmn:correlationPropertyRef>order_id</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:correlationProperty id="customer_id" name="Customer Id">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="request_approval">
|
||||
<bpmn:formalExpression>customer_id</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="approval_result">
|
||||
<bpmn:formalExpression>invoice.customer_id</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:correlationProperty id="po_number" name="Purchase Order Number">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="request_approval">
|
||||
<bpmn:formalExpression>po_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="approval_result">
|
||||
<bpmn:formalExpression>invoice.po_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:message id="request_approval" name="Request Approval">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>invoice</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:message id="approval_result" name="Approval Result">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messagePayload>{"invoice": invoice}</spiffworkflow:messagePayload>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:process id="message_receiver_process" name="Message Receiver Process" isExecutable="true">
|
||||
<bpmn:sequenceFlow id="Flow_0fruoax" sourceRef="receive_message" targetRef="send_message_response" />
|
||||
<bpmn:sequenceFlow id="Flow_11r9uiw" sourceRef="send_message_response" targetRef="Event_0q5otqd" />
|
||||
<bpmn:endEvent id="Event_0q5otqd">
|
||||
<bpmn:incoming>Flow_11r9uiw</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sendTask id="send_message_response" name="Send Message Reponse" messageRef="approval_result">
|
||||
<bpmn:incoming>Flow_0fruoax</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11r9uiw</bpmn:outgoing>
|
||||
</bpmn:sendTask>
|
||||
<bpmn:startEvent id="receive_message" name="Receive Message">
|
||||
<bpmn:outgoing>Flow_0fruoax</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_08u7ksn" messageRef="request_approval" />
|
||||
</bpmn:startEvent>
|
||||
</bpmn:process>
|
||||
<bpmn:correlationProperty id="order_id" name="order_id">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="approval_result">
|
||||
<bpmn:formalExpression />
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oye1os">
|
||||
<bpmndi:BPMNShape id="Participant_0mr0gg1_di" bpmnElement="message_receiver" isHorizontal="true">
|
||||
<dc:Bounds x="120" y="350" width="480" height="230" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0q5otqd_di" bpmnElement="Event_0q5otqd">
|
||||
<dc:Bounds x="512" y="462" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_148b9w9_di" bpmnElement="send_message_response">
|
||||
<dc:Bounds x="380" y="440" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1rgz6f0_di" bpmnElement="receive_message">
|
||||
<dc:Bounds x="172" y="462" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="149" y="505" width="88" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0fruoax_di" bpmnElement="Flow_0fruoax">
|
||||
<di:waypoint x="208" y="480" />
|
||||
<di:waypoint x="380" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11r9uiw_di" bpmnElement="Flow_11r9uiw">
|
||||
<di:waypoint x="480" y="480" />
|
||||
<di:waypoint x="512" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape id="Participant_0xvqrmk_di" bpmnElement="message_sender" isHorizontal="true">
|
||||
<dc:Bounds x="130" y="250" width="360" height="60" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1ueajoz_di" bpmnElement="message_send_flow">
|
||||
<di:waypoint x="190" y="310" />
|
||||
<di:waypoint x="190" y="462" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="193" y="408" width="74" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0ds946g_di" bpmnElement="Flow_0ds946g">
|
||||
<di:waypoint x="430" y="440" />
|
||||
<di:waypoint x="430" y="310" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Counterpart to Send A Message process that starts, and the responds to the same conversation",
|
||||
"display_name": "Send A Message (receive and respond)",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "message_receiver.bpmn",
|
||||
"primary_process_id": "message_receiver_process"
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"title": "Please Submit your invoice below.",
|
||||
"description": "A simple example of how Messages work between processes.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"customer_id",
|
||||
"po_number",
|
||||
"amount",
|
||||
"description"
|
||||
],
|
||||
"properties": {
|
||||
"customer_id": {
|
||||
"type": "string",
|
||||
"title": "Customer Id",
|
||||
"default": "Sartography"
|
||||
},
|
||||
"po_number": {
|
||||
"type": "number",
|
||||
"title": "Purchase Order Number "
|
||||
},
|
||||
"amount": {
|
||||
"type": "number",
|
||||
"title": "Invoice Amount"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"title": "Invoice Description"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"customer_id": {
|
||||
"ui:autofocus": true,
|
||||
"ui:emptyValue": ""
|
||||
},
|
||||
"po_number": {
|
||||
"ui:emptyValue": ""
|
||||
},
|
||||
"amount": {
|
||||
"ui:widget": "updown",
|
||||
"ui:description": "(us dollars)"
|
||||
},
|
||||
"description": {
|
||||
"ui:widget": "textarea"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,156 @@
|
|||
<?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_0oye1os">
|
||||
<bpmn:participant id="message_initiator" name="Message Initiator" processRef="message_send_process" />
|
||||
<bpmn:participant id="message-receiver" name="Message Receiver" />
|
||||
<bpmn:messageFlow id="message_send_flow" name="Message Send Flow" sourceRef="send_message" targetRef="message-receiver" />
|
||||
<bpmn:messageFlow id="message_response_flow" name="Message Response Flow" sourceRef="message-receiver" targetRef="receive_message_response" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0oxbpew">
|
||||
<bpmn:text>The messages sent here are about an Invoice that can be uniquely identified by the customer_id ("sartography") and a purchase order number (1001)
|
||||
|
||||
It will fire a message connected to the invoice keys above, starting another process, which can communicate back to this specific process instance using the correct key.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1d6q7zd" sourceRef="message_initiator" targetRef="TextAnnotation_0oxbpew" />
|
||||
<bpmn:correlationKey name="invoice">
|
||||
<bpmn:correlationPropertyRef>po_number</bpmn:correlationPropertyRef>
|
||||
<bpmn:correlationPropertyRef>customer_id</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:correlationProperty id="po_number" name="Purchase Order Number">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="approval_result">
|
||||
<bpmn:formalExpression>po_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="request_approval">
|
||||
<bpmn:formalExpression>po_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:correlationProperty id="customer_id" name="Customer ID">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="approval_result">
|
||||
<bpmn:formalExpression>customer_id</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="request_approval">
|
||||
<bpmn:formalExpression>customer_id</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:process id="message_send_process" name="Message Send Process" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_10conab</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_037vpjk" sourceRef="send_message" targetRef="receive_message_response" />
|
||||
<bpmn:sequenceFlow id="Flow_1qgz6p0" sourceRef="receive_message_response" targetRef="Event_0kndoyu" />
|
||||
<bpmn:sequenceFlow id="Flow_10conab" sourceRef="StartEvent_1" targetRef="invoice_form" />
|
||||
<bpmn:endEvent id="Event_0kndoyu">
|
||||
<bpmn:incoming>Flow_1qgz6p0</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:intermediateCatchEvent id="receive_message_response" name="Receive Message Response">
|
||||
<bpmn:incoming>Flow_037vpjk</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1qgz6p0</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_1l3n0zr" messageRef="approval_result" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:sendTask id="send_message" name="Send Message" messageRef="request_approval">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:preScript>the_topic = "first_conversation" </spiffworkflow:preScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_02lw0q9</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_037vpjk</bpmn:outgoing>
|
||||
</bpmn:sendTask>
|
||||
<bpmn:sequenceFlow id="Flow_02lw0q9" sourceRef="invoice_form" targetRef="send_message" />
|
||||
<bpmn:userTask id="invoice_form" name="Create Invoice">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice_form.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="invoice_ui.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_10conab</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_02lw0q9</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmn:message id="approval_result" name="Approval Result">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messagePayload>{
|
||||
"customer_id": customer_id,
|
||||
"po_number": po_number,
|
||||
}</spiffworkflow:messagePayload>
|
||||
<spiffworkflow:messageVariable>invoice</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:message id="request_approval" name="Request Approval">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>invoice</spiffworkflow:messageVariable>
|
||||
<spiffworkflow:messagePayload>{
|
||||
"customer_id": customer_id,
|
||||
"po_number": po_number,
|
||||
}</spiffworkflow:messagePayload>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oye1os">
|
||||
<bpmndi:BPMNShape id="Participant_0bjh770_di" bpmnElement="message_initiator" isHorizontal="true">
|
||||
<dc:Bounds x="120" y="52" width="600" height="338" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<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_0kndoyu_di" bpmnElement="Event_0kndoyu">
|
||||
<dc:Bounds x="622" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0yt48xb_di" bpmnElement="receive_message_response">
|
||||
<dc:Bounds x="532" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="507" y="129" width="88" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0vm33bu_di" bpmnElement="send_message">
|
||||
<dc:Bounds x="390" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0798vfz_di" bpmnElement="invoice_form">
|
||||
<dc:Bounds x="240" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_037vpjk_di" bpmnElement="Flow_037vpjk">
|
||||
<di:waypoint x="490" y="177" />
|
||||
<di:waypoint x="532" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1qgz6p0_di" bpmnElement="Flow_1qgz6p0">
|
||||
<di:waypoint x="568" y="177" />
|
||||
<di:waypoint x="622" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_10conab_di" bpmnElement="Flow_10conab">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="240" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02lw0q9_di" bpmnElement="Flow_02lw0q9">
|
||||
<di:waypoint x="340" y="177" />
|
||||
<di:waypoint x="390" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape id="Participant_158b3ei_di" bpmnElement="message-receiver" isHorizontal="true">
|
||||
<dc:Bounds x="120" y="350" width="600" height="60" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0oxbpew_di" bpmnElement="TextAnnotation_0oxbpew">
|
||||
<dc:Bounds x="760" y="-30" width="226.98863220214844" height="155.9943084716797" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_1d6q7zd_di" bpmnElement="Association_1d6q7zd">
|
||||
<di:waypoint x="699" y="52" />
|
||||
<di:waypoint x="760" y="15" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ueajoz_di" bpmnElement="message_send_flow">
|
||||
<di:waypoint x="410" y="217" />
|
||||
<di:waypoint x="410" y="350" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="413" y="302" width="74" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1n96n67_di" bpmnElement="message_response_flow">
|
||||
<di:waypoint x="550" y="350" />
|
||||
<di:waypoint x="550" y="195" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="552" y="294" width="77" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Sends a message to a different process model",
|
||||
"display_name": "Send A Message",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "message_sender.bpmn",
|
||||
"primary_process_id": "message_send_process"
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Demonstrates using signal event buttons to allow users to change the control flow of a process",
|
||||
"display_name": "Signal Event Button",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "signal_event_button.bpmn",
|
||||
"primary_process_id": "Process_Signal_Button_Test"
|
||||
}
|
|
@ -0,0 +1,196 @@
|
|||
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:process id="Process_Signal_Button_Test" name="Signal Button Test Process" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0elszck</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0elszck" sourceRef="StartEvent_1" targetRef="Activity_0cmmlen" />
|
||||
<bpmn:endEvent id="Event_1mjvim4">
|
||||
<bpmn:incoming>Flow_1akz8b3</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1akz8b3" sourceRef="Activity_0cmmlen" targetRef="Event_1mjvim4" />
|
||||
<bpmn:endEvent id="Event_1dvll15">
|
||||
<bpmn:incoming>Flow_16bzuvz</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_16bzuvz" sourceRef="Activity_1u4om4i" targetRef="Event_1dvll15" />
|
||||
<bpmn:manualTask id="Activity_0cmmlen" name="My Manual Task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Welcome
|
||||
This manual task has Two Buttons! The first is standard submit button that will take you to the end. The second button will fire a signal event and take you to a different manual task.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0elszck</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1akz8b3</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:manualTask id="Activity_1u4om4i" name="Spam Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Spam Eaten!
|
||||
Congratulations! You have selected the Eat Additional Spam option, which opens up new doors to vast previously uncharted culinary eating experiences! Oh the Joy! Oh the Reward! Sweet savory wonderful Spam! </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_02nfkmi</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_16bzuvz</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_1lvntp7" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:outgoing>Flow_0fyxy40</bpmn:outgoing>
|
||||
<bpmn:timerEventDefinition id="TimerEventDefinition_0lrkkui">
|
||||
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">'PT15M'</bpmn:timeDuration>
|
||||
</bpmn:timerEventDefinition>
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0fyxy40" sourceRef="Event_1lvntp7" targetRef="Activity_1m3zxxg" />
|
||||
<bpmn:manualTask id="Activity_1m3zxxg" name="15 Minute Timer Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Timer Event
|
||||
This task will not be caused by a button, and no button should be visible. </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0fyxy40</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1741ps8</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:endEvent id="Event_0pr29vo">
|
||||
<bpmn:incoming>Flow_1741ps8</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1741ps8" sourceRef="Activity_1m3zxxg" targetRef="Event_0pr29vo" />
|
||||
<bpmn:sequenceFlow id="Flow_1qya0og" sourceRef="Event_0usahfx" targetRef="Activity_0z8cuko" />
|
||||
<bpmn:boundaryEvent id="Event_0usahfx" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:outgoing>Flow_1qya0og</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_13pwj9v" signalRef="Signal_151h644" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:endEvent id="Event_0ezler8">
|
||||
<bpmn:incoming>Flow_0u77h13</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0u77h13" sourceRef="Activity_0z8cuko" targetRef="Event_0ezler8" />
|
||||
<bpmn:manualTask id="Activity_0z8cuko" name="No Button Label">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># This task should not show up.
|
||||
This task, which has no button label, should not be accessible. You would need to fire this from some external system instead.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1qya0og</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0u77h13</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:endEvent id="Event_056340o">
|
||||
<bpmn:incoming>Flow_0k6ullg</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0k6ullg" sourceRef="Activity_1jjz4ax" targetRef="Event_056340o" />
|
||||
<bpmn:manualTask id="Activity_1jjz4ax" name="Cheetos Message">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Cheetos!
|
||||
You have selected to eat Cheetos today! Wohoo!!!!</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0tfc3q2</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0k6ullg</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:boundaryEvent id="Event_0vo3icv" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:signalButtonLabel>Send Cheetos</spiffworkflow:signalButtonLabel>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:outgoing>Flow_0tfc3q2</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_002ue4s" signalRef="Signal_2o87k4q" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0tfc3q2" sourceRef="Event_0vo3icv" targetRef="Activity_1jjz4ax" />
|
||||
<bpmn:boundaryEvent id="Event_0du75ds" attachedToRef="Activity_0cmmlen">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:signalButtonLabel>Send Spam</spiffworkflow:signalButtonLabel>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:outgoing>Flow_02nfkmi</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_1jkudgi" signalRef="Signal_17t90lm" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_02nfkmi" sourceRef="Event_0du75ds" targetRef="Activity_1u4om4i" />
|
||||
</bpmn:process>
|
||||
<bpmn:signal id="Signal_17t90lm" name="eat_spam" />
|
||||
<bpmn:signal id="Signal_151h644" name="eat_potato_chips" />
|
||||
<bpmn:signal id="Signal_2o87k4q" name="eat_cheetos" />
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_Signal_Button_Test">
|
||||
<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_1mjvim4_di" bpmnElement="Event_1mjvim4">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1dvll15_di" bpmnElement="Event_1dvll15">
|
||||
<dc:Bounds x="692" y="282" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zxmtux_di" bpmnElement="Activity_0cmmlen">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0tll58x_di" bpmnElement="Activity_1u4om4i">
|
||||
<dc:Bounds x="520" y="260" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1p465d5_di" bpmnElement="Activity_1m3zxxg">
|
||||
<dc:Bounds x="520" y="530" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0pr29vo_di" bpmnElement="Event_0pr29vo">
|
||||
<dc:Bounds x="692" y="552" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0ezler8_di" bpmnElement="Event_0ezler8">
|
||||
<dc:Bounds x="692" y="462" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0dxfl6u_di" bpmnElement="Activity_0z8cuko">
|
||||
<dc:Bounds x="520" y="440" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_056340o_di" bpmnElement="Event_056340o">
|
||||
<dc:Bounds x="692" y="372" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_03a4vi7_di" bpmnElement="Activity_1jjz4ax">
|
||||
<dc:Bounds x="520" y="350" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_18fcd1o_di" bpmnElement="Event_0du75ds">
|
||||
<dc:Bounds x="352" y="119" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_19518xv_di" bpmnElement="Event_0vo3icv">
|
||||
<dc:Bounds x="332" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0w0k7qx_di" bpmnElement="Event_0usahfx">
|
||||
<dc:Bounds x="292" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1moswh3_di" bpmnElement="Event_1lvntp7">
|
||||
<dc:Bounds x="252" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0elszck_di" bpmnElement="Flow_0elszck">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1akz8b3_di" bpmnElement="Flow_1akz8b3">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_16bzuvz_di" bpmnElement="Flow_16bzuvz">
|
||||
<di:waypoint x="620" y="300" />
|
||||
<di:waypoint x="692" y="300" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0fyxy40_di" bpmnElement="Flow_0fyxy40">
|
||||
<di:waypoint x="270" y="235" />
|
||||
<di:waypoint x="270" y="570" />
|
||||
<di:waypoint x="520" y="570" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1741ps8_di" bpmnElement="Flow_1741ps8">
|
||||
<di:waypoint x="620" y="570" />
|
||||
<di:waypoint x="692" y="570" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1qya0og_di" bpmnElement="Flow_1qya0og">
|
||||
<di:waypoint x="310" y="235" />
|
||||
<di:waypoint x="310" y="480" />
|
||||
<di:waypoint x="520" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u77h13_di" bpmnElement="Flow_0u77h13">
|
||||
<di:waypoint x="620" y="480" />
|
||||
<di:waypoint x="692" y="480" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0k6ullg_di" bpmnElement="Flow_0k6ullg">
|
||||
<di:waypoint x="620" y="390" />
|
||||
<di:waypoint x="692" y="390" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0tfc3q2_di" bpmnElement="Flow_0tfc3q2">
|
||||
<di:waypoint x="350" y="235" />
|
||||
<di:waypoint x="350" y="390" />
|
||||
<di:waypoint x="520" y="390" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02nfkmi_di" bpmnElement="Flow_02nfkmi">
|
||||
<di:waypoint x="388" y="137" />
|
||||
<di:waypoint x="570" y="137" />
|
||||
<di:waypoint x="570" y="260" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,52 @@
|
|||
<?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="AgeGroupClassification" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
||||
<decision id="decision_AgeGroupClassification" name="AgeGroupClassification">
|
||||
<decisionTable id="decisionTable_1" hitPolicy="FIRST">
|
||||
<input id="input_1" label="age" biodi:width="192">
|
||||
<inputExpression id="inputExpression_1" typeRef="number">
|
||||
<text></text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" label="ageCategory" typeRef="string" />
|
||||
<rule id="DecisionRule_1hr54lu">
|
||||
<inputEntry id="UnaryTests_1jhpemv">
|
||||
<text>< 13</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1abvq04">
|
||||
<text>"Teenager"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0ppxenf">
|
||||
<inputEntry id="UnaryTests_0bulvva">
|
||||
<text><= 17</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_109jked">
|
||||
<text>"Adolescents"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0vny55w">
|
||||
<inputEntry id="UnaryTests_1b0nrxv">
|
||||
<text><= 65</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0kejk5q">
|
||||
<text>"Adults"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_14xbvtq">
|
||||
<inputEntry id="UnaryTests_1k5t35p">
|
||||
<text>< 65</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0xvq68k">
|
||||
<text>"Older adults"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_AgeGroupClassification">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"description": "example onboarding process for a user",
|
||||
"display_name": "Signup Process",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [
|
||||
"phillana@sartography.com"
|
||||
],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": [],
|
||||
"primary_file_name": "signupCustomer.bpmn",
|
||||
"primary_process_id": "Process_signupCustomer"
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"title": "Signup Form",
|
||||
"description": "Form requires userinformation",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Name"
|
||||
},
|
||||
"surname": {
|
||||
"type": "string",
|
||||
"title": "Surname"
|
||||
},
|
||||
"date_of_birth": {
|
||||
"type": "string",
|
||||
"title": "Date of Birth"
|
||||
},
|
||||
"existing_customer": {
|
||||
"type": "boolean",
|
||||
"title": "Existing Customer"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"ui:order": [
|
||||
"name",
|
||||
"surname",
|
||||
"date_of_birth",
|
||||
"existing_customer"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,128 @@
|
|||
<?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_signupCustomer" name="signupCustomer" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1" name="Start Signup">
|
||||
<bpmn:outgoing>Flow_0tq8vaq</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:exclusiveGateway id="Gateway_1n6s148" name="New Customer?" default="Flow_144h7in">
|
||||
<bpmn:incoming>Flow_173kvih</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0witto8</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_144h7in</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0tq8vaq" sourceRef="StartEvent_1" targetRef="Activity_1th8o4e" />
|
||||
<bpmn:sequenceFlow id="Flow_0witto8" name="Yes" sourceRef="Gateway_1n6s148" targetRef="Activity_1kqz7zg">
|
||||
<bpmn:conditionExpression>existing_customer</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:callActivity id="Activity_1r8e40a" name="Update existing customer profile" calledElement="Process_updateUserProfile">
|
||||
<bpmn:incoming>Flow_144h7in</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0p696wz</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_144h7in" name="Existing" sourceRef="Gateway_1n6s148" targetRef="Activity_1r8e40a" />
|
||||
<bpmn:endEvent id="Event_1t7o7q4" name="Signup completed">
|
||||
<bpmn:incoming>Flow_0a6k8ji</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:endEvent id="Event_1b1iakk">
|
||||
<bpmn:incoming>Flow_0p696wz</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0p696wz" sourceRef="Activity_1r8e40a" targetRef="Event_1b1iakk" />
|
||||
<bpmn:sequenceFlow id="Flow_0a6k8ji" sourceRef="Activity_1rrdi63" targetRef="Event_1t7o7q4" />
|
||||
<bpmn:sequenceFlow id="Flow_01gurnt" sourceRef="Activity_1kqz7zg" targetRef="Activity_1rrdi63" />
|
||||
<bpmn:scriptTask id="Activity_1kqz7zg" name="Calculate customer age">
|
||||
<bpmn:incoming>Flow_0witto8</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_01gurnt</bpmn:outgoing>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:businessRuleTask id="Activity_1rrdi63" name="Evaluate form">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>decision_AgeGroupClassification</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_01gurnt</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0a6k8ji</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:userTask id="Activity_1th8o4e" name="Enter user information">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="signup-form-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="signup-form-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0tq8vaq</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_173kvih</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_173kvih" sourceRef="Activity_1th8o4e" targetRef="Gateway_1n6s148" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_signupCustomer">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="12" y="232" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="-1" y="275" width="62" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1n6s148_di" bpmnElement="Gateway_1n6s148" isMarkerVisible="true">
|
||||
<dc:Bounds x="295" y="225" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="281" y="195" width="79" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0otgxk2_di" bpmnElement="Activity_1r8e40a">
|
||||
<dc:Bounds x="410" y="340" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1t7o7q4_di" bpmnElement="Event_1t7o7q4">
|
||||
<dc:Bounds x="902" y="232" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="876" y="275" width="89" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1b1iakk_di" bpmnElement="Event_1b1iakk">
|
||||
<dc:Bounds x="602" y="362" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1iluywf_di" bpmnElement="Activity_1kqz7zg">
|
||||
<dc:Bounds x="570" y="210" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0x28wm6_di" bpmnElement="Activity_1rrdi63">
|
||||
<dc:Bounds x="730" y="210" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_0flxkhv" bpmnElement="Activity_1th8o4e">
|
||||
<dc:Bounds x="120" y="210" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0tq8vaq_di" bpmnElement="Flow_0tq8vaq">
|
||||
<di:waypoint x="48" y="250" />
|
||||
<di:waypoint x="120" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0witto8_di" bpmnElement="Flow_0witto8">
|
||||
<di:waypoint x="345" y="250" />
|
||||
<di:waypoint x="570" y="250" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="380" y="232" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_144h7in_di" bpmnElement="Flow_144h7in">
|
||||
<di:waypoint x="320" y="275" />
|
||||
<di:waypoint x="320" y="380" />
|
||||
<di:waypoint x="410" y="380" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="340" y="353" width="39" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0p696wz_di" bpmnElement="Flow_0p696wz">
|
||||
<di:waypoint x="510" y="380" />
|
||||
<di:waypoint x="602" y="380" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0a6k8ji_di" bpmnElement="Flow_0a6k8ji">
|
||||
<di:waypoint x="830" y="250" />
|
||||
<di:waypoint x="902" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_01gurnt_di" bpmnElement="Flow_01gurnt">
|
||||
<di:waypoint x="670" y="250" />
|
||||
<di:waypoint x="730" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_173kvih_di" bpmnElement="Flow_173kvih">
|
||||
<di:waypoint x="220" y="250" />
|
||||
<di:waypoint x="295" y="250" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -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_updateUserProfile" name="updateUserProfile" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_174wq0x</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_1ihojzm">
|
||||
<bpmn:incoming>Flow_1yd2e0q</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_174wq0x" sourceRef="StartEvent_1" targetRef="Activity_0ltiee0" />
|
||||
<bpmn:sequenceFlow id="Flow_1yd2e0q" sourceRef="Activity_0ltiee0" targetRef="Event_1ihojzm" />
|
||||
<bpmn:userTask id="Activity_0ltiee0" name="Update user profile">
|
||||
<bpmn:incoming>Flow_174wq0x</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1yd2e0q</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_updateUserProfile">
|
||||
<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_1ihojzm_di" bpmnElement="Event_1ihojzm">
|
||||
<dc:Bounds x="462" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1blt52q_di" bpmnElement="Activity_0ltiee0">
|
||||
<dc:Bounds x="280" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_174wq0x_di" bpmnElement="Flow_174wq0x">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="280" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1yd2e0q_di" bpmnElement="Flow_1yd2e0q">
|
||||
<di:waypoint x="380" y="177" />
|
||||
<di:waypoint x="462" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The first name of the user"
|
||||
},
|
||||
"surname": {
|
||||
"type": "string",
|
||||
"description": "The last name of the user"
|
||||
},
|
||||
"dateOfBirth": {
|
||||
"type": "string",
|
||||
"format": "date",
|
||||
"description": "The date of birth of the user (format: YYYY-MM-DD)"
|
||||
}
|
||||
},
|
||||
"required": ["name", "surname", "dateOfBirth"]
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"title": "A registration form",
|
||||
"description": "A simple form example.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"firstName",
|
||||
"lastName"
|
||||
],
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string",
|
||||
"title": "First name",
|
||||
"default": "Chuck"
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string",
|
||||
"title": "Last name"
|
||||
},
|
||||
"age": {
|
||||
"type": "integer",
|
||||
"title": "Age"
|
||||
},
|
||||
"bio": {
|
||||
"type": "string",
|
||||
"title": "Bio"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"title": "Password",
|
||||
"minLength": 3
|
||||
},
|
||||
"telephone": {
|
||||
"type": "string",
|
||||
"title": "Telephone",
|
||||
"minLength": 10
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"firstName": {
|
||||
"ui:autofocus": true,
|
||||
"ui:emptyValue": "",
|
||||
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||
"ui:autocomplete": "family-name",
|
||||
"ui:enableMarkdownInDescription": true,
|
||||
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||
},
|
||||
"lastName": {
|
||||
"ui:autocomplete": "given-name",
|
||||
"ui:enableMarkdownInDescription": true,
|
||||
"ui:description": "Make things **bold** or *italic*. Embed snippets of `code`. <small>And this is a small texts.</small> "
|
||||
},
|
||||
"age": {
|
||||
"ui:widget": "updown",
|
||||
"ui:title": "Age of person",
|
||||
"ui:description": "(earth year)"
|
||||
},
|
||||
"bio": {
|
||||
"ui:widget": "textarea"
|
||||
},
|
||||
"password": {
|
||||
"ui:widget": "password",
|
||||
"ui:help": "Hint: Make it strong!"
|
||||
},
|
||||
"telephone": {
|
||||
"ui:options": {
|
||||
"inputType": "tel"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "",
|
||||
"display_name": "test form field options",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "test.bpmn",
|
||||
"primary_process_id": "Process_lvle734"
|
||||
}
|
|
@ -0,0 +1,64 @@
|
|||
<?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_lvle734" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1ft4mqp</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1ft4mqp" sourceRef="StartEvent_1" targetRef="Activity_1f1iuor" />
|
||||
<bpmn:endEvent id="Event_0eilht6">
|
||||
<bpmn:incoming>Flow_14awn78</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0jn707x" sourceRef="Activity_1f1iuor" targetRef="Activity_1wccome" />
|
||||
<bpmn:manualTask id="Activity_1wccome">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>And More!</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0jn707x</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_14awn78</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:sequenceFlow id="Flow_14awn78" sourceRef="Activity_1wccome" targetRef="Event_0eilht6" />
|
||||
<bpmn:userTask id="Activity_1f1iuor">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Title
|
||||
|
||||
Markdown Supports **Style**
|
||||
|
||||
<sub>This is some trash</sub></spiffworkflow:instructionsForEndUser>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="SimpleForm.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="UI_SimpleForm.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1ft4mqp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jn707x</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_lvle734">
|
||||
<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_0eilht6_di" bpmnElement="Event_0eilht6">
|
||||
<dc:Bounds x="702" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1yy6f79_di" bpmnElement="Activity_1wccome">
|
||||
<dc:Bounds x="530" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1crtnv5_di" bpmnElement="Activity_1f1iuor">
|
||||
<dc:Bounds x="340" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1ft4mqp_di" bpmnElement="Flow_1ft4mqp">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="340" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jn707x_di" bpmnElement="Flow_0jn707x">
|
||||
<di:waypoint x="440" y="177" />
|
||||
<di:waypoint x="530" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_14awn78_di" bpmnElement="Flow_14awn78">
|
||||
<di:waypoint x="630" y="177" />
|
||||
<di:waypoint x="702" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"title": "Vegitables",
|
||||
"description": "Tell us all about your favorite vegitable",
|
||||
"properties": {
|
||||
"vegitable": {
|
||||
"type": "string",
|
||||
"title": "Vegitable",
|
||||
"enum": [
|
||||
"Spinich",
|
||||
"Pepper",
|
||||
"Squash"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"title": "Spam! Spam! Spam!",
|
||||
"description": "Tell us all about your favorite spam",
|
||||
"properties": {
|
||||
"spam": {
|
||||
"type": "string",
|
||||
"title": "Describe a recent encounter with Spam"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"title": "Your favorite Beetle",
|
||||
"description": "Tell us all about your favorite Beetle",
|
||||
"properties": {
|
||||
"beetle": {
|
||||
"type": "string",
|
||||
"title": "Beetle",
|
||||
"enum": [
|
||||
"John",
|
||||
"Paul",
|
||||
"George",
|
||||
"Ringo"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"description": "Details on peoples vacation habits",
|
||||
"display_name": "Vacation Information",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": [
|
||||
{
|
||||
"key": "location",
|
||||
"path": "location"
|
||||
},
|
||||
{
|
||||
"key": "season",
|
||||
"path": "season"
|
||||
},
|
||||
{
|
||||
"key": "activities",
|
||||
"path": "activities"
|
||||
}
|
||||
],
|
||||
"primary_file_name": "vacation.bpmn",
|
||||
"primary_process_id": "Process_3iqzgmz"
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
<?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_3iqzgmz" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0ktuhy4</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0ktuhy4" sourceRef="StartEvent_1" targetRef="Activity_08km0xl" />
|
||||
<bpmn:endEvent id="Event_13641kp">
|
||||
<bpmn:incoming>Flow_1ugzldz</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1g7pwbl" sourceRef="Activity_08km0xl" targetRef="Activity_1ep0jzy" />
|
||||
<bpmn:userTask id="Activity_08km0xl" name="Describe Vacation">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="your-favorite-vacation-spot-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="your-favorite-vacation-spot-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0ktuhy4</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1g7pwbl</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_0kz8qim" sourceRef="Activity_1ep0jzy" targetRef="Activity_15fbpti" />
|
||||
<bpmn:sequenceFlow id="Flow_0k5ba4b" sourceRef="Activity_15fbpti" targetRef="Activity_1ncqxa2" />
|
||||
<bpmn:sequenceFlow id="Flow_1ugzldz" sourceRef="Activity_1ncqxa2" targetRef="Event_13641kp" />
|
||||
<bpmn:userTask id="Activity_1ep0jzy" name="Vegitable">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="form2.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="your-favorite-vacation-spot-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1g7pwbl</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0kz8qim</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:userTask id="Activity_15fbpti" name="Spam">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="form3.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="your-favorite-vacation-spot-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0kz8qim</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0k5ba4b</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:userTask id="Activity_1ncqxa2" name="Beetle">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="form4.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="your-favorite-vacation-spot-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0k5ba4b</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1ugzldz</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_3iqzgmz">
|
||||
<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_0tt1eue_di" bpmnElement="Activity_08km0xl">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_13641kp_di" bpmnElement="Event_13641kp">
|
||||
<dc:Bounds x="852" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_137avcu_di" bpmnElement="Activity_1ep0jzy">
|
||||
<dc:Bounds x="410" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1hbegac_di" bpmnElement="Activity_15fbpti">
|
||||
<dc:Bounds x="550" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_07tar8t_di" bpmnElement="Activity_1ncqxa2">
|
||||
<dc:Bounds x="690" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0ktuhy4_di" bpmnElement="Flow_0ktuhy4">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1g7pwbl_di" bpmnElement="Flow_1g7pwbl">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="410" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0kz8qim_di" bpmnElement="Flow_0kz8qim">
|
||||
<di:waypoint x="510" y="177" />
|
||||
<di:waypoint x="550" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0k5ba4b_di" bpmnElement="Flow_0k5ba4b">
|
||||
<di:waypoint x="650" y="177" />
|
||||
<di:waypoint x="690" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ugzldz_di" bpmnElement="Flow_1ugzldz">
|
||||
<di:waypoint x="790" y="177" />
|
||||
<di:waypoint x="852" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"title": "Your favorite vacation spot",
|
||||
"description": "Tell us all about your favorite vacation",
|
||||
"properties": {
|
||||
"location": {
|
||||
"type": "string",
|
||||
"title": "Location",
|
||||
"enum": [
|
||||
"Jamaica",
|
||||
" Spain",
|
||||
" Costa Rica",
|
||||
" Florida"
|
||||
]
|
||||
},
|
||||
"season": {
|
||||
"type": "string",
|
||||
"title": "Season",
|
||||
"enum": [
|
||||
"Summer",
|
||||
" Winter",
|
||||
" Fall",
|
||||
" Spring"
|
||||
]
|
||||
},
|
||||
"acitivites": {
|
||||
"type": "string",
|
||||
"title": "Acitivites"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"location": {
|
||||
"ui:autofocus": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "Example of waiting for a message",
|
||||
"display_name": "Wait For Message",
|
||||
"display_order": 0,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "wait_for_go.bpmn",
|
||||
"primary_process_id": "Process_ez6kgib"
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
<?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_1phs190">
|
||||
<bpmn:participant id="Participant_19cr9nd" processRef="Process_ez6kgib" />
|
||||
<bpmn:correlationKey name="my_key">
|
||||
<bpmn:correlationPropertyRef>go</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_ez6kgib" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1n3e8nx</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_0spk9qr">
|
||||
<bpmn:incoming>Flow_0i9g04b</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:intermediateCatchEvent id="Event_Wait_for_Go">
|
||||
<bpmn:incoming>Flow_1n3e8nx</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0i9g04b</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_1j1aiie" messageRef="wait_for_go" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1n3e8nx" sourceRef="StartEvent_1" targetRef="Event_Wait_for_Go" />
|
||||
<bpmn:sequenceFlow id="Flow_0i9g04b" sourceRef="Event_Wait_for_Go" targetRef="Event_0spk9qr" />
|
||||
</bpmn:process>
|
||||
<bpmn:message id="wait_for_go" name="wait_for_go">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>payload</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:correlationProperty id="go" name="go">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="wait_for_go">
|
||||
<bpmn:formalExpression>"YES"</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1phs190">
|
||||
<bpmndi:BPMNShape id="Participant_19cr9nd_di" bpmnElement="Participant_19cr9nd" isHorizontal="true">
|
||||
<dc:Bounds x="129" y="70" width="600" height="250" />
|
||||
</bpmndi:BPMNShape>
|
||||
<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_0spk9qr_di" bpmnElement="Event_0spk9qr">
|
||||
<dc:Bounds x="372" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_01uuycd_di" bpmnElement="Event_Wait_for_Go">
|
||||
<dc:Bounds x="272" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1n3e8nx_di" bpmnElement="Flow_1n3e8nx">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="272" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0i9g04b_di" bpmnElement="Flow_0i9g04b">
|
||||
<di:waypoint x="308" y="177" />
|
||||
<di:waypoint x="372" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,88 @@
|
|||
<?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="Milestone_related_process" name="Milestone process" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_16tu53j</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:intermediateThrowEvent id="Event_1wqr3qx" name="Process gets started">
|
||||
<bpmn:incoming>Flow_16tu53j</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1k7ktm5</bpmn:outgoing>
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_16tu53j" sourceRef="StartEvent_1" targetRef="Event_1wqr3qx" />
|
||||
<bpmn:sequenceFlow id="Flow_1k7ktm5" sourceRef="Event_1wqr3qx" targetRef="Activity_0i9lnei" />
|
||||
<bpmn:scriptTask id="Activity_0i9lnei" name="run script">
|
||||
<bpmn:incoming>Flow_1k7ktm5</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1i697x4</bpmn:outgoing>
|
||||
<bpmn:script>a = 1</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:intermediateThrowEvent id="Event_0eg0ce5" name="Script task done">
|
||||
<bpmn:incoming>Flow_1i697x4</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1qvecu7</bpmn:outgoing>
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1i697x4" sourceRef="Activity_0i9lnei" targetRef="Event_0eg0ce5" />
|
||||
<bpmn:intermediateThrowEvent id="Event_0ro5scz" name="Process almost done">
|
||||
<bpmn:incoming>Flow_1qvecu7</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1bjsa5y</bpmn:outgoing>
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1qvecu7" sourceRef="Event_0eg0ce5" targetRef="Event_0ro5scz" />
|
||||
<bpmn:endEvent id="Event_0megibc" name="All set">
|
||||
<bpmn:incoming>Flow_1bjsa5y</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1bjsa5y" sourceRef="Event_0ro5scz" targetRef="Event_0megibc" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Milestone_related_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_0uw0pad_di" bpmnElement="Activity_0i9lnei">
|
||||
<dc:Bounds x="540" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0eg0ce5_di" bpmnElement="Event_0eg0ce5">
|
||||
<dc:Bounds x="872" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="851" y="202" width="79" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0ro5scz_di" bpmnElement="Event_0ro5scz">
|
||||
<dc:Bounds x="1142" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1122" y="202" width="76" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0megibc_di" bpmnElement="Event_0megibc">
|
||||
<dc:Bounds x="1412" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="1415" y="202" width="30" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1wqr3qx_di" bpmnElement="Event_1wqr3qx">
|
||||
<dc:Bounds x="332" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="318" y="202" width="64" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_16tu53j_di" bpmnElement="Flow_16tu53j">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="332" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1k7ktm5_di" bpmnElement="Flow_1k7ktm5">
|
||||
<di:waypoint x="368" y="177" />
|
||||
<di:waypoint x="540" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1i697x4_di" bpmnElement="Flow_1i697x4">
|
||||
<di:waypoint x="640" y="177" />
|
||||
<di:waypoint x="872" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1qvecu7_di" bpmnElement="Flow_1qvecu7">
|
||||
<di:waypoint x="908" y="177" />
|
||||
<di:waypoint x="1142" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bjsa5y_di" bpmnElement="Flow_1bjsa5y">
|
||||
<di:waypoint x="1178" y="177" />
|
||||
<di:waypoint x="1412" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "Demonstrates the use of milestones (intermediate throw events), which are shown in the logs of a process instance",
|
||||
"display_name": "with-milestones",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "a.bpmn",
|
||||
"primary_process_id": "Milestone_related_process"
|
||||
}
|
Loading…
Reference in New Issue