Skip to content
Snippets Groups Projects
Commit d6f7d11c authored by S.Listl's avatar S.Listl Committed by Sebastian Listl
Browse files

liquibase example workflow

(cherry picked from commit bc851bac)
parent 3c3ef876
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,6 @@
<include relativeToChangelogFile="true" file="example_asys_users/Herbert_Obermeier.xml"/>
<include relativeToChangelogFile="true" file="example_asys_users/Lisa_Sommer.xml"/>
<include relativeToChangelogFile="true" file="example_asys_users/Susanne_Lustig.xml"/>
<include relativeToChangelogFile="true" file="example_workflows/OfferCheck.xml"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="s.listl" id="3c10fdd02a8ab6b4e351080ca76bf710">
<preConditions onFail="CONTINUE">
<tableExists tableName="ACT_GE_BYTEARRAY"/>
</preConditions>
<insert tableName="ACT_GE_BYTEARRAY">
<column name="ID_" value="2"/>
<column name="DEPLOYMENT_ID_" value="1"/>
<column name="GENERATED_" valueNumeric="0"/>
<column name="REV_" valueNumeric="1"/>
<column name="BYTES_" valueBlobFile="ACT_GE_BYTEARRAY/BYTES_/blobFiles/a01ad77d7c18c3d6ea3b6142c270fa83"/>
<column name="NAME_" value="offerVerification_neubpmn20.xml"/>
</insert>
<insert tableName="ACT_GE_BYTEARRAY">
<column name="ID_" value="3"/>
<column name="DEPLOYMENT_ID_" value="1"/>
<column name="GENERATED_" valueNumeric="1"/>
<column name="REV_" valueNumeric="1"/>
<column name="BYTES_" valueBlobFile="ACT_GE_BYTEARRAY/BYTES_/blobFiles/cd7557c02d22c531ca4fffb99e7d7609"/>
<column name="NAME_" value="offerVerification_neuofferVerification_neu.png"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef">
<process id="offerVerification_neu" name="Angebotsprüfung_neu" isExecutable="true">
<dataObject id="sum" name="sum" itemSubjectRef="xsd:int"></dataObject>
<startEvent id="startEvent1" flowable:formFieldValidation="true"></startEvent>
<userTask id="verification" name="Angebot freigeben" flowable:formFieldValidation="true">
<extensionElements>
<flowable:formProperty id="approved" name="Freigabe" type="boolean" required="true"></flowable:formProperty>
</extensionElements>
</userTask>
<serviceTask id="sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E" name="Angebot aktualisieren" flowable:class="de.adito.aditoweb.server.neon.workflow.WorkflowServiceTask">
<extensionElements>
<flowable:field name="jditoProcess">
<flowable:string><![CDATA[UpdateOffer_workflowService]]></flowable:string>
</flowable:field>
</extensionElements>
</serviceTask>
<endEvent id="sid-C0495BDF-7F36-4270-AD93-A1F4877DED25"></endEvent>
<sequenceFlow id="sid-E2FF58FD-02C1-42DE-ADD8-FC211E5C0A00" sourceRef="sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E" targetRef="sid-C0495BDF-7F36-4270-AD93-A1F4877DED25"></sequenceFlow>
<exclusiveGateway id="sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155"></exclusiveGateway>
<sequenceFlow id="sid-78F2A2E7-D8F9-47B9-8B27-ECAE653D9A4F" sourceRef="verification" targetRef="sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E"></sequenceFlow>
<sequenceFlow id="sid-BE050925-7B3F-4895-B1DE-3CD54543D021" sourceRef="sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155" targetRef="verification">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${sum > 1000}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-C5DDB6C6-6497-40EB-899A-9413ADFEC75B" sourceRef="sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155" targetRef="sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${sum < 1001}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-168B4904-364F-420F-9DAF-39EA1C0F879F" sourceRef="startEvent1" targetRef="sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_offerVerification_neu">
<bpmndi:BPMNPlane bpmnElement="offerVerification_neu" id="BPMNPlane_offerVerification_neu">
<bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
<omgdc:Bounds height="30.0" width="30.0" x="725.0000000000003" y="450.00000000000006"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="verification" id="BPMNShape_verification">
<omgdc:Bounds height="80.0" width="99.99999999999994" x="450.00000000000006" y="138.00000000000014"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E" id="BPMNShape_sid-CC87EC6A-DEAC-4037-8C9E-DF9D4578227E">
<omgdc:Bounds height="80.0" width="100.0" x="690.0000000000001" y="138.00000000000003"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-C0495BDF-7F36-4270-AD93-A1F4877DED25" id="BPMNShape_sid-C0495BDF-7F36-4270-AD93-A1F4877DED25">
<omgdc:Bounds height="28.0" width="28.0" x="915.0000000000001" y="164.0000000000001"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155" id="BPMNShape_sid-C15C35AB-CFCD-4D69-9CCF-98ED4F8C8155">
<omgdc:Bounds height="40.0" width="40.0" x="720.0000000000002" y="330.0000000000001"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="sid-C5DDB6C6-6497-40EB-899A-9413ADFEC75B" id="BPMNEdge_sid-C5DDB6C6-6497-40EB-899A-9413ADFEC75B">
<omgdi:waypoint x="740.0000000000002" y="330.0000000000001"></omgdi:waypoint>
<omgdi:waypoint x="740.0000000000001" y="217.95000000000005"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-168B4904-364F-420F-9DAF-39EA1C0F879F" id="BPMNEdge_sid-168B4904-364F-420F-9DAF-39EA1C0F879F">
<omgdi:waypoint x="740.0000000000003" y="450.00000000000006"></omgdi:waypoint>
<omgdi:waypoint x="740.0000000000002" y="369.90863794604013"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-BE050925-7B3F-4895-B1DE-3CD54543D021" id="BPMNEdge_sid-BE050925-7B3F-4895-B1DE-3CD54543D021">
<omgdi:waypoint x="500.0" y="350.0"></omgdi:waypoint>
<omgdi:waypoint x="500.0" y="350.0"></omgdi:waypoint>
<omgdi:waypoint x="500.0" y="217.95000000000016"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-E2FF58FD-02C1-42DE-ADD8-FC211E5C0A00" id="BPMNEdge_sid-E2FF58FD-02C1-42DE-ADD8-FC211E5C0A00">
<omgdi:waypoint x="789.9499999998825" y="178.00000000000009"></omgdi:waypoint>
<omgdi:waypoint x="915.0000000000001" y="178.0000000000001"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-78F2A2E7-D8F9-47B9-8B27-ECAE653D9A4F" id="BPMNEdge_sid-78F2A2E7-D8F9-47B9-8B27-ECAE653D9A4F">
<omgdi:waypoint x="549.95" y="178.00000000000014"></omgdi:waypoint>
<omgdi:waypoint x="620.0" y="178.00000000000006"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="s.listl" id="bf2a6db428204cf4a5edde8a312339e2">
<preConditions onFail="CONTINUE">
<tableExists tableName="ACT_RE_DEPLOYMENT"/>
</preConditions>
<insert tableName="ACT_RE_DEPLOYMENT">
<column name="KEY_" value="offerVerification_neu"/>
<column name="ID_" value="1"/>
<column name="DEPLOY_TIME_" valueDate="2020-02-05T12:15:07"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="s.listl" id="a5747f71a32ac577810d7f077e05adb1">
<preConditions onFail="CONTINUE">
<tableExists tableName="ACT_RE_PROCDEF"/>
</preConditions>
<insert tableName="ACT_RE_PROCDEF">
<column name="DGRM_RESOURCE_NAME_" value="offerVerification_neuofferVerification_neu.png"/>
<column name="HAS_START_FORM_KEY_" valueNumeric="0"/>
<column name="DERIVED_VERSION_" valueNumeric="0"/>
<column name="ID_" value="offerVerification_neu:1:4"/>
<column name="REV_" valueNumeric="1"/>
<column name="VERSION_" valueNumeric="1"/>
<column name="NAME_" value="Angebotsprüfung_neu"/>
<column name="SUSPENSION_STATE_" valueNumeric="1"/>
<column name="KEY_" value="offerVerification_neu"/>
<column name="CATEGORY_" value="http://www.flowable.org/processdef"/>
<column name="DEPLOYMENT_ID_" value="1"/>
<column name="RESOURCE_NAME_" value="offerVerification_neubpmn20.xml"/>
<column name="HAS_GRAPHICAL_NOTATION_" valueNumeric="1"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="ACT_RE_DEPLOYMENT.xml"/>
<include relativeToChangelogFile="true" file="ACT_GE_BYTEARRAY.xml"/>
<include relativeToChangelogFile="true" file="ACT_RE_PROCDEF.xml"/>
</databaseChangeLog>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment