sample-process-models/test/tc-42/TC-4.1.bpmn

76 lines
4.0 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_1fqnozz">
<bpmn:participant id="Participant_1jk5xyi" processRef="Process_test_tc_42_TC_4_1_bd2e724" />
<bpmn:participant id="Participant_1van3p6" />
<bpmn:messageFlow id="Flow_0ym94lp" sourceRef="Event_0jmg8ts" targetRef="Participant_1van3p6" />
<bpmn:correlationKey name="CorrelationKey_1">
<bpmn:correlationPropertyRef>CorrelationProperty_1</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
</bpmn:collaboration>
<bpmn:process id="Process_test_tc_42_TC_4_1_bd2e724" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_15bgmal</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_15bgmal" sourceRef="StartEvent_1" targetRef="Activity_1unqzlg" />
<bpmn:endEvent id="Event_0jmg8ts">
<bpmn:incoming>Flow_1euq8c9</bpmn:incoming>
<bpmn:messageEventDefinition id="MessageEventDefinition_17qimw8" messageRef="Message_1" />
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1euq8c9" sourceRef="Activity_1unqzlg" targetRef="Event_0jmg8ts" />
<bpmn:scriptTask id="Activity_1unqzlg" name="Set Topic One">
<bpmn:incoming>Flow_15bgmal</bpmn:incoming>
<bpmn:outgoing>Flow_1euq8c9</bpmn:outgoing>
<bpmn:script>
timestamp = time.time()
topic_one_a = f"topic_one_a_conversation_{timestamp}"
del time</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<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:correlationProperty id="CorrelationProperty_1" name="CorrelationProperty_1">
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_1">
<bpmn:formalExpression>topica_one</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
</bpmn:correlationProperty>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1fqnozz">
<bpmndi:BPMNShape id="Participant_1jk5xyi_di" bpmnElement="Participant_1jk5xyi" isHorizontal="true">
<dc:Bounds x="129" y="50" width="431" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="202" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1oyk1l8_di" bpmnElement="Event_0jmg8ts">
<dc:Bounds x="482" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_08l0e6h_di" bpmnElement="Activity_1unqzlg">
<dc:Bounds x="300" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_15bgmal_di" bpmnElement="Flow_15bgmal">
<di:waypoint x="238" y="120" />
<di:waypoint x="300" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1euq8c9_di" bpmnElement="Flow_1euq8c9">
<di:waypoint x="400" y="120" />
<di:waypoint x="482" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Participant_0vl41x3_di" bpmnElement="Participant_1van3p6" isHorizontal="true">
<dc:Bounds x="129" y="230" width="431" height="60" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0ym94lp_di" bpmnElement="Flow_0ym94lp">
<di:waypoint x="500" y="138" />
<di:waypoint x="500" y="230" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>