1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0co5an7" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.0.3">
3 <bpmn:process id="Process_1" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1t6nxib">
5 <bpmn:dataOutputAssociation id="DataOutputAssociation_1u87f7i">
6 <bpmn:targetRef>DataObjectReference_1paeomp</bpmn:targetRef>
7 </bpmn:dataOutputAssociation>
9 <bpmn:dataObjectReference id="DataObjectReference_1paeomp" name="<input> terms" dataObjectRef="DataObject_0mtrivu" />
10 <bpmn:dataObject id="DataObject_0mtrivu" />
11 <bpmn:task id="Task_1kanz3j" name="Load Twitter Data">
12 <bpmn:incoming>SequenceFlow_10cbug8</bpmn:incoming>
13 <bpmn:outgoing>SequenceFlow_1mox1nd</bpmn:outgoing>
14 <bpmn:outgoing>SequenceFlow_1a5mps5</bpmn:outgoing>
15 <bpmn:property id="Property_1hi768f" name="__targetRef_placeholder" />
16 <bpmn:dataInputAssociation id="DataInputAssociation_0qg613d">
17 <bpmn:sourceRef>DataObjectReference_1paeomp</bpmn:sourceRef>
18 <bpmn:targetRef>Property_1hi768f</bpmn:targetRef>
19 </bpmn:dataInputAssociation>
21 <bpmn:task id="Task_0fs65yp" name="Analyze">
22 <bpmn:incoming>SequenceFlow_1mox1nd</bpmn:incoming>
23 <bpmn:outgoing>SequenceFlow_1qc3fa8</bpmn:outgoing>
24 <bpmn:outgoing>SequenceFlow_169jjtr</bpmn:outgoing>
26 <bpmn:task id="Task_1tosag4" name="Generate Report">
27 <bpmn:incoming>SequenceFlow_0okj60f</bpmn:incoming>
28 <bpmn:outgoing>SequenceFlow_03ohp0o</bpmn:outgoing>
29 <bpmn:dataOutputAssociation id="DataOutputAssociation_1ustd8r">
30 <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
31 </bpmn:dataOutputAssociation>
32 <bpmn:dataOutputAssociation id="DataOutputAssociation_0iwh0gi">
33 <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
34 </bpmn:dataOutputAssociation>
36 <bpmn:dataObjectReference id="DataObjectReference_10ouwro" name="<output> report" dataObjectRef="DataObject_1aetk4r" />
37 <bpmn:dataObject id="DataObject_1aetk4r" />
38 <bpmn:endEvent id="EndEvent_0bmuv13">
39 <bpmn:property id="Property_15ubano" name="__targetRef_placeholder" />
40 <bpmn:dataInputAssociation id="DataInputAssociation_1mm9v77">
41 <bpmn:sourceRef>DataObjectReference_10ouwro</bpmn:sourceRef>
42 <bpmn:targetRef>Property_15ubano</bpmn:targetRef>
43 </bpmn:dataInputAssociation>
45 <bpmn:sequenceFlow id="SequenceFlow_0utq8ut" sourceRef="Task_05u1qwp" targetRef="Task_1rt5mbt" />
46 <bpmn:sequenceFlow id="SequenceFlow_1xc6g12" sourceRef="Task_05u1qwp" targetRef="Task_1cfglzc" />
47 <bpmn:sequenceFlow id="SequenceFlow_0azrswq" sourceRef="Task_05u1qwp" targetRef="Task_1n6iu8h" />
48 <bpmn:sequenceFlow id="SequenceFlow_03ohp0o" sourceRef="Task_1tosag4" targetRef="Task_1n6iu8h" />
49 <bpmn:sequenceFlow id="SequenceFlow_1qc3fa8" sourceRef="Task_0fs65yp" targetRef="ExclusiveGateway_0onybdl" />
50 <bpmn:sequenceFlow id="SequenceFlow_0okj60f" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1tosag4" />
51 <bpmn:sequenceFlow id="SequenceFlow_1mox1nd" sourceRef="Task_1kanz3j" targetRef="Task_0fs65yp" />
52 <bpmn:sequenceFlow id="SequenceFlow_1a5mps5" sourceRef="Task_1kanz3j" targetRef="Task_1rt5mbt" />
53 <bpmn:sequenceFlow id="SequenceFlow_169jjtr" sourceRef="Task_0fs65yp" targetRef="Task_1cfglzc" />
54 <bpmn:sequenceFlow id="SequenceFlow_10cbug8" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1kanz3j" />
55 <bpmn:subProcess id="Task_1rt5mbt" name="Twitter Service">
56 <bpmn:incoming>SequenceFlow_0utq8ut</bpmn:incoming>
57 <bpmn:incoming>SequenceFlow_1a5mps5</bpmn:incoming>
59 <bpmn:subProcess id="Task_1cfglzc" name="Analysis Service">
60 <bpmn:incoming>SequenceFlow_1xc6g12</bpmn:incoming>
61 <bpmn:incoming>SequenceFlow_169jjtr</bpmn:incoming>
63 <bpmn:subProcess id="Task_1n6iu8h" name="Report Service">
64 <bpmn:incoming>SequenceFlow_0azrswq</bpmn:incoming>
65 <bpmn:incoming>SequenceFlow_03ohp0o</bpmn:incoming>
67 <bpmn:subProcess id="Task_05u1qwp" name="Fallback Service">
68 <bpmn:outgoing>SequenceFlow_0utq8ut</bpmn:outgoing>
69 <bpmn:outgoing>SequenceFlow_1xc6g12</bpmn:outgoing>
70 <bpmn:outgoing>SequenceFlow_0azrswq</bpmn:outgoing>
72 <bpmn:inclusiveGateway id="ExclusiveGateway_0onybdl">
73 <bpmn:incoming>SequenceFlow_1qc3fa8</bpmn:incoming>
74 <bpmn:outgoing>SequenceFlow_0okj60f</bpmn:outgoing>
75 <bpmn:outgoing>SequenceFlow_10cbug8</bpmn:outgoing>
76 </bpmn:inclusiveGateway>
77 <bpmn:textAnnotation id="TextAnnotation_1qbyziq">
78 <bpmn:text>All terms are analyzed</bpmn:text>
79 </bpmn:textAnnotation>
80 <bpmn:association id="Association_1ukj08x" sourceRef="Task_1tosag4" targetRef="TextAnnotation_1qbyziq" />
82 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
83 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
84 <bpmndi:BPMNEdge id="SequenceFlow_0utq8ut_di" bpmnElement="SequenceFlow_0utq8ut">
85 <di:waypoint x="552" y="-194" />
86 <di:waypoint x="331" y="-194" />
87 <di:waypoint x="331" y="-46" />
89 <bpmndi:BPMNEdge id="SequenceFlow_1xc6g12_di" bpmnElement="SequenceFlow_1xc6g12">
90 <di:waypoint x="552" y="-194" />
91 <di:waypoint x="519" y="-194" />
92 <di:waypoint x="519" y="-46" />
94 <bpmndi:BPMNEdge id="SequenceFlow_0azrswq_di" bpmnElement="SequenceFlow_0azrswq">
95 <di:waypoint x="652" y="-194" />
96 <di:waypoint x="822" y="-194" />
97 <di:waypoint x="822" y="-46" />
99 <bpmndi:BPMNEdge id="SequenceFlow_03ohp0o_di" bpmnElement="SequenceFlow_03ohp0o">
100 <di:waypoint x="822" y="104" />
101 <di:waypoint x="822" y="34" />
103 <bpmndi:BPMNEdge id="SequenceFlow_1qc3fa8_di" bpmnElement="SequenceFlow_1qc3fa8">
104 <di:waypoint x="569" y="144" />
105 <di:waypoint x="646" y="144" />
107 <bpmndi:BPMNEdge id="SequenceFlow_0okj60f_di" bpmnElement="SequenceFlow_0okj60f">
108 <di:waypoint x="696" y="144" />
109 <di:waypoint x="772" y="144" />
111 <bpmndi:BPMNEdge id="SequenceFlow_1mox1nd_di" bpmnElement="SequenceFlow_1mox1nd">
112 <di:waypoint x="381" y="144" />
113 <di:waypoint x="469" y="144" />
115 <bpmndi:BPMNEdge id="SequenceFlow_1a5mps5_di" bpmnElement="SequenceFlow_1a5mps5">
116 <di:waypoint x="331" y="104" />
117 <di:waypoint x="331" y="34" />
119 <bpmndi:BPMNEdge id="SequenceFlow_169jjtr_di" bpmnElement="SequenceFlow_169jjtr">
120 <di:waypoint x="519" y="104" />
121 <di:waypoint x="519" y="34" />
123 <bpmndi:BPMNEdge id="SequenceFlow_10cbug8_di" bpmnElement="SequenceFlow_10cbug8">
124 <di:waypoint x="671" y="169" />
125 <di:waypoint x="671" y="206" />
126 <di:waypoint x="331" y="206" />
127 <di:waypoint x="331" y="184" />
129 <bpmndi:BPMNShape id="StartEvent_1t6nxib_di" bpmnElement="StartEvent_1t6nxib">
130 <dc:Bounds x="47" y="126" width="36" height="36" />
132 <bpmndi:BPMNShape id="DataObjectReference_1paeomp_di" bpmnElement="DataObjectReference_1paeomp">
133 <dc:Bounds x="169" y="119" width="36" height="50" />
135 <dc:Bounds x="169" y="176" width="37" height="27" />
138 <bpmndi:BPMNShape id="Task_1kanz3j_di" bpmnElement="Task_1kanz3j">
139 <dc:Bounds x="281" y="104" width="100" height="80" />
141 <bpmndi:BPMNShape id="Task_0fs65yp_di" bpmnElement="Task_0fs65yp">
142 <dc:Bounds x="469" y="104" width="100" height="80" />
144 <bpmndi:BPMNShape id="Task_1tosag4_di" bpmnElement="Task_1tosag4">
145 <dc:Bounds x="772" y="104" width="100" height="80" />
147 <bpmndi:BPMNShape id="DataObjectReference_10ouwro_di" bpmnElement="DataObjectReference_10ouwro">
148 <dc:Bounds x="961" y="119" width="36" height="50" />
150 <dc:Bounds x="958" y="176" width="44" height="27" />
153 <bpmndi:BPMNShape id="EndEvent_0bmuv13_di" bpmnElement="EndEvent_0bmuv13">
154 <dc:Bounds x="1088" y="126" width="36" height="36" />
156 <bpmndi:BPMNEdge id="DataOutputAssociation_1ustd8r_di" bpmnElement="DataOutputAssociation_1ustd8r">
157 <di:waypoint x="872" y="144" />
158 <di:waypoint x="961" y="144" />
160 <bpmndi:BPMNEdge id="DataOutputAssociation_0iwh0gi_di" bpmnElement="DataOutputAssociation_0iwh0gi">
161 <di:waypoint x="872" y="144" />
162 <di:waypoint x="961" y="144" />
164 <bpmndi:BPMNEdge id="DataOutputAssociation_1u87f7i_di" bpmnElement="DataOutputAssociation_1u87f7i">
165 <di:waypoint x="83" y="144" />
166 <di:waypoint x="169" y="144" />
168 <bpmndi:BPMNEdge id="DataInputAssociation_0qg613d_di" bpmnElement="DataInputAssociation_0qg613d">
169 <di:waypoint x="205" y="144" />
170 <di:waypoint x="281" y="144" />
172 <bpmndi:BPMNEdge id="DataInputAssociation_1mm9v77_di" bpmnElement="DataInputAssociation_1mm9v77">
173 <di:waypoint x="997" y="144" />
174 <di:waypoint x="1088" y="144" />
176 <bpmndi:BPMNShape id="TextAnnotation_1qbyziq_di" bpmnElement="TextAnnotation_1qbyziq">
177 <dc:Bounds x="699" y="230" width="94.99289772727272" height="39.18495297805642" />
179 <bpmndi:BPMNEdge id="Association_1ukj08x_di" bpmnElement="Association_1ukj08x">
180 <di:waypoint x="797" y="184" />
181 <di:waypoint x="762" y="230" />
183 <bpmndi:BPMNShape id="SubProcess_0z94igi_di" bpmnElement="Task_1rt5mbt">
184 <dc:Bounds x="281" y="-46" width="100" height="80" />
186 <bpmndi:BPMNShape id="SubProcess_13bf266_di" bpmnElement="Task_1cfglzc">
187 <dc:Bounds x="469" y="-46" width="100" height="80" />
189 <bpmndi:BPMNShape id="SubProcess_0sbp815_di" bpmnElement="Task_1n6iu8h" isExpanded="false">
190 <dc:Bounds x="772" y="-46" width="100" height="80" />
192 <bpmndi:BPMNShape id="SubProcess_06upc1d_di" bpmnElement="Task_05u1qwp">
193 <dc:Bounds x="552" y="-234" width="100" height="80" />
195 <bpmndi:BPMNShape id="InclusiveGateway_0fb50pe_di" bpmnElement="ExclusiveGateway_0onybdl">
196 <dc:Bounds x="646" y="119" width="50" height="50" />
199 </bpmndi:BPMNDiagram>