2022-08-24 18:22:25 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-09-14 18:09:13 -04:00
|
|
|
<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">
|
2022-08-24 18:22:25 -04:00
|
|
|
<bpmn:collaboration id="Collaboration_1fqnozz">
|
2022-09-16 18:15:47 -04:00
|
|
|
<bpmn:participant id="Participant_1jk5xyi" processRef="Process_test_tc_61_TC_6_0_bd2e724" />
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmn:participant id="Participant_0fzg9oa" name="Message Receiver F" />
|
|
|
|
<bpmn:messageFlow id="Flow_1aaoa3g" sourceRef="Event_1r7y0c1" targetRef="Participant_0fzg9oa" />
|
|
|
|
<bpmn:messageFlow id="Flow_1dhrxm6" sourceRef="Participant_0fzg9oa" targetRef="Activity_08xljas" />
|
|
|
|
<bpmn:correlationKey name="CorrelationKey_1">
|
|
|
|
<bpmn:correlationPropertyRef>mcp_topica_one</bpmn:correlationPropertyRef>
|
|
|
|
</bpmn:correlationKey>
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmn:collaboration>
|
2022-09-16 18:15:47 -04:00
|
|
|
<bpmn:process id="Process_test_tc_61_TC_6_0_bd2e724" isExecutable="true">
|
2022-08-24 18:22:25 -04:00
|
|
|
<bpmn:endEvent id="Event_05735v0">
|
|
|
|
<bpmn:incoming>Flow_1jtqkri</bpmn:incoming>
|
|
|
|
</bpmn:endEvent>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmn:sequenceFlow id="Flow_1bk0sdv" sourceRef="StartEvent_1" targetRef="Activity_1qnybc2" />
|
|
|
|
<bpmn:receiveTask id="Activity_08xljas" name="Receive message" messageRef="Message_2">
|
2022-08-24 18:22:25 -04:00
|
|
|
<bpmn:incoming>Flow_01oalj4</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_1jtqkri</bpmn:outgoing>
|
|
|
|
</bpmn:receiveTask>
|
|
|
|
<bpmn:sequenceFlow id="Flow_01oalj4" sourceRef="Event_1r7y0c1" targetRef="Activity_08xljas" />
|
|
|
|
<bpmn:sequenceFlow id="Flow_1jtqkri" sourceRef="Activity_08xljas" targetRef="Event_05735v0" />
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_1bk0sdv</bpmn:outgoing>
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmn:startEvent>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmn:sequenceFlow id="Flow_0tv692t" sourceRef="Activity_1qnybc2" targetRef="Event_1r7y0c1" />
|
|
|
|
<bpmn:scriptTask id="Activity_1qnybc2" name="Set Topic">
|
|
|
|
<bpmn:incoming>Flow_1bk0sdv</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0tv692t</bpmn:outgoing>
|
2022-10-05 19:48:14 -04:00
|
|
|
<bpmn:script>
|
2022-09-14 18:09:13 -04:00
|
|
|
timestamp = time.time()
|
|
|
|
topic_one_a = f"topic_one_a_conversation_{timestamp}"
|
|
|
|
del time</bpmn:script>
|
|
|
|
</bpmn:scriptTask>
|
|
|
|
<bpmn:intermediateThrowEvent id="Event_1r7y0c1">
|
|
|
|
<bpmn:incoming>Flow_0tv692t</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_01oalj4</bpmn:outgoing>
|
|
|
|
<bpmn:messageEventDefinition id="MessageEventDefinition_0ols1d7" messageRef="Message_1" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmn:intermediateThrowEvent>
|
|
|
|
</bpmn:process>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmn:correlationProperty id="mcp_topica_one" name="MCP TopicA One">
|
|
|
|
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_1">
|
|
|
|
<bpmn:formalExpression>topica_one</bpmn:formalExpression>
|
|
|
|
</bpmn:correlationPropertyRetrievalExpression>
|
|
|
|
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_2">
|
|
|
|
<bpmn:formalExpression>topica_one</bpmn:formalExpression>
|
|
|
|
</bpmn:correlationPropertyRetrievalExpression>
|
|
|
|
</bpmn:correlationProperty>
|
|
|
|
<bpmn:message id="Message_1" name="Message_1">
|
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:messagePayload>{
|
|
|
|
"topica_one": topic_one_a,
|
|
|
|
"initial_var_one": 3
|
|
|
|
}</spiffworkflow:messagePayload>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
</bpmn:message>
|
|
|
|
<bpmn:message id="Message_2" name="Message_2">
|
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:messageVariable>var3</spiffworkflow:messageVariable>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
</bpmn:message>
|
2022-08-24 18:22:25 -04:00
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1fqnozz">
|
|
|
|
<bpmndi:BPMNShape id="Participant_1jk5xyi_di" bpmnElement="Participant_1jk5xyi" isHorizontal="true">
|
2022-09-14 18:09:13 -04:00
|
|
|
<dc:Bounds x="-20" y="70" width="620" height="150" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Event_05735v0_di" bpmnElement="Event_05735v0">
|
|
|
|
<dc:Bounds x="522" y="132" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_04cpnfn_di" bpmnElement="Activity_08xljas">
|
|
|
|
<dc:Bounds x="350" y="110" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
|
|
<dc:Bounds x="32" y="132" width="36" height="36" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNShape>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNShape id="Activity_0gossx8_di" bpmnElement="Activity_1qnybc2">
|
|
|
|
<dc:Bounds x="110" y="110" width="100" height="80" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNShape>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNShape id="Event_1f99wsa_di" bpmnElement="Event_1r7y0c1">
|
|
|
|
<dc:Bounds x="262" y="132" width="36" height="36" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNShape>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNEdge id="Flow_1bk0sdv_di" bpmnElement="Flow_1bk0sdv">
|
|
|
|
<di:waypoint x="68" y="150" />
|
|
|
|
<di:waypoint x="110" y="150" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_01oalj4_di" bpmnElement="Flow_01oalj4">
|
|
|
|
<di:waypoint x="298" y="150" />
|
|
|
|
<di:waypoint x="350" y="150" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1jtqkri_di" bpmnElement="Flow_1jtqkri">
|
|
|
|
<di:waypoint x="450" y="150" />
|
|
|
|
<di:waypoint x="522" y="150" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0tv692t_di" bpmnElement="Flow_0tv692t">
|
|
|
|
<di:waypoint x="210" y="150" />
|
|
|
|
<di:waypoint x="262" y="150" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNShape id="Participant_04yl2y5_di" bpmnElement="Participant_0fzg9oa" isHorizontal="true">
|
|
|
|
<dc:Bounds x="0" y="270" width="600" height="60" />
|
|
|
|
<bpmndi:BPMNLabel />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNShape>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNEdge id="Flow_1aaoa3g_di" bpmnElement="Flow_1aaoa3g">
|
|
|
|
<di:waypoint x="280" y="168" />
|
|
|
|
<di:waypoint x="280" y="270" />
|
2022-08-24 18:22:25 -04:00
|
|
|
</bpmndi:BPMNEdge>
|
2022-09-14 18:09:13 -04:00
|
|
|
<bpmndi:BPMNEdge id="Flow_1dhrxm6_di" bpmnElement="Flow_1dhrxm6">
|
|
|
|
<di:waypoint x="400" y="270" />
|
2022-08-24 18:22:25 -04:00
|
|
|
<di:waypoint x="400" y="190" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|