A better collaboration test.
This commit is contained in:
parent
7309bc6288
commit
2d1e880bc3
|
@ -1,20 +1,185 @@
|
|||
<?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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0ix1i0i" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
|
||||
<bpmn:collaboration id="myCollaboration">
|
||||
<bpmn:participant id="myFirstParticipant" name="myFirstParticipant" processRef="myFirstProcess" />
|
||||
<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_0qmxumb" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
|
||||
<bpmn:collaboration id="my_collaboration">
|
||||
<bpmn:participant id="buddy" name="Buddy" processRef="process_buddy" />
|
||||
<bpmn:participant id="Person" name="Person" processRef="random_person_process" />
|
||||
<bpmn:participant id="Participant_1tlkvw1" name="Tom Petty" processRef="Process_04o9jmt" />
|
||||
<bpmn:messageFlow id="love_letter_flow" name="Love Letter Flow" sourceRef="ActivitySendLetter" targetRef="Event_0ym6ptw" />
|
||||
<bpmn:messageFlow id="response_flow" name="response flow" sourceRef="Activity_13eq2gr" targetRef="EventReceiveLetter" />
|
||||
<bpmn:messageFlow id="Flow_10ya1ap" sourceRef="Activity_0ra5uc1" targetRef="Participant_1tlkvw1" />
|
||||
<bpmn:messageFlow id="Flow_0vonyt2" sourceRef="Participant_1tlkvw1" targetRef="Event_06829ki" />
|
||||
<bpmn:correlationKey name="lover">
|
||||
<bpmn:correlationPropertyRef>lover_name</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
<bpmn:correlationKey name="singer" />
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="myFirstProcess" name="myFirstProcess" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1" />
|
||||
|
||||
<bpmn:message id="love_letter" name="Love Letter" />
|
||||
<bpmn:message id="love_letter_response" name="Love Letter Response" />
|
||||
|
||||
|
||||
<bpmn:correlationProperty id="lover_name" name="Lover's Name">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter">
|
||||
<bpmn:formalExpression>lover.name</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter_response">
|
||||
<bpmn:formalExpression>from.name</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:formalExpression>heartbreaker</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
|
||||
|
||||
<bpmn:correlationProperty id="singer" name="Singer's Name">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter_response">
|
||||
<bpmn:formalExpression>to.name</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
|
||||
|
||||
<bpmn:process id="process_buddy" name="Process Buddy" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1bl6jeh</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sendTask id="ActivitySendLetter" name="Send Letter" messageRef="love_letter">
|
||||
<bpmn:incoming>Flow_1bl6jeh</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0tp8uut</bpmn:outgoing>
|
||||
</bpmn:sendTask>
|
||||
<bpmn:intermediateCatchEvent id="EventReceiveLetter" name="receive Letter">
|
||||
<bpmn:incoming>Flow_0tp8uut</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1ai45pq</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="medllr" messageRef="love_letter_response" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:endEvent id="Event_01h5zqa">
|
||||
<bpmn:incoming>Flow_0rygg2d</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sendTask id="Activity_0ra5uc1" name="Get support">
|
||||
<bpmn:incoming>Flow_1ai45pq</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1f0m6hd</bpmn:outgoing>
|
||||
</bpmn:sendTask>
|
||||
<bpmn:intermediateCatchEvent id="Event_06829ki">
|
||||
<bpmn:incoming>Flow_1f0m6hd</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0rygg2d</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_07bwnfa" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1f0m6hd" sourceRef="Activity_0ra5uc1" targetRef="Event_06829ki" />
|
||||
<bpmn:sequenceFlow id="Flow_1ai45pq" sourceRef="EventReceiveLetter" targetRef="Activity_0ra5uc1" />
|
||||
<bpmn:sequenceFlow id="Flow_0tp8uut" sourceRef="ActivitySendLetter" targetRef="EventReceiveLetter" />
|
||||
<bpmn:sequenceFlow id="Flow_1bl6jeh" sourceRef="StartEvent_1" targetRef="ActivitySendLetter" />
|
||||
<bpmn:sequenceFlow id="Flow_0rygg2d" sourceRef="Event_06829ki" targetRef="Event_01h5zqa" />
|
||||
</bpmn:process>
|
||||
<bpmn:process id="random_person_process" name="Process" isExecutable="true">
|
||||
<bpmn:startEvent id="Event_0ym6ptw">
|
||||
<bpmn:outgoing>Flow_0hkl6q5</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_05bnll8" />
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0hkl6q5" sourceRef="Event_0ym6ptw" targetRef="Activity_13eq2gr" />
|
||||
<bpmn:sequenceFlow id="Flow_0moculc" sourceRef="Activity_13eq2gr" targetRef="Event_0yy6dsf" />
|
||||
<bpmn:task id="Activity_13eq2gr">
|
||||
<bpmn:incoming>Flow_0hkl6q5</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0moculc</bpmn:outgoing>
|
||||
</bpmn:task>
|
||||
<bpmn:endEvent id="Event_0yy6dsf">
|
||||
<bpmn:incoming>Flow_0moculc</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
</bpmn:process>
|
||||
<bpmn:process id="Process_04o9jmt" isExecutable="false" />
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="myCollaboration">
|
||||
<bpmndi:BPMNShape id="Participant_0yvfozw_di" bpmnElement="myFirstParticipant" isHorizontal="true">
|
||||
<dc:Bounds x="129" y="79" width="600" height="250" />
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="my_collaboration">
|
||||
<bpmndi:BPMNShape id="Participant_1tlkvw1_di" bpmnElement="Participant_1tlkvw1" isHorizontal="true">
|
||||
<dc:Bounds x="129" y="80" width="721" height="60" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="172" width="36" height="36" />
|
||||
<bpmndi:BPMNShape id="Participant_12ffz3p_di" bpmnElement="buddy" isHorizontal="true">
|
||||
<dc:Bounds x="129" y="190" width="721" height="200" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1f0m6hd_di" bpmnElement="Flow_1f0m6hd">
|
||||
<di:waypoint x="640" y="265" />
|
||||
<di:waypoint x="682" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ai45pq_di" bpmnElement="Flow_1ai45pq">
|
||||
<di:waypoint x="468" y="265" />
|
||||
<di:waypoint x="540" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0tp8uut_di" bpmnElement="Flow_0tp8uut">
|
||||
<di:waypoint x="370" y="265" />
|
||||
<di:waypoint x="432" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bl6jeh_di" bpmnElement="Flow_1bl6jeh">
|
||||
<di:waypoint x="215" y="265" />
|
||||
<di:waypoint x="270" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0rygg2d_di" bpmnElement="Flow_0rygg2d">
|
||||
<di:waypoint x="718" y="265" />
|
||||
<di:waypoint x="782" y="265" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="247" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0p9c4se_di" bpmnElement="ActivitySendLetter">
|
||||
<dc:Bounds x="270" y="225" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0s2n1j8_di" bpmnElement="EventReceiveLetter">
|
||||
<dc:Bounds x="432" y="247" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="416" y="223" width="67" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_01h5zqa_di" bpmnElement="Event_01h5zqa">
|
||||
<dc:Bounds x="782" y="247" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_07t6p94_di" bpmnElement="Activity_0ra5uc1">
|
||||
<dc:Bounds x="540" y="225" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1f1k5np_di" bpmnElement="Event_06829ki">
|
||||
<dc:Bounds x="682" y="247" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Participant_0nbivcp_di" bpmnElement="Person" isHorizontal="true">
|
||||
<dc:Bounds x="129" y="430" width="721" height="160" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0hkl6q5_di" bpmnElement="Flow_0hkl6q5">
|
||||
<di:waypoint x="328" y="530" />
|
||||
<di:waypoint x="400" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0moculc_di" bpmnElement="Flow_0moculc">
|
||||
<di:waypoint x="500" y="530" />
|
||||
<di:waypoint x="572" y="530" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape id="Event_09ldq03_di" bpmnElement="Event_0ym6ptw">
|
||||
<dc:Bounds x="292" y="512" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_13eq2gr_di" bpmnElement="Activity_13eq2gr">
|
||||
<dc:Bounds x="400" y="490" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0yy6dsf_di" bpmnElement="Event_0yy6dsf">
|
||||
<dc:Bounds x="572" y="512" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_11c08m8_di" bpmnElement="love_letter_flow">
|
||||
<di:waypoint x="310" y="305" />
|
||||
<di:waypoint x="310" y="512" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="219" y="377" width="82" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1k8kbqt_di" bpmnElement="response_flow">
|
||||
<di:waypoint x="450" y="490" />
|
||||
<di:waypoint x="450" y="283" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="466" y="375" width="68" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_10ya1ap_di" bpmnElement="Flow_10ya1ap">
|
||||
<di:waypoint x="590" y="225" />
|
||||
<di:waypoint x="590" y="140" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0vonyt2_di" bpmnElement="Flow_0vonyt2">
|
||||
<di:waypoint x="700" y="140" />
|
||||
<di:waypoint x="700" y="247" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
||||
|
|
Loading…
Reference in New Issue