User: dan@sartography.com clicked save for playground/matplus/dan-funk/dan-funk.bpmn
This commit is contained in:
parent
1331bc69bc
commit
e1de3cd2f4
|
@ -1,154 +1,75 @@
|
|||
<?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: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_dan_funk_5t3nhn3" isExecutable="true">
|
||||
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Gateway_1dfjr5v" />
|
||||
<bpmn:endEvent id="EndEvent_1">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1gc8re9</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Gateway_0cpb4ud" />
|
||||
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||||
|
||||
* **Script Task** - write a short snippet of python code to update some data
|
||||
* **User Task** - generate a form that collects information from a user
|
||||
* **Service Task** - communicate with an external API to fetch or update some data.
|
||||
|
||||
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_06jkdz6</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:sequenceFlow id="Flow_06jkdz6" sourceRef="Gateway_1dfjr5v" targetRef="Activity_0qpzdpu" />
|
||||
<bpmn:parallelGateway id="Gateway_1dfjr5v">
|
||||
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_06jkdz6</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0avs91n</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_02ur7k8</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:sequenceFlow id="Flow_1gc8re9" sourceRef="Gateway_0cpb4ud" targetRef="EndEvent_1" />
|
||||
<bpmn:parallelGateway id="Gateway_0cpb4ud">
|
||||
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1bujspx</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0pgsdwn</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1gc8re9</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0avs91n" sourceRef="Gateway_1dfjr5v" targetRef="Activity_00q9dzm" />
|
||||
<bpmn:sequenceFlow id="Flow_02ur7k8" sourceRef="Gateway_1dfjr5v" targetRef="Activity_1kd3fuo" />
|
||||
<bpmn:sequenceFlow id="Flow_1bujspx" sourceRef="Activity_00q9dzm" targetRef="Gateway_0cpb4ud" />
|
||||
<bpmn:subProcess id="Activity_00q9dzm" name="Simple Sub Process">
|
||||
<bpmn:incoming>Flow_0avs91n</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1bujspx</bpmn:outgoing>
|
||||
<bpmn:startEvent id="Event_1sgau7f">
|
||||
<bpmn:outgoing>Flow_10nq6ui</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:task id="Activity_00fu6f9">
|
||||
<bpmn:incoming>Flow_10nq6ui</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_17n5fas</bpmn:outgoing>
|
||||
</bpmn:task>
|
||||
<bpmn:sequenceFlow id="Flow_10nq6ui" sourceRef="Event_1sgau7f" targetRef="Activity_00fu6f9" />
|
||||
<bpmn:endEvent id="Event_1qs5lbq">
|
||||
<bpmn:incoming>Flow_17n5fas</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_17n5fas" sourceRef="Activity_00fu6f9" targetRef="Event_1qs5lbq" />
|
||||
</bpmn:subProcess>
|
||||
<bpmn:task id="Activity_1kd3fuo" name="Get Manager Approval">
|
||||
<bpmn:incoming>Flow_02ur7k8</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0pgsdwn</bpmn:outgoing>
|
||||
</bpmn:task>
|
||||
<bpmn:sequenceFlow id="Flow_0pgsdwn" sourceRef="Activity_1kd3fuo" targetRef="Gateway_0cpb4ud" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_09r1zzv" dataObjectRef="DataObject_0pux1ma" />
|
||||
<bpmn:dataObject id="DataObject_0pux1ma" name="Data Object 0 Pux 1 Ma" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0nby41g" dataObjectRef="DataObject_0pux1ma" />
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||
<bpmn:startEvent id="Event_1fuga7w">
|
||||
<bpmn:outgoing>Flow_0szh8pc</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0szh8pc" sourceRef="Event_1fuga7w" targetRef="Activity_00tgyxo" />
|
||||
<bpmn:endEvent id="Event_1r7u3r3">
|
||||
<bpmn:incoming>Flow_0vqof4u</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0vqof4u" sourceRef="Activity_00tgyxo" targetRef="Event_1r7u3r3" />
|
||||
<bpmn:scriptTask id="Activity_00tgyxo" name="Simple Script Task">
|
||||
<bpmn:incoming>Flow_0szh8pc</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vqof4u</bpmn:outgoing>
|
||||
<bpmn:script>age = 51
|
||||
height = 1.93
|
||||
children = ["Robert", "Edward", "Willie", "Tadd"]
|
||||
is_married = True
|
||||
|
||||
Age = 60
|
||||
age = 54
|
||||
|
||||
del(Age)
|
||||
|
||||
|
||||
cabinet = {
|
||||
"Secretary of State": "William H. Seward",
|
||||
"Secretary of the Treasury": "Salmon P. Chase",
|
||||
"Secretary of War": "Edwin M. Stanton",
|
||||
"Attorney General": "Edward Bates"
|
||||
}
|
||||
|
||||
seward = cabinet['Secretary of State']
|
||||
|
||||
cabinet = {
|
||||
"Secretary of State": {
|
||||
"name": "William H. Seward",
|
||||
"age": 60,
|
||||
"children": ['William Jr.', 'Frederick', 'Augustus', 'Anna']
|
||||
}
|
||||
}
|
||||
|
||||
def add_one(input):
|
||||
return input + 1
|
||||
|
||||
age = add_one(age)
|
||||
|
||||
|
||||
</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_dan_funk_5t3nhn3">
|
||||
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||
<dc:Bounds x="452" y="159" width="36" height="36" />
|
||||
<bpmndi:BPMNShape id="Event_1fuga7w_di" bpmnElement="Event_1fuga7w">
|
||||
<dc:Bounds x="-398" y="72" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||
<dc:Bounds x="130" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNShape id="Event_1r7u3r3_di" bpmnElement="Event_1r7u3r3">
|
||||
<dc:Bounds x="-158" y="72" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_003fg1c_di" bpmnElement="Activity_00tgyxo">
|
||||
<dc:Bounds x="-310" y="50" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0ux8zsb_di" bpmnElement="Gateway_1dfjr5v">
|
||||
<dc:Bounds x="15" y="152" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1xc4d4b_di" bpmnElement="Gateway_0cpb4ud">
|
||||
<dc:Bounds x="315" y="152" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-88" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0c5ng8p_di" bpmnElement="Activity_00q9dzm">
|
||||
<dc:Bounds x="130" y="250" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1kd3fuo_di" bpmnElement="Activity_1kd3fuo">
|
||||
<dc:Bounds x="130" y="380" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||
<di:waypoint x="-52" y="177" />
|
||||
<di:waypoint x="15" y="177" />
|
||||
<bpmndi:BPMNEdge id="Flow_0szh8pc_di" bpmnElement="Flow_0szh8pc">
|
||||
<di:waypoint x="-362" y="90" />
|
||||
<di:waypoint x="-310" y="90" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||
<di:waypoint x="230" y="177" />
|
||||
<di:waypoint x="315" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_06jkdz6_di" bpmnElement="Flow_06jkdz6">
|
||||
<di:waypoint x="65" y="177" />
|
||||
<di:waypoint x="130" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1gc8re9_di" bpmnElement="Flow_1gc8re9">
|
||||
<di:waypoint x="365" y="177" />
|
||||
<di:waypoint x="452" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0avs91n_di" bpmnElement="Flow_0avs91n">
|
||||
<di:waypoint x="40" y="202" />
|
||||
<di:waypoint x="40" y="290" />
|
||||
<di:waypoint x="130" y="290" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_02ur7k8_di" bpmnElement="Flow_02ur7k8">
|
||||
<di:waypoint x="40" y="202" />
|
||||
<di:waypoint x="40" y="420" />
|
||||
<di:waypoint x="130" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bujspx_di" bpmnElement="Flow_1bujspx">
|
||||
<di:waypoint x="230" y="290" />
|
||||
<di:waypoint x="340" y="290" />
|
||||
<di:waypoint x="340" y="202" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0pgsdwn_di" bpmnElement="Flow_0pgsdwn">
|
||||
<di:waypoint x="230" y="420" />
|
||||
<di:waypoint x="340" y="420" />
|
||||
<di:waypoint x="340" y="202" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_0jcwgxn">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1l4k7yw" bpmnElement="Activity_00q9dzm">
|
||||
<bpmndi:BPMNShape id="Event_1sgau7f_di" bpmnElement="Event_1sgau7f">
|
||||
<dc:Bounds x="192" y="192" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_00fu6f9_di" bpmnElement="Activity_00fu6f9">
|
||||
<dc:Bounds x="280" y="170" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1qs5lbq_di" bpmnElement="Event_1qs5lbq">
|
||||
<dc:Bounds x="432" y="192" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_10nq6ui_di" bpmnElement="Flow_10nq6ui">
|
||||
<di:waypoint x="228" y="210" />
|
||||
<di:waypoint x="280" y="210" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_17n5fas_di" bpmnElement="Flow_17n5fas">
|
||||
<di:waypoint x="380" y="210" />
|
||||
<di:waypoint x="432" y="210" />
|
||||
<bpmndi:BPMNEdge id="Flow_0vqof4u_di" bpmnElement="Flow_0vqof4u">
|
||||
<di:waypoint x="-210" y="90" />
|
||||
<di:waypoint x="-158" y="90" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
|
Loading…
Reference in New Issue