mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
74 lines
3.7 KiB
XML
74 lines
3.7 KiB
XML
<?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_03z1ll8">
|
|
<bpmn:participant id="Participant_1edzwm2" processRef="Process_eqmuka4" />
|
|
<bpmn:correlationKey id="CorrelationKey_015y46r" name="MainCorrelationKey">
|
|
<bpmn:correlationPropertyRef>msgId</bpmn:correlationPropertyRef>
|
|
</bpmn:correlationKey>
|
|
</bpmn:collaboration>
|
|
<bpmn:process id="Process_eqmuka4" isExecutable="true">
|
|
<bpmn:sequenceFlow id="Flow_096weny" sourceRef="Activity_0dnmdyn" targetRef="Event_1ac6u0n" />
|
|
<bpmn:sequenceFlow id="Flow_0uok76o" targetRef="Activity_0dnmdyn" />
|
|
<bpmn:sequenceFlow id="Flow_0plny4e" sourceRef="Event_1twrb4j" targetRef="Activity_0dnmdyn" />
|
|
<bpmn:startEvent id="Event_1twrb4j">
|
|
<bpmn:outgoing>Flow_0plny4e</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:endEvent id="Event_1ac6u0n">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser>End Send Task Unit Test.</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_096weny</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sendTask id="Activity_0dnmdyn" name="Send Task" messageRef="test_message">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messagePayload> {
|
|
'msgId':1,
|
|
'msgText':'Hello'
|
|
}</spiffworkflow:messagePayload>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0uok76o</bpmn:incoming>
|
|
<bpmn:incoming>Flow_0plny4e</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_096weny</bpmn:outgoing>
|
|
</bpmn:sendTask>
|
|
</bpmn:process>
|
|
<bpmn:correlationProperty id="msgId" name="msgId">
|
|
<bpmn:correlationPropertyRetrievalExpression messageRef="test_message">
|
|
<bpmn:formalExpression>msgId</bpmn:formalExpression>
|
|
</bpmn:correlationPropertyRetrievalExpression>
|
|
</bpmn:correlationProperty>
|
|
<bpmn:message id="test_message" name="test_message">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messagePayload> {
|
|
'msgId':1,
|
|
'msgText':'Hello'
|
|
}</spiffworkflow:messagePayload>
|
|
<spiffworkflow:messageVariable>receivedMsg</spiffworkflow:messageVariable>
|
|
</bpmn:extensionElements>
|
|
</bpmn:message>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_03z1ll8">
|
|
<bpmndi:BPMNShape id="Participant_1edzwm2_di" bpmnElement="Participant_1edzwm2" isHorizontal="true">
|
|
<dc:Bounds x="240" y="150" width="600" height="250" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_1twrb4j_di" bpmnElement="Event_1twrb4j">
|
|
<dc:Bounds x="362" y="252" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_1ac6u0n_di" bpmnElement="Event_1ac6u0n">
|
|
<dc:Bounds x="622" y="252" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_053wa2x_di" bpmnElement="Activity_0dnmdyn">
|
|
<dc:Bounds x="460" y="230" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_096weny_di" bpmnElement="Flow_096weny">
|
|
<di:waypoint x="560" y="270" />
|
|
<di:waypoint x="622" y="270" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0plny4e_di" bpmnElement="Flow_0plny4e">
|
|
<di:waypoint x="398" y="270" />
|
|
<di:waypoint x="460" y="270" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|