demo-process-models/potentially-promote-to-exam.../wait-for-message/wait_for_go.bpmn

59 lines
3.2 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: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>