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.
hetzner-ansible/smardigo/template/process/tenant-edit.bpmn

172 lines
9.2 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" 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">
<bpmn2:outgoing>Flow_1a8vxf0</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="Flow_1a8vxf0" sourceRef="Event_0wqvypp" targetRef="Event_1ho1j80" />
<bpmn2:intermediateThrowEvent id="Event_1ho1j80" name="set state &#34;new&#34;" 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_0oc7f69" sourceRef="Event_1ho1j80" targetRef="Activity_1xhfee5" />
<bpmn2:sequenceFlow id="Flow_080k63h" sourceRef="Activity_1xhfee5" targetRef="ExclusiveGateway_17rfq4o" />
<bpmn2:sequenceFlow id="Flow_0ufs5lg" sourceRef="Event_1l1qtec" targetRef="Event_14fmnl2" />
<bpmn2:sequenceFlow id="Flow_1itjvyi" name="Cancel" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Event_1l1qtec">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="sort_order" value="2" />
<camunda:property name="discard_form_changes" value="true" />
<camunda:property name="validate_form" value="false" />
</camunda:properties>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="Flow_0jqgye3" name="Edit" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Activity_0ha7ga4" />
<bpmn2:userTask id="Activity_1xhfee5" name="Edit Tenant" camunda:candidateGroups="user">
<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_1l1qtec" name="set state &#34;canceled&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${999}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">canceled</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1itjvyi</bpmn2:incoming>
<bpmn2:outgoing>Flow_0ufs5lg</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:endEvent id="Event_14fmnl2">
<bpmn2:incoming>Flow_0ufs5lg</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="Flow_1jllz86" sourceRef="Activity_0ha7ga4" targetRef="Event_14y0psx" />
<bpmn2:serviceTask id="Activity_0ha7ga4" name="Edit Tenant" camunda:delegateExpression="${dataEntity.save(&#39;tenant&#39;, &#39;tenant&#39;)}">
<bpmn2:extensionElements>
<camunda:inputOutput />
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_0jqgye3</bpmn2:incoming>
<bpmn2:outgoing>Flow_1jllz86</bpmn2:outgoing>
</bpmn2:serviceTask>
<bpmn2:sequenceFlow id="Flow_11x110i" sourceRef="Event_14y0psx" targetRef="Event_15os7x6" />
<bpmn2:intermediateThrowEvent id="Event_14y0psx" name="set state &#34;deleted&#34;" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="vorgang_status">${100}</camunda:outputParameter>
<camunda:outputParameter name="vorgang_status_text">deleted</camunda:outputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1jllz86</bpmn2:incoming>
<bpmn2:outgoing>Flow_11x110i</bpmn2:outgoing>
<bpmn2:outgoing>Flow_1sfb21l</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent>
<bpmn2:sequenceFlow id="Flow_1sfb21l" sourceRef="Event_14y0psx" targetRef="Event_15os7x6" />
<bpmn2:endEvent id="Event_15os7x6">
<bpmn2:incoming>Flow_11x110i</bpmn2:incoming>
<bpmn2:incoming>Flow_1sfb21l</bpmn2:incoming>
</bpmn2:endEvent>
</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="80" width="1030" height="530" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0wqvypp_di" bpmnElement="Event_0wqvypp">
<dc:Bounds x="362" y="322" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ho1j80_di" bpmnElement="Event_1ho1j80">
<dc:Bounds x="472" y="322" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="455" y="368" width="73" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_154ggtp_di" bpmnElement="Activity_1xhfee5">
<dc:Bounds x="570" y="300" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_17rfq4o_di" bpmnElement="ExclusiveGateway_17rfq4o" isMarkerVisible="true">
<dc:Bounds x="735" y="315" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l1qtec_di" bpmnElement="Event_1l1qtec">
<dc:Bounds x="742" y="462" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="739" y="508" width="52" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14fmnl2_di" bpmnElement="Event_14fmnl2">
<dc:Bounds x="872" y="462" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fb7pld_di" bpmnElement="Activity_0ha7ga4">
<dc:Bounds x="820" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1odo85n" bpmnElement="Event_14y0psx">
<dc:Bounds x="1002" y="182" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="980" y="163" width="90" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0x4ob1k" bpmnElement="Event_15os7x6">
<dc:Bounds x="1112" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1a8vxf0_di" bpmnElement="Flow_1a8vxf0">
<di:waypoint x="398" y="340" />
<di:waypoint x="472" y="340" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0oc7f69_di" bpmnElement="Flow_0oc7f69">
<di:waypoint x="508" y="340" />
<di:waypoint x="570" y="340" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_080k63h_di" bpmnElement="Flow_080k63h">
<di:waypoint x="670" y="340" />
<di:waypoint x="735" y="340" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ufs5lg_di" bpmnElement="Flow_0ufs5lg">
<di:waypoint x="778" y="480" />
<di:waypoint x="872" y="480" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1itjvyi_di" bpmnElement="Flow_1itjvyi">
<di:waypoint x="760" y="365" />
<di:waypoint x="760" y="462" />
<bpmndi:BPMNLabel>
<dc:Bounds x="772" y="371" width="35" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jqgye3_di" bpmnElement="Flow_0jqgye3">
<di:waypoint x="760" y="315" />
<di:waypoint x="760" y="200" />
<di:waypoint x="820" y="200" />
<bpmndi:BPMNLabel>
<dc:Bounds x="778" y="303" width="34" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jllz86_di" bpmnElement="Flow_1jllz86">
<di:waypoint x="920" y="200" />
<di:waypoint x="1002" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11x110i_di" bpmnElement="Flow_11x110i">
<di:waypoint x="1038" y="200" />
<di:waypoint x="1112" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1sfb21l_di" bpmnElement="Flow_1sfb21l">
<di:waypoint x="1038" y="200" />
<di:waypoint x="1112" y="200" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>