|
36 | 36 | </dmn:knowledgeRequirement> |
37 | 37 | <dmn:context id="_B499A169-67C3-4405-95A2-F5405AF19DC9"> |
38 | 38 | <dmn:contextEntry> |
39 | | - <dmn:variable id="_5CA16BFD-AE11-4865-A2E5-828E7763A90C" name="dateOfBirth" typeRef="date"/> |
| 39 | + <dmn:variable id="_B49B8F85-5828-4851-B590-50F227A76944" name="dateOfBirth" typeRef="date"/> |
40 | 40 | <dmn:literalExpression id="_4C11ABE5-B19B-4C63-B46B-755FF3A6FACC"> |
41 | 41 | <dmn:text>situation.people[id = parameters.personId].dateOfBirth[1]</dmn:text> |
42 | 42 | </dmn:literalExpression> |
43 | 43 | </dmn:contextEntry> |
44 | 44 | <dmn:contextEntry> |
45 | | - <dmn:variable id="_EBC0A5AB-1F8C-41E7-9D6B-D7AC9E7543E5" name="age" typeRef="number"/> |
| 45 | + <dmn:variable id="_7AB98FB9-B5F2-41C9-8C46-B3B627AD3A25" name="age" typeRef="number"/> |
46 | 46 | <dmn:literalExpression id="_0E389038-35B8-42FF-8FAD-4E26290F0B80"> |
47 | 47 | <dmn:text>Age.as of date(dateOfBirth, parameters.asOfDate)</dmn:text> |
48 | 48 | </dmn:literalExpression> |
49 | 49 | </dmn:contextEntry> |
50 | 50 | <dmn:contextEntry> |
51 | | - <dmn:variable id="_C3861949-8A9C-4E6A-AF13-81C8349B5D91" name="result" typeRef="boolean"/> |
| 51 | + <dmn:variable id="_B368ED41-4240-44F1-97CE-8A885502D49C" name="result" typeRef="boolean"/> |
52 | 52 | <dmn:literalExpression id="_0E389038-35B8-42FF-8FAD-4E26290F0B81"> |
53 | 53 | <dmn:text>age >= parameters.minAge</dmn:text> |
54 | 54 | </dmn:literalExpression> |
|
68 | 68 | <dmn:extensionElements/> |
69 | 69 | <dmn:variable id="_908E9DB1-2894-4743-950C-19A78CA16473" name="parameters" typeRef="tParameters"/> |
70 | 70 | </dmn:inputData> |
71 | | - <dmn:textAnnotation id="_A4AEFC61-376F-4A57-8961-AE037FDF8B2F" textFormat="text/plain"> |
72 | | - <dmn:text>personId, asOfDate, minimumAge</dmn:text> |
73 | | - </dmn:textAnnotation> |
74 | | - <dmn:textAnnotation id="_AFF3E03E-CE17-473F-9FDC-C24831F778C7" textFormat="text/plain"> |
75 | | - <dmn:text>space case because built-in DMN functions are like this</dmn:text> |
76 | | - </dmn:textAnnotation> |
77 | | - <dmn:textAnnotation id="_8F515B74-7FE2-4FE8-8C77-E1D869CC0CAE" textFormat="text/plain"> |
78 | | - <dmn:text>camel case because kogito tooling automatically uses this</dmn:text> |
79 | | - </dmn:textAnnotation> |
80 | 71 | <dmndi:DMNDI> |
81 | 72 | <dmndi:DMNDiagram id="_621B5FFE-295D-41D7-8080-71E4CA60A241" name="DRG"> |
82 | 73 | <di:extension> |
|
106 | 97 | <dmndi:StrokeColor red="0" green="0" blue="0"/> |
107 | 98 | <dmndi:FontColor red="0" green="0" blue="0"/> |
108 | 99 | </dmndi:DMNStyle> |
109 | | - <dc:Bounds x="168" y="91" width="200" height="200"/> |
| 100 | + <dc:Bounds x="168" y="91" width="378" height="199"/> |
110 | 101 | <dmndi:DMNLabel/> |
111 | 102 | <dmndi:DMNDecisionServiceDividerLine> |
112 | 103 | <di:waypoint x="168" y="191"/> |
113 | | - <di:waypoint x="368" y="191"/> |
| 104 | + <di:waypoint x="546" y="191"/> |
114 | 105 | </dmndi:DMNDecisionServiceDividerLine> |
115 | 106 | </dmndi:DMNShape> |
116 | 107 | <dmndi:DMNShape id="dmnshape-drg-_ACEED577-3BAE-4C6D-9F43-297A3A832E81" dmnElementRef="_ACEED577-3BAE-4C6D-9F43-297A3A832E81" isCollapsed="false"> |
|
119 | 110 | <dmndi:StrokeColor red="0" green="0" blue="0"/> |
120 | 111 | <dmndi:FontColor red="0" green="0" blue="0"/> |
121 | 112 | </dmndi:DMNStyle> |
122 | | - <dc:Bounds x="188" y="134" width="160" height="50"/> |
| 113 | + <dc:Bounds x="283" y="129" width="160" height="50"/> |
123 | 114 | <dmndi:DMNLabel/> |
124 | 115 | </dmndi:DMNShape> |
125 | 116 | <dmndi:DMNShape id="dmnshape-drg-_7E4E0F8D-FA5D-49EF-8A65-0FEB4B7C0951" dmnElementRef="_7E4E0F8D-FA5D-49EF-8A65-0FEB4B7C0951" isCollapsed="false"> |
|
128 | 119 | <dmndi:StrokeColor red="0" green="0" blue="0"/> |
129 | 120 | <dmndi:FontColor red="0" green="0" blue="0"/> |
130 | 121 | </dmndi:DMNStyle> |
131 | | - <dc:Bounds x="147" y="318" width="100" height="50"/> |
132 | | - <dmndi:DMNLabel/> |
133 | | - </dmndi:DMNShape> |
134 | | - <dmndi:DMNShape id="dmnshape-drg-_A4AEFC61-376F-4A57-8961-AE037FDF8B2F" dmnElementRef="_A4AEFC61-376F-4A57-8961-AE037FDF8B2F" isCollapsed="false"> |
135 | | - <dmndi:DMNStyle> |
136 | | - <dmndi:FillColor red="255" green="255" blue="255"/> |
137 | | - <dmndi:StrokeColor red="0" green="0" blue="0"/> |
138 | | - <dmndi:FontColor red="0" green="0" blue="0"/> |
139 | | - </dmndi:DMNStyle> |
140 | | - <dc:Bounds x="415" y="319" width="253" height="50"/> |
| 122 | + <dc:Bounds x="226" y="318" width="100" height="50"/> |
141 | 123 | <dmndi:DMNLabel/> |
142 | 124 | </dmndi:DMNShape> |
143 | 125 | <dmndi:DMNShape id="dmnshape-drg-_F4F5DB0A-F298-4519-9554-44344C6179FE" dmnElementRef="_F4F5DB0A-F298-4519-9554-44344C6179FE" isCollapsed="false"> |
|
146 | 128 | <dmndi:StrokeColor red="0" green="0" blue="0"/> |
147 | 129 | <dmndi:FontColor red="0" green="0" blue="0"/> |
148 | 130 | </dmndi:DMNStyle> |
149 | | - <dc:Bounds x="278" y="318" width="98" height="50"/> |
| 131 | + <dc:Bounds x="415" y="318" width="98" height="50"/> |
150 | 132 | <dmndi:DMNLabel/> |
151 | 133 | </dmndi:DMNShape> |
152 | 134 | <dmndi:DMNShape id="dmnshape-drg-_1919D943-09A4-4D5C-98A0-2B8377862E4C" dmnElementRef="included2:_1919D943-09A4-4D5C-98A0-2B8377862E4C" isCollapsed="false"> |
|
155 | 137 | <dmndi:StrokeColor red="0" green="0" blue="0"/> |
156 | 138 | <dmndi:FontColor red="0" green="0" blue="0"/> |
157 | 139 | </dmndi:DMNStyle> |
158 | | - <dc:Bounds x="400" y="79" width="118" height="50"/> |
159 | | - <dmndi:DMNLabel/> |
160 | | - </dmndi:DMNShape> |
161 | | - <dmndi:DMNShape id="dmnshape-drg-_AFF3E03E-CE17-473F-9FDC-C24831F778C7" dmnElementRef="_AFF3E03E-CE17-473F-9FDC-C24831F778C7" isCollapsed="false"> |
162 | | - <dmndi:DMNStyle> |
163 | | - <dmndi:FillColor red="255" green="255" blue="255"/> |
164 | | - <dmndi:StrokeColor red="0" green="0" blue="0"/> |
165 | | - <dmndi:FontColor red="0" green="0" blue="0"/> |
166 | | - </dmndi:DMNStyle> |
167 | | - <dc:Bounds x="557" y="74" width="253" height="56"/> |
168 | | - <dmndi:DMNLabel/> |
169 | | - </dmndi:DMNShape> |
170 | | - <dmndi:DMNShape id="dmnshape-drg-_8F515B74-7FE2-4FE8-8C77-E1D869CC0CAE" dmnElementRef="_8F515B74-7FE2-4FE8-8C77-E1D869CC0CAE" isCollapsed="false"> |
171 | | - <dmndi:DMNStyle> |
172 | | - <dmndi:FillColor red="255" green="255" blue="255"/> |
173 | | - <dmndi:StrokeColor red="0" green="0" blue="0"/> |
174 | | - <dmndi:FontColor red="0" green="0" blue="0"/> |
175 | | - </dmndi:DMNStyle> |
176 | | - <dc:Bounds x="415" y="373" width="289" height="50"/> |
| 140 | + <dc:Bounds x="74" y="28.684210526315795" width="118" height="50"/> |
177 | 141 | <dmndi:DMNLabel/> |
178 | 142 | </dmndi:DMNShape> |
179 | 143 | <dmndi:DMNEdge id="dmnedge-drg-_C3219D7A-ABD5-4FCC-B63F-0511B93B9BAE-AUTO-TARGET" dmnElementRef="_C3219D7A-ABD5-4FCC-B63F-0511B93B9BAE"> |
180 | | - <di:waypoint x="197" y="343"/> |
181 | | - <di:waypoint x="268" y="184"/> |
| 144 | + <di:waypoint x="276" y="343"/> |
| 145 | + <di:waypoint x="363" y="179"/> |
182 | 146 | </dmndi:DMNEdge> |
183 | 147 | <dmndi:DMNEdge id="dmnedge-drg-_4B4ED9D3-EF1A-46AB-9AB6-B5E2C2100C54-AUTO-TARGET" dmnElementRef="_4B4ED9D3-EF1A-46AB-9AB6-B5E2C2100C54"> |
184 | | - <di:waypoint x="327" y="343"/> |
185 | | - <di:waypoint x="268" y="184"/> |
| 148 | + <di:waypoint x="464" y="343"/> |
| 149 | + <di:waypoint x="363" y="179"/> |
186 | 150 | </dmndi:DMNEdge> |
187 | 151 | <dmndi:DMNEdge id="dmnedge-drg-_8C5EF0F5-8039-48DD-BC32-25CDF2F93E9C" dmnElementRef="_8C5EF0F5-8039-48DD-BC32-25CDF2F93E9C"> |
188 | | - <di:waypoint x="459" y="104"/> |
189 | | - <di:waypoint x="348" y="159"/> |
| 152 | + <di:waypoint x="133" y="53.684210526315795"/> |
| 153 | + <di:waypoint x="283" y="154"/> |
190 | 154 | </dmndi:DMNEdge> |
191 | 155 | </dmndi:DMNDiagram> |
192 | 156 | </dmndi:DMNDI> |
|
0 commit comments