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 : dc =" http://www.omg.org/spec/DD/20100524/DC" xmlns : zeebe =" http://camunda.org/schema/zeebe/1.0" xmlns : di =" http://www.omg.org/spec/DD/20100524/DI" xmlns : modeler =" http://camunda.org/schema/modeler/1.0" id =" Definitions_1kvhh4n" targetNamespace =" http://bpmn.io/schema/bpmn" exporter =" Camunda Modeler" exporterVersion =" 5.44.0" modeler : executionPlatform =" Camunda Cloud" modeler : executionPlatformVersion =" 8.7.0" >
3+ <bpmn : process id =" Process_1" name =" Process_1" isExecutable =" true" >
4+ <bpmn : subProcess id =" SubProcess_1" name =" SubProcess_1" >
5+ <bpmn : extensionElements >
6+ <zeebe : ioMapping >
7+ <zeebe : input target =" approved" />
8+ </zeebe : ioMapping >
9+ </bpmn : extensionElements >
10+ <bpmn : outgoing >Flow_03u12aa</bpmn : outgoing >
11+ <bpmn : scriptTask id =" Task_2" name =" Task_2" >
12+ <bpmn : extensionElements >
13+ <zeebe : script expression =" =if approved then 1 else 0" resultVariable =" taskResult" />
14+ </bpmn : extensionElements >
15+ </bpmn : scriptTask >
16+ </bpmn : subProcess >
17+ <bpmn : sequenceFlow id =" Flow_03u12aa" sourceRef =" SubProcess_1" targetRef =" Task_1" />
18+ <bpmn : scriptTask id =" Task_1" name =" Task_1" >
19+ <bpmn : extensionElements >
20+ <zeebe : script expression =" =if approved then " APPROVED" else " NOT APPROVED" " resultVariable =" taskResult" />
21+ </bpmn : extensionElements >
22+ <bpmn : incoming >Flow_03u12aa</bpmn : incoming >
23+ </bpmn : scriptTask >
24+ <bpmn : textAnnotation id =" TextAnnotation_06v37so" >
25+ <bpmn : text >Defines < approved> as local variable</bpmn : text >
26+ </bpmn : textAnnotation >
27+ <bpmn : association id =" Association_1vyzo9d" associationDirection =" None" sourceRef =" SubProcess_1" targetRef =" TextAnnotation_06v37so" />
28+ <bpmn : textAnnotation id =" TextAnnotation_1gqpt1k" >
29+ <bpmn : text >Uses < approved> variable</bpmn : text >
30+ </bpmn : textAnnotation >
31+ <bpmn : association id =" Association_1613yyk" associationDirection =" None" sourceRef =" TextAnnotation_1gqpt1k" targetRef =" Task_1" />
32+ <bpmn : association id =" Association_15s62zn" associationDirection =" None" sourceRef =" TextAnnotation_1gqpt1k" targetRef =" Task_2" />
33+ </bpmn : process >
34+ <bpmndi : BPMNDiagram id =" BPMNDiagram_1" >
35+ <bpmndi : BPMNPlane id =" BPMNPlane_1" bpmnElement =" Process_1" >
36+ <bpmndi : BPMNShape id =" Activity_0rpc80a_di" bpmnElement =" Task_1" >
37+ <dc : Bounds x =" 570" y =" 270" width =" 100" height =" 80" />
38+ <bpmndi : BPMNLabel />
39+ </bpmndi : BPMNShape >
40+ <bpmndi : BPMNShape id =" Activity_13kwa1s_di" bpmnElement =" SubProcess_1" isExpanded =" true" >
41+ <dc : Bounds x =" 160" y =" 210" width =" 350" height =" 200" />
42+ <bpmndi : BPMNLabel />
43+ </bpmndi : BPMNShape >
44+ <bpmndi : BPMNShape id =" Activity_0azqo33_di" bpmnElement =" Task_2" >
45+ <dc : Bounds x =" 220" y =" 270" width =" 100" height =" 80" />
46+ </bpmndi : BPMNShape >
47+ <bpmndi : BPMNEdge id =" Association_1613yyk_di" bpmnElement =" Association_1613yyk" >
48+ <di : waypoint x =" 480" y =" 530" />
49+ <di : waypoint x =" 613" y =" 350" />
50+ </bpmndi : BPMNEdge >
51+ <bpmndi : BPMNEdge id =" Association_1vyzo9d_di" bpmnElement =" Association_1vyzo9d" >
52+ <di : waypoint x =" 347" y =" 210" />
53+ <di : waypoint x =" 355" y =" 135" />
54+ </bpmndi : BPMNEdge >
55+ <bpmndi : BPMNEdge id =" Association_15s62zn_di" bpmnElement =" Association_15s62zn" >
56+ <di : waypoint x =" 436" y =" 530" />
57+ <di : waypoint x =" 279" y =" 350" />
58+ </bpmndi : BPMNEdge >
59+ <bpmndi : BPMNShape id =" TextAnnotation_06v37so_di" bpmnElement =" TextAnnotation_06v37so" >
60+ <dc : Bounds x =" 310" y =" 80" width =" 100" height =" 54.999996185302734" />
61+ <bpmndi : BPMNLabel />
62+ </bpmndi : BPMNShape >
63+ <bpmndi : BPMNShape id =" BPMNShape_0u3y3b2" bpmnElement =" TextAnnotation_1gqpt1k" >
64+ <dc : Bounds x =" 410" y =" 530" width =" 110" height =" 50" />
65+ <bpmndi : BPMNLabel />
66+ </bpmndi : BPMNShape >
67+ <bpmndi : BPMNEdge id =" Flow_03u12aa_di" bpmnElement =" Flow_03u12aa" >
68+ <di : waypoint x =" 510" y =" 310" />
69+ <di : waypoint x =" 570" y =" 310" />
70+ </bpmndi : BPMNEdge >
71+ </bpmndi : BPMNPlane >
72+ </bpmndi : BPMNDiagram >
73+ </bpmn : definitions >
0 commit comments