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.
277 lines
15 KiB
XML
277 lines
15 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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.9.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
|
|
<bpmn2:signal id="Signal_1rr7wdd" name="Signal_05vo0km" />
|
|
<bpmn2:collaboration id="Collaboration_0oahy0i">
|
|
<bpmn2:participant id="Participant_19lpjee" name="Edit Tenant" processRef="tenant-edit" />
|
|
</bpmn2:collaboration>
|
|
<bpmn2:process id="tenant-edit" name="Edit Tenant" isExecutable="true" camunda:candidateStarterGroups="tenant-edit">
|
|
<bpmn2:startEvent id="Event_0wqvypp" camunda:formKey="tenant-select-wizard">
|
|
<bpmn2:outgoing>Flow_1a8vxf0</bpmn2:outgoing>
|
|
</bpmn2:startEvent>
|
|
<bpmn2:intermediateThrowEvent id="Event_1ho1j80" name="set state "new"" camunda:asyncAfter="true">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:outputParameter name="vorgang_status">${10}</camunda:outputParameter>
|
|
<camunda:outputParameter name="vorgang_status_text">new</camunda:outputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1a8vxf0</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_0oc7f69</bpmn2:outgoing>
|
|
</bpmn2:intermediateThrowEvent>
|
|
<bpmn2:sequenceFlow id="Flow_1a8vxf0" sourceRef="Event_0wqvypp" targetRef="Event_1ho1j80" />
|
|
<bpmn2:sequenceFlow id="Flow_0oc7f69" sourceRef="Event_1ho1j80" targetRef="Activity_1xhfee5" />
|
|
<bpmn2:sequenceFlow id="Flow_080k63h" sourceRef="Activity_1xhfee5" targetRef="ExclusiveGateway_17rfq4o" />
|
|
<bpmn2:sequenceFlow id="Flow_1itjvyi" name="Cancel" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Activity_0wrx5sv">
|
|
<bpmn2:extensionElements>
|
|
<camunda:properties>
|
|
<camunda:property name="discard_form_changes" value="true" />
|
|
<camunda:property name="validate_form" value="false" />
|
|
<camunda:property name="variant" value="secondary" />
|
|
</camunda:properties>
|
|
</bpmn2:extensionElements>
|
|
</bpmn2:sequenceFlow>
|
|
<bpmn2:sequenceFlow id="Flow_0jqgye3" name="Save" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Event_0gz9dof" />
|
|
<bpmn2:sequenceFlow id="Flow_0h2salf" sourceRef="Event_0gz9dof" targetRef="Activity_0nfyr4o" />
|
|
<bpmn2:sequenceFlow id="Flow_19apghu" sourceRef="Activity_0nfyr4o" targetRef="Activity_0il62ix" />
|
|
<bpmn2:sequenceFlow id="Flow_1vkbt5o" sourceRef="Activity_0il62ix" targetRef="Activity_0hm7y70" />
|
|
<bpmn2:sequenceFlow id="Flow_1dzhr2w" sourceRef="Gateway_1rke7se" targetRef="Event_1vlkq00" />
|
|
<bpmn2:sequenceFlow id="Flow_03qvqdv" sourceRef="Event_1mq528l" targetRef="Gateway_1rke7se" />
|
|
<bpmn2:sequenceFlow id="Flow_0ufs5lg" sourceRef="Event_1l1qtec" targetRef="Gateway_1rke7se" />
|
|
<bpmn2:sequenceFlow id="Flow_1j8nnwn" sourceRef="Activity_0hm7y70" targetRef="Event_1mq528l" />
|
|
<bpmn2:sequenceFlow id="Flow_1t62ed0" sourceRef="Activity_0wrx5sv" targetRef="Event_1l1qtec" />
|
|
<bpmn2:userTask id="Activity_1xhfee5" name="Edit tenant" camunda:candidateGroups="user">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:inputParameter name="former_admin_email">${tenant.admin.email}</camunda:inputParameter>
|
|
<camunda:outputParameter name="former_admin_email">${former_admin_email}</camunda:outputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_0oc7f69</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_080k63h</bpmn2:outgoing>
|
|
</bpmn2:userTask>
|
|
<bpmn2:exclusiveGateway id="ExclusiveGateway_17rfq4o">
|
|
<bpmn2:incoming>Flow_080k63h</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1itjvyi</bpmn2:outgoing>
|
|
<bpmn2:outgoing>Flow_0jqgye3</bpmn2:outgoing>
|
|
</bpmn2:exclusiveGateway>
|
|
<bpmn2:intermediateThrowEvent id="Event_0gz9dof" name="set state "saving"" camunda:asyncAfter="true">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:outputParameter name="vorgang_status">${10}</camunda:outputParameter>
|
|
<camunda:outputParameter name="vorgang_status_text">saving</camunda:outputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_0jqgye3</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_0h2salf</bpmn2:outgoing>
|
|
</bpmn2:intermediateThrowEvent>
|
|
<bpmn2:serviceTask id="Activity_0il62ix" name="Save tenant" camunda:delegateExpression="${dataEntity.save('tenant', 'tenant')}">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput />
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_19apghu</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1vkbt5o</bpmn2:outgoing>
|
|
</bpmn2:serviceTask>
|
|
<bpmn2:endEvent id="Event_1vlkq00">
|
|
<bpmn2:incoming>Flow_1dzhr2w</bpmn2:incoming>
|
|
</bpmn2:endEvent>
|
|
<bpmn2:intermediateThrowEvent id="Event_1mq528l" name="set state "edited"" camunda:asyncAfter="true">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:outputParameter name="vorgang_status">${100}</camunda:outputParameter>
|
|
<camunda:outputParameter name="vorgang_status_text">saved</camunda:outputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1j8nnwn</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_03qvqdv</bpmn2:outgoing>
|
|
</bpmn2:intermediateThrowEvent>
|
|
<bpmn2:exclusiveGateway id="Gateway_1rke7se">
|
|
<bpmn2:incoming>Flow_03qvqdv</bpmn2:incoming>
|
|
<bpmn2:incoming>Flow_0ufs5lg</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1dzhr2w</bpmn2:outgoing>
|
|
</bpmn2:exclusiveGateway>
|
|
<bpmn2:intermediateThrowEvent id="Event_1l1qtec" name="set state "canceled"" camunda:asyncAfter="true">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput>
|
|
<camunda:outputParameter name="vorgang_status">${101}</camunda:outputParameter>
|
|
<camunda:outputParameter name="vorgang_status_text">canceled</camunda:outputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1t62ed0</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_0ufs5lg</bpmn2:outgoing>
|
|
</bpmn2:intermediateThrowEvent>
|
|
<bpmn2:callActivity id="Activity_0nfyr4o" name="sma-mgmt-act pmci-tenant-create" calledElement="smardigo-management-action">
|
|
<bpmn2:extensionElements>
|
|
<camunda:in businessKey="#{execution.processBusinessKey}" />
|
|
<camunda:in sourceExpression="pmci-empty-playbook" target="smardigoManagementAction" />
|
|
<camunda:in sourceExpression="Realm/Clients erstellen" target="comment" />
|
|
<camunda:inputOutput />
|
|
<camunda:in variables="all" />
|
|
<camunda:in sourceExpression="teams" target="teamsChannelUrl" />
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_0h2salf</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_19apghu</bpmn2:outgoing>
|
|
</bpmn2:callActivity>
|
|
<bpmn2:serviceTask id="Activity_0hm7y70" name="Send mail to creation_user, tenant-admin, former_admin_email" camunda:type="external" camunda:topic="send-mail">
|
|
<bpmn2:extensionElements>
|
|
<camunda:properties>
|
|
<camunda:property name="maxRetries" value="10" />
|
|
</camunda:properties>
|
|
<camunda:inputOutput>
|
|
<camunda:inputParameter name="toGroups" />
|
|
<camunda:inputParameter name="to">${tenant.admin.email},${former_admin_email}</camunda:inputParameter>
|
|
<camunda:inputParameter name="toUsers" />
|
|
<camunda:inputParameter name="subject">Tenant editiert</camunda:inputParameter>
|
|
<camunda:inputParameter name="messageBody">template(tenant-edited)</camunda:inputParameter>
|
|
<camunda:inputParameter name="ccUsers">${creation_user_id}</camunda:inputParameter>
|
|
</camunda:inputOutput>
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1vkbt5o</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1j8nnwn</bpmn2:outgoing>
|
|
</bpmn2:serviceTask>
|
|
<bpmn2:serviceTask id="Activity_0wrx5sv" name="Restore tenant in instance" camunda:delegateExpression="${dataEntity.read('tenant', 'myTenant', tenant.id)}">
|
|
<bpmn2:extensionElements>
|
|
<camunda:inputOutput />
|
|
</bpmn2:extensionElements>
|
|
<bpmn2:incoming>Flow_1itjvyi</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1t62ed0</bpmn2:outgoing>
|
|
</bpmn2:serviceTask>
|
|
<bpmn2:textAnnotation id="TextAnnotation_04wr5ba">
|
|
<bpmn2:text>ACHTUNG: Ändert sich das Datenmodell des Tenants muss die Projektion im Wizard angepasst werden, sonst gehen die Daten verloren!</bpmn2:text>
|
|
</bpmn2:textAnnotation>
|
|
<bpmn2:association id="Association_1lit514" sourceRef="Event_0wqvypp" targetRef="TextAnnotation_04wr5ba" />
|
|
</bpmn2:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oahy0i">
|
|
<bpmndi:BPMNShape id="Participant_19lpjee_di" bpmnElement="Participant_19lpjee" isHorizontal="true">
|
|
<dc:Bounds x="280" y="30" width="1448" height="580" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="TextAnnotation_04wr5ba_di" bpmnElement="TextAnnotation_04wr5ba">
|
|
<dc:Bounds x="350" y="180" width="270" height="85" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_06zkhbt" bpmnElement="Event_0wqvypp">
|
|
<dc:Bounds x="342" y="302" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_0xgyc8y" bpmnElement="Event_1ho1j80">
|
|
<dc:Bounds x="452" y="302" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="435" y="348" width="74" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_0n7lm40" bpmnElement="Activity_1xhfee5">
|
|
<dc:Bounds x="520" y="280" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_0rtv8ew" bpmnElement="ExclusiveGateway_17rfq4o" isMarkerVisible="true">
|
|
<dc:Bounds x="685" y="295" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_12ln7jv" bpmnElement="Event_0gz9dof">
|
|
<dc:Bounds x="792" y="162" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="773" y="208" width="86" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_1tb5nfy" bpmnElement="Activity_0il62ix">
|
|
<dc:Bounds x="1080" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_1vlkq00_di" bpmnElement="Event_1vlkq00">
|
|
<dc:Bounds x="1592" y="302" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_03m4l55" bpmnElement="Event_1mq528l">
|
|
<dc:Bounds x="1392" y="162" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="1369" y="125" width="84" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_1rke7se_di" bpmnElement="Gateway_1rke7se" isMarkerVisible="true">
|
|
<dc:Bounds x="1465" y="295" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_0sc2dsp" bpmnElement="Event_1l1qtec">
|
|
<dc:Bounds x="1392" y="442" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="1388" y="488" width="53" height="27" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_0m7suee" bpmnElement="Activity_0nfyr4o" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
|
|
<dc:Bounds x="920" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="BPMNShape_1rz5beu" bpmnElement="Activity_0hm7y70">
|
|
<dc:Bounds x="1230" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1poz0rf_di" bpmnElement="Activity_0wrx5sv">
|
|
<dc:Bounds x="1080" y="420" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Association_1lit514_di" bpmnElement="Association_1lit514">
|
|
<di:waypoint x="365" y="303" />
|
|
<di:waypoint x="377" y="265" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_0imsvl4" bpmnElement="Flow_1a8vxf0">
|
|
<di:waypoint x="378" y="320" />
|
|
<di:waypoint x="452" y="320" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_0y5z0at" bpmnElement="Flow_0oc7f69">
|
|
<di:waypoint x="488" y="320" />
|
|
<di:waypoint x="520" y="320" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_0hx68qr" bpmnElement="Flow_080k63h">
|
|
<di:waypoint x="620" y="320" />
|
|
<di:waypoint x="685" y="320" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_1wv0zdv" bpmnElement="Flow_1itjvyi">
|
|
<di:waypoint x="710" y="345" />
|
|
<di:waypoint x="710" y="460" />
|
|
<di:waypoint x="1080" y="460" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="776" y="433" width="35" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_12w5zpl" bpmnElement="Flow_0jqgye3">
|
|
<di:waypoint x="710" y="295" />
|
|
<di:waypoint x="710" y="180" />
|
|
<di:waypoint x="792" y="180" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="737" y="153" width="26" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0h2salf_di" bpmnElement="Flow_0h2salf">
|
|
<di:waypoint x="828" y="180" />
|
|
<di:waypoint x="920" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_19apghu_di" bpmnElement="Flow_19apghu">
|
|
<di:waypoint x="1020" y="180" />
|
|
<di:waypoint x="1080" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1vkbt5o_di" bpmnElement="Flow_1vkbt5o">
|
|
<di:waypoint x="1180" y="180" />
|
|
<di:waypoint x="1230" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1dzhr2w_di" bpmnElement="Flow_1dzhr2w">
|
|
<di:waypoint x="1515" y="320" />
|
|
<di:waypoint x="1592" y="320" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_03qvqdv_di" bpmnElement="Flow_03qvqdv">
|
|
<di:waypoint x="1428" y="180" />
|
|
<di:waypoint x="1490" y="180" />
|
|
<di:waypoint x="1490" y="295" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="BPMNEdge_1ecjvgg" bpmnElement="Flow_0ufs5lg">
|
|
<di:waypoint x="1428" y="460" />
|
|
<di:waypoint x="1490" y="460" />
|
|
<di:waypoint x="1490" y="345" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1j8nnwn_di" bpmnElement="Flow_1j8nnwn">
|
|
<di:waypoint x="1330" y="180" />
|
|
<di:waypoint x="1392" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1t62ed0_di" bpmnElement="Flow_1t62ed0">
|
|
<di:waypoint x="1180" y="460" />
|
|
<di:waypoint x="1392" y="460" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn2:definitions>
|