-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExample_Workflow.bpmn20.xml
110 lines (110 loc) · 6.66 KB
/
Example_Workflow.bpmn20.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?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:template="http://www.kitodo.org/template" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
<bpmn2:process id="Example_Workflow" name="Example_Workflow" isExecutable="false" template:outputName="Example_Workflow">
<bpmn2:startEvent id="StartEvent_1">
<bpmn2:outgoing>SequenceFlow_05ujoyy</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:task id="Task_1" name="Scanning" template:permittedUserRole="1,2" template:typeImagesRead="true" template:typeImagesWrite="true" template:priority="0">
<bpmn2:incoming>SequenceFlow_05ujoyy</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_0np532x</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_05ujoyy" sourceRef="StartEvent_1" targetRef="Task_1" />
<bpmn2:task id="Task_2" name="QC" template:permittedUserRole="1,3" template:typeImagesRead="true" template:priority="0">
<bpmn2:incoming>SequenceFlow_0np532x</bpmn2:incoming>
<bpmn2:outgoing>Flow_1lvvgp4</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_0np532x" sourceRef="Task_1" targetRef="Task_2" />
<bpmn2:task id="Task_3" name="Structure and Metadata" template:permittedUserRole="1,5" template:typeMetadata="true" template:priority="0">
<bpmn2:incoming>Flow_0adjqo2</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_1sdich4</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:task id="Task_4" name="Export DMS" template:permittedUserRole="1,6" template:typeExportDMS="true" template:priority="0">
<bpmn2:incoming>SequenceFlow_1sdich4</bpmn2:incoming>
<bpmn2:outgoing>Flow_01n721b</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_1sdich4" sourceRef="Task_3" targetRef="Task_4" />
<bpmn2:endEvent id="EndEvent_1r20d3t">
<bpmn2:incoming>Flow_0jzfdu3</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="Flow_1lvvgp4" sourceRef="Task_2" targetRef="Activity_1d63js0" />
<bpmn2:sequenceFlow id="Flow_0adjqo2" sourceRef="Activity_1d63js0" targetRef="Task_3" />
<bpmn2:scriptTask id="Activity_1d63js0" name="Operandi(OCR)" template:permittedUserRole="1" template:scriptName="Operandi Script" template:scriptPath="/usr/local/kitodo/Operandi-Integration-Script/kitodo_operandi.sh -w (processpath)/(processtitle) -i (origpath)">
<bpmn2:incoming>Flow_1lvvgp4</bpmn2:incoming>
<bpmn2:outgoing>Flow_0adjqo2</bpmn2:outgoing>
</bpmn2:scriptTask>
<bpmn2:sequenceFlow id="Flow_01n721b" sourceRef="Task_4" targetRef="Activity_1antk4r" />
<bpmn2:sequenceFlow id="Flow_0jzfdu3" sourceRef="Activity_1antk4r" targetRef="EndEvent_1r20d3t" />
<bpmn2:scriptTask id="Activity_1antk4r" name="OLA-HD" template:permittedUserRole="1" template:scriptName="OLA-HD Script" template:scriptPath="/usr/local/kitodo/Operandi-Integration-Script/upload_to_ola_hd.sh -w (processpath)/(processtitle) -m https://gdz.sub.uni-goettingen.de/mets/(processtitle).mets.xml">
<bpmn2:incoming>Flow_01n721b</bpmn2:incoming>
<bpmn2:outgoing>Flow_0jzfdu3</bpmn2:outgoing>
</bpmn2:scriptTask>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Example_Workflow">
<bpmndi:BPMNEdge id="SequenceFlow_1sdich4_di" bpmnElement="SequenceFlow_1sdich4">
<di:waypoint x="1050" y="258" />
<di:waypoint x="1090" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="923" y="237" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0np532x_di" bpmnElement="SequenceFlow_0np532x">
<di:waypoint x="598" y="258" />
<di:waypoint x="648" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="623" y="237" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_05ujoyy_di" bpmnElement="SequenceFlow_05ujoyy">
<di:waypoint x="448" y="258" />
<di:waypoint x="498" y="258" />
<bpmndi:BPMNLabel>
<dc:Bounds x="473" y="237" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1lvvgp4_di" bpmnElement="Flow_1lvvgp4">
<di:waypoint x="748" y="258" />
<di:waypoint x="800" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0adjqo2_di" bpmnElement="Flow_0adjqo2">
<di:waypoint x="900" y="258" />
<di:waypoint x="950" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01n721b_di" bpmnElement="Flow_01n721b">
<di:waypoint x="1190" y="258" />
<di:waypoint x="1230" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jzfdu3_di" bpmnElement="Flow_0jzfdu3">
<di:waypoint x="1330" y="258" />
<di:waypoint x="1372" y="258" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="412" y="240" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_1_di" bpmnElement="Task_1">
<dc:Bounds x="498" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_2_di" bpmnElement="Task_2">
<dc:Bounds x="648" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_4_di" bpmnElement="Task_4">
<dc:Bounds x="1090" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_3_di" bpmnElement="Task_3">
<dc:Bounds x="950" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0yvlozu_di" bpmnElement="Activity_1d63js0">
<dc:Bounds x="800" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1r20d3t_di" bpmnElement="EndEvent_1r20d3t">
<dc:Bounds x="1372" y="240" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1116" y="280" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rs72hb_di" bpmnElement="Activity_1antk4r">
<dc:Bounds x="1230" y="218" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>