You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
5.5 KiB
XML
95 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
|
|
<bpmn2:collaboration id="Collaboration_0g4ibv9">
|
|
<bpmn2:participant id="Participant_0r2nfs7" name="Smardigo Management Message" processRef="smardigo-management-message" />
|
|
</bpmn2:collaboration>
|
|
<bpmn2:process id="smardigo-management-message" name="smardigo-management-message" isExecutable="true">
|
|
<bpmn2:startEvent id="Event_14clga5" camunda:asyncAfter="true">
|
|
<bpmn2:outgoing>Flow_0q4r1e5</bpmn2:outgoing>
|
|
</bpmn2:startEvent>
|
|
<bpmn2:sequenceFlow id="Flow_0q4r1e5" sourceRef="Event_14clga5" targetRef="Gateway_11urwde" />
|
|
<bpmn2:sequenceFlow id="Flow_127qqnb" sourceRef="Activity_1ipajwe" targetRef="Gateway_18v39qk" />
|
|
<bpmn2:sequenceFlow id="Flow_0tmasvl" name="simulation active " sourceRef="Gateway_11urwde" targetRef="Gateway_18v39qk">
|
|
<bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">${simulation}</bpmn2:conditionExpression>
|
|
</bpmn2:sequenceFlow>
|
|
<bpmn2:sequenceFlow id="Flow_1rngywr" name="default" sourceRef="Gateway_11urwde" targetRef="Activity_1ipajwe" />
|
|
<bpmn2:exclusiveGateway id="Gateway_11urwde" default="Flow_1rngywr">
|
|
<bpmn2:incoming>Flow_0q4r1e5</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_0tmasvl</bpmn2:outgoing>
|
|
<bpmn2:outgoing>Flow_1rngywr</bpmn2:outgoing>
|
|
</bpmn2:exclusiveGateway>
|
|
<bpmn2:sequenceFlow id="Flow_16okvn5" sourceRef="Gateway_18v39qk" targetRef="Event_063hewk" />
|
|
<bpmn2:serviceTask id="Activity_1ipajwe" name="Send teams message" camunda:delegateExpression="${rest.post('teams', '/').responseJSONObject('teamsResponse').bodyJSONMap(teamsRequestBody)}">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:inputParameter name="teamsRequestBody">
|
|
<camunda:script scriptFormat="groovy" resource="create-teams-message.groovy" />
|
|
</camunda:inputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1rngywr</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_127qqnb</bpmn2:outgoing>
|
|
</bpmn2:serviceTask>
|
|
<bpmn2:endEvent id="Event_063hewk">
|
|
<bpmn2:incoming>Flow_16okvn5</bpmn2:incoming>
|
|
</bpmn2:endEvent>
|
|
<bpmn2:exclusiveGateway id="Gateway_18v39qk">
|
|
<bpmn2:incoming>Flow_0tmasvl</bpmn2:incoming>
|
|
<bpmn2:incoming>Flow_127qqnb</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_16okvn5</bpmn2:outgoing>
|
|
</bpmn2:exclusiveGateway>
|
|
</bpmn2:process>
|
|
<bpmn2:message id="Message_13oyyv2" name="action-executed-${execution.getVariable('smardigoManagementAction')}" />
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0g4ibv9">
|
|
<bpmndi:BPMNShape id="Participant_0r2nfs7_di" bpmnElement="Participant_0r2nfs7" isHorizontal="true">
|
|
<dc:Bounds x="362" y="220" width="658" height="430" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_14clga5_di" bpmnElement="Event_14clga5">
|
|
<dc:Bounds x="424" y="392" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_11urwde_di" bpmnElement="Gateway_11urwde" isMarkerVisible="true">
|
|
<dc:Bounds x="525" y="385" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1ipajwe_di" bpmnElement="Activity_1ipajwe" bioc:stroke="black" bioc:fill="white">
|
|
<dc:Bounds x="680" y="370" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0sikrg3_di" bpmnElement="Event_063hewk">
|
|
<dc:Bounds x="952" y="392" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_18v39qk_di" bpmnElement="Gateway_18v39qk" isMarkerVisible="true">
|
|
<dc:Bounds x="865" y="385" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0q4r1e5_di" bpmnElement="Flow_0q4r1e5">
|
|
<di:waypoint x="460" y="410" />
|
|
<di:waypoint x="525" y="410" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_127qqnb_di" bpmnElement="Flow_127qqnb">
|
|
<di:waypoint x="780" y="410" />
|
|
<di:waypoint x="865" y="410" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0tmasvl_di" bpmnElement="Flow_0tmasvl">
|
|
<di:waypoint x="550" y="435" />
|
|
<di:waypoint x="550" y="550" />
|
|
<di:waypoint x="890" y="550" />
|
|
<di:waypoint x="890" y="435" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="559" y="533" width="82" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1rngywr_di" bpmnElement="Flow_1rngywr">
|
|
<di:waypoint x="575" y="410" />
|
|
<di:waypoint x="680" y="410" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="585" y="413" width="34" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_16okvn5_di" bpmnElement="Flow_16okvn5">
|
|
<di:waypoint x="915" y="410" />
|
|
<di:waypoint x="952" y="410" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn2:definitions>
|