bpmn-elements 6.0.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +335 -0
  2. package/README.md +3 -0
  3. package/dist/index.js +52 -44
  4. package/dist/src/Api.js +77 -76
  5. package/dist/src/Context.js +176 -172
  6. package/dist/src/Environment.js +110 -102
  7. package/dist/src/EventBroker.js +89 -88
  8. package/dist/src/ExtensionsMapper.js +2 -2
  9. package/dist/src/MessageFormatter.js +164 -95
  10. package/dist/src/Scripts.js +6 -2
  11. package/dist/src/activity/Activity.js +1106 -916
  12. package/dist/src/activity/ActivityExecution.js +342 -297
  13. package/dist/src/activity/Dummy.js +3 -3
  14. package/dist/src/definition/Definition.js +498 -444
  15. package/dist/src/definition/DefinitionExecution.js +710 -408
  16. package/dist/src/error/Errors.js +17 -7
  17. package/dist/src/eventDefinitions/CancelEventDefinition.js +190 -150
  18. package/dist/src/eventDefinitions/CompensateEventDefinition.js +194 -161
  19. package/dist/src/eventDefinitions/ConditionalEventDefinition.js +197 -135
  20. package/dist/src/eventDefinitions/ErrorEventDefinition.js +207 -165
  21. package/dist/src/eventDefinitions/EscalationEventDefinition.js +175 -141
  22. package/dist/src/eventDefinitions/EventDefinitionExecution.js +157 -129
  23. package/dist/src/eventDefinitions/LinkEventDefinition.js +174 -149
  24. package/dist/src/eventDefinitions/MessageEventDefinition.js +213 -176
  25. package/dist/src/eventDefinitions/SignalEventDefinition.js +203 -161
  26. package/dist/src/eventDefinitions/TerminateEventDefinition.js +21 -23
  27. package/dist/src/eventDefinitions/TimerEventDefinition.js +243 -228
  28. package/dist/src/events/BoundaryEvent.js +180 -144
  29. package/dist/src/events/EndEvent.js +18 -23
  30. package/dist/src/events/IntermediateCatchEvent.js +44 -58
  31. package/dist/src/events/IntermediateThrowEvent.js +18 -23
  32. package/dist/src/events/StartEvent.js +109 -94
  33. package/dist/src/flows/Association.js +94 -100
  34. package/dist/src/flows/MessageFlow.js +86 -103
  35. package/dist/src/flows/SequenceFlow.js +173 -182
  36. package/dist/src/gateways/EventBasedGateway.js +88 -84
  37. package/dist/src/gateways/ExclusiveGateway.js +13 -16
  38. package/dist/src/gateways/InclusiveGateway.js +11 -14
  39. package/dist/src/gateways/ParallelGateway.js +11 -14
  40. package/dist/src/getPropertyValue.js +34 -34
  41. package/dist/src/io/BpmnIO.js +17 -14
  42. package/dist/src/io/EnvironmentDataObject.js +33 -29
  43. package/dist/src/io/EnvironmentDataStore.js +33 -29
  44. package/dist/src/io/EnvironmentDataStoreReference.js +35 -31
  45. package/dist/src/io/InputOutputSpecification.js +177 -168
  46. package/dist/src/io/Properties.js +117 -124
  47. package/dist/src/messageHelper.js +1 -1
  48. package/dist/src/process/Process.js +439 -362
  49. package/dist/src/process/ProcessExecution.js +748 -646
  50. package/dist/src/shared.js +2 -2
  51. package/dist/src/tasks/CallActivity.js +160 -0
  52. package/dist/src/tasks/LoopCharacteristics.js +309 -330
  53. package/dist/src/tasks/ReceiveTask.js +233 -182
  54. package/dist/src/tasks/ScriptTask.js +35 -41
  55. package/dist/src/tasks/ServiceImplementation.js +13 -20
  56. package/dist/src/tasks/ServiceTask.js +82 -75
  57. package/dist/src/tasks/SignalTask.js +97 -93
  58. package/dist/src/tasks/StandardLoopCharacteristics.js +1 -1
  59. package/dist/src/tasks/SubProcess.js +193 -175
  60. package/dist/src/tasks/Task.js +17 -19
  61. package/index.js +2 -0
  62. package/package.json +15 -15
  63. package/src/Api.js +65 -59
  64. package/src/Context.js +145 -140
  65. package/src/Environment.js +116 -100
  66. package/src/EventBroker.js +67 -68
  67. package/src/ExtensionsMapper.js +2 -2
  68. package/src/MessageFormatter.js +132 -74
  69. package/src/activity/Activity.js +915 -775
  70. package/src/activity/ActivityExecution.js +293 -247
  71. package/src/activity/Dummy.js +2 -2
  72. package/src/definition/Definition.js +437 -401
  73. package/src/definition/DefinitionExecution.js +598 -340
  74. package/src/error/Errors.js +11 -6
  75. package/src/eventDefinitions/CancelEventDefinition.js +164 -121
  76. package/src/eventDefinitions/CompensateEventDefinition.js +159 -124
  77. package/src/eventDefinitions/ConditionalEventDefinition.js +147 -104
  78. package/src/eventDefinitions/ErrorEventDefinition.js +190 -131
  79. package/src/eventDefinitions/EscalationEventDefinition.js +139 -101
  80. package/src/eventDefinitions/EventDefinitionExecution.js +127 -95
  81. package/src/eventDefinitions/LinkEventDefinition.js +160 -129
  82. package/src/eventDefinitions/MessageEventDefinition.js +178 -121
  83. package/src/eventDefinitions/SignalEventDefinition.js +162 -106
  84. package/src/eventDefinitions/TerminateEventDefinition.js +19 -19
  85. package/src/eventDefinitions/TimerEventDefinition.js +202 -167
  86. package/src/events/BoundaryEvent.js +156 -115
  87. package/src/events/EndEvent.js +15 -18
  88. package/src/events/IntermediateCatchEvent.js +40 -44
  89. package/src/events/IntermediateThrowEvent.js +15 -18
  90. package/src/events/StartEvent.js +84 -50
  91. package/src/flows/Association.js +98 -112
  92. package/src/flows/MessageFlow.js +81 -97
  93. package/src/flows/SequenceFlow.js +146 -160
  94. package/src/gateways/EventBasedGateway.js +75 -68
  95. package/src/gateways/ExclusiveGateway.js +8 -13
  96. package/src/gateways/InclusiveGateway.js +8 -13
  97. package/src/gateways/ParallelGateway.js +8 -13
  98. package/src/getPropertyValue.js +34 -33
  99. package/src/io/BpmnIO.js +20 -15
  100. package/src/io/EnvironmentDataObject.js +29 -18
  101. package/src/io/EnvironmentDataStore.js +29 -18
  102. package/src/io/EnvironmentDataStoreReference.js +31 -20
  103. package/src/io/InputOutputSpecification.js +154 -157
  104. package/src/io/Properties.js +95 -97
  105. package/src/process/Process.js +378 -333
  106. package/src/process/ProcessExecution.js +603 -553
  107. package/src/tasks/CallActivity.js +130 -0
  108. package/src/tasks/LoopCharacteristics.js +290 -289
  109. package/src/tasks/ReceiveTask.js +174 -107
  110. package/src/tasks/ScriptTask.js +27 -30
  111. package/src/tasks/ServiceImplementation.js +13 -18
  112. package/src/tasks/ServiceTask.js +67 -60
  113. package/src/tasks/SignalTask.js +77 -52
  114. package/src/tasks/StandardLoopCharacteristics.js +1 -1
  115. package/src/tasks/SubProcess.js +184 -157
  116. package/src/tasks/Task.js +15 -19
package/CHANGELOG.md ADDED
@@ -0,0 +1,335 @@
1
+ Changelog
2
+ =========
3
+
4
+ # 8.0.0
5
+
6
+ ## Breaking
7
+
8
+ - all processes will invoked with a cloned context and environment
9
+ - a cloned environment will no longer forward output
10
+ - remove output prop from process state. Not sure why it was there in the first place?
11
+ - remove mysterious options symbol from Environment
12
+
13
+ ## Fix
14
+
15
+ - fix double completion if resumed on error
16
+
17
+ # 7.0.0
18
+
19
+ Support Call activity
20
+
21
+ - prototype all behaviours
22
+ - add api fail function
23
+
24
+ ## Breaking
25
+
26
+ - all Behaviours will be invoked with new
27
+ - unable to make activity throw if emitFatal is called within activity, unsure why?
28
+
29
+ ## Fix
30
+
31
+ - Signals are now broadcasted to multiple targets, previously it stopped at first catch
32
+
33
+ # 6.0.0
34
+
35
+ Isomorphism and state.
36
+
37
+ ## Breaking
38
+ - Stop calling `setTimeout.call(owner, ...args)` in default Timers.js. Doesn't work in browsers and results in `TypeError: Illegal invocation`. Hence, timeout callback context is no longer the owner of the timer. Altough, it works fine in nodejs. So feel free to build your own [Timers](/docs/Timers.md) and pass it as an [option](/docs/Definition.md).
39
+ - Removed sequence flow function `evaluateCondition` since it not used and was inconsistent. Use `getCondition().execute(...args)` instead.
40
+ - Generate a slimmer state. Element broker state now only contains queues that have pending messages and sometimes an exchange with undelivered message. Not really breaking unless broker state was inspected for some reason
41
+
42
+ ## Bugfix
43
+ - Sequence flow with expression condition that throws will now terminate the run
44
+ - Association counters were flipped
45
+
46
+ # 5.2.0
47
+
48
+ - add basic support for bpmn:Property, bpmn:DataStore, and bpmn:DataStoreReference
49
+
50
+ # 5.1.3
51
+
52
+ - bump smqp to even less CPU intense version
53
+ - fix shake routing key pattern bug
54
+
55
+ # 5.1.2
56
+
57
+ - stop building with node 10 (mocha)
58
+ - bump smqp to less CPU intense version
59
+
60
+ # 5.1.1
61
+
62
+ Sequential loop trouble.
63
+
64
+ ## Bugfix
65
+ - Fix nasty bug in sequential multi-instance loop where it ran to infinity when cardinality is set to 0. Thank you @deelef for uncovering this!
66
+ - set cardinality to collection length if cardinality expression resolved to nothing
67
+
68
+ # 5.1.0
69
+
70
+ - Support `bpmn:Group` as dummy placeholder
71
+ - Support `bpmn:Category` as dummy placeholder
72
+
73
+ # 5.0.1
74
+
75
+ Improved expression handling by @javierlopezaircall
76
+
77
+ - expression function call with string argument containing commas is now supported
78
+
79
+ # 5.0.0
80
+
81
+ Multi-/Standard-loop characteristics.
82
+
83
+ ## Breaking
84
+ - Cardinality and/or a collection is now required if designing a parallel multi instance loop
85
+ - Start throwing error when cardinality is invalid, so no need for TS yet...
86
+
87
+ ## Addititions
88
+ - Introduce new setting to control parallel loop batch size, defaults to 50
89
+
90
+ ## Bugfix
91
+ - Fixed bug where multi instance parallel loop stalled when more than 100 iterations where required
92
+
93
+ # 4.4.2
94
+
95
+ - wrestling with 4.4.1 edge case
96
+
97
+ # 4.4.1
98
+
99
+ - smqp retains undelivered execute.timer message in exchange when state is saved... eh, just fixed resume timers hard-to-explain-edge-case
100
+
101
+ # 4.4.0
102
+
103
+ improve expression handling
104
+
105
+ - cover false as expression function argument
106
+
107
+ # 4.3.4
108
+
109
+ - Fix multiple start events not completing process. Diverging flows to different ends stalled execution
110
+
111
+ # 4.3.3
112
+
113
+ - Bump `smqp@3.2`
114
+
115
+ # 4.3.2
116
+
117
+ - For some anxious reason parallel join gateways were initialized over and over again when inbound flows were touched. This stops now. A recovered and resumed run can now continue instead of waiting for neurotic joins. Thankyou @mdwheele for this discovery.
118
+
119
+ # 4.3.1
120
+
121
+ - Stop throwing errors when failing to parse `timeDuration` or `timeDate` as it was before and still should've been before someone changed it
122
+
123
+ # 4.3.0
124
+
125
+ Timetracking
126
+
127
+ - New [environment](/docs/Environment.md) [timers]((/docs/Timers.md)) property with tracked `setTimeout` and `clearTimeout`. Used by TimerEventDefinition and by inline scripts if necessary
128
+
129
+ # 4.2.0
130
+
131
+ Flaky formatting
132
+
133
+ - Add tests for formatting workaround by publishing directly to `format-run-q`
134
+ - Support formatting failure by adding `errorRoutingKey` or just publish format message with routing key ending in `.error`
135
+
136
+ # 4.1.4
137
+
138
+ Outbound sequence flows again.
139
+
140
+ - Remove redundant outbound sequence flow logic in Inclusive- and ExclusiveGateway. Flag ExclusiveGateway that only one should be taken
141
+ - If no outbound sequence was taken when activity completes the activity will throw. As it did in the above gateways. This might break stuff, but I guess it actually should
142
+
143
+ # 4.1.3
144
+
145
+ ## Bugfix
146
+ - Wrap conditional sequence flow script error in an Activity error
147
+
148
+ # 4.1.2
149
+
150
+ ## Bugfix
151
+ - Return something else than undefined when calling definition run (!). The definition is returned.
152
+
153
+ # 4.1.1
154
+
155
+ ## Bugfix
156
+ - Formatting message on activity end resulted in nasty bug where outbound flows were affected and run stopped prematurely. This stops now.
157
+
158
+ # 4.1.0
159
+
160
+ - Make sure resumed activity wait events are emitted with a flag indicating that they are resumed - `content.isRecovered`. Can facilitate decisions regarding save state and stop. A more proper name would've been `isResumed` but `isRecovered` was used by `SignalTask`. No need for a breaking major for this small addition
161
+
162
+ # 4.0.0
163
+
164
+ Refactor scripts again
165
+
166
+ ## Breaking
167
+ - ScriptTask now requires that a script is returned by [Script handler](/docs/Scripts.md) can off course return a dummy function
168
+ - Conditional SequnceFlow respects script if returned by script handler
169
+
170
+ # 3.1.0
171
+
172
+ - All sequence flows with condition, regardless of language, can use script condition using [register function](/docs/Scripts.md#registeractivity). If condition language is stipulated then script is required.
173
+
174
+ # 3.0.0
175
+
176
+ ## Breaking
177
+ - Outbound sequence flow with script condition requires `next(err, result)` to be called where result decides if it should be taken or discarded
178
+
179
+ ## Addititions
180
+ - Outbound sequence flow conditions are evaluated for all activities, as well as default flow
181
+ - Process now also have `cancelActivity` function for facilitation
182
+
183
+ # 2.1.0
184
+
185
+ Transactions and compensation if canceled.
186
+
187
+ ## Additions
188
+ - Add support for Transaction
189
+ - Add support for CancelEventDefinition
190
+
191
+ # 2.0.0
192
+
193
+ Diagram sequence flow order affects recover as per [engine issue 105](https://github.com/paed01/bpmn-engine/issues/105).
194
+
195
+ - Refactored outbound flow handling to an extent that flows are now taken and discarded before leaving the activity run
196
+ - As an effect of above - SequenceFlow pre flight event disappeared
197
+ - Bonus: Make EventBasedGateway behave as it should
198
+
199
+ # 1.6.1
200
+
201
+ ## Bugfix:
202
+ - Resumed definition with multiple loopbacks ran towards infinity, thats now finit as expected since there is an end to the fun. Thankyou @aowakennomai for uncovering bug
203
+
204
+ # 1.6.0
205
+
206
+ - Publish `definition.resume` event when Definition is resumed
207
+
208
+ # 1.5.0
209
+
210
+ - Include input when throwing signal or message
211
+
212
+ # 1.4.0
213
+
214
+ Run a non-executable process.
215
+
216
+ ## Additions
217
+ - Add support for runnning a process that is NOT marked as executable by calling `definition.run({processId})`
218
+
219
+ ## Bugfix
220
+ - Multiple start events were not resumed in an orderly fashion when recovered, process was stuck, but is no more
221
+ - Include occasional sub process sequence when shaking activities
222
+
223
+ # 1.3.0
224
+
225
+ [TimerEventDefinition](/docs/TimerEventDefinition.md) `timeDate` and `timeCycle`.
226
+
227
+ ## Additions
228
+ - Add support for TimerEventDefinition `timeDate`. Will behave like `timeDuration` unless the date is due - timeout
229
+ - TimerEventDefinition `timeCycle` is recognized but no timer is started. The non-action is due to uncertainty regarding cycle format. The event definition is stalled and waits for cancel
230
+ - New [`cancelActivity`](/docs/Definition.md#cancelactivitymessage) function is added to definition
231
+ - TimerEventDefinition now recognises api cancel calls. Which comes in handy if a time cycle is identified and needs to continue
232
+
233
+ # 1.2.0
234
+
235
+ - a start event with form that is waiting for input can now also be signaled from definition
236
+
237
+ # 1.1.0
238
+
239
+ ## Additions
240
+ - Add shake functionality to [definition](/docs/Definition.md) to facilitate getting the run sequences of an activity or processes by calling `definition.shake([activityId])`
241
+
242
+ ## Patch
243
+ - Bump to smqp@3
244
+ - Patch copyright year
245
+
246
+ # 1.0.0
247
+
248
+ Make it easier and possible to signal activities from [definition](/docs/Definition.md) by calling `definition.signal(message)`.
249
+
250
+ ## Breaking
251
+ - MessageEventDefinition and SignalEventDefinition will only listens for pre-execution messages if contained in a starting event
252
+
253
+ ## Bugfix
254
+ - Parallel looped ReceiveTask iterations all completed with one message, that was not intended and doesn't anymore. One message equals one completed iteration
255
+
256
+ ## Minor
257
+ - Bump to smqp@2.2
258
+ - Bump dev dependencies
259
+
260
+ # 0.13.1
261
+
262
+ - Bump to smqp@2
263
+ - Bump dev dependencies
264
+
265
+ # 0.12.1
266
+
267
+ - Patch `moddle-context-serializer` to relieve project from nasty bug where message flows sourcing from empty lane threw find of undefined
268
+
269
+ # 0.12.0
270
+
271
+ - Allow override of default expression handling and parsing
272
+ - Map BusinessRuleTask to ServiceTask
273
+
274
+ # 0.11.0
275
+
276
+ - Execute extensions when initiating process
277
+
278
+ # 0.10.0
279
+
280
+ - Recover now recovers environment as well
281
+
282
+ ## Bugfix
283
+ - getting state no longer throws if a placeholder activity is in activities
284
+
285
+ # 0.9.0
286
+
287
+ ## Addition
288
+ - Compensation is now supported, but only by association
289
+
290
+ ## Bugfix
291
+ - Fix weird code where context ignores passed SequenceFlow and MessageFlow Behaviour function when making new instances
292
+
293
+ # 0.8.1
294
+
295
+ - Expose SequenceFlow name in published events and in api
296
+
297
+ # 0.8.0
298
+
299
+ - Support StandardLoopCondition
300
+
301
+ # 0.7.0
302
+
303
+ - Support LinkEventDefinition
304
+
305
+ # 0.6.1
306
+
307
+ - Defensive resume #8
308
+
309
+ # 0.6.0
310
+
311
+ Focused on messaging.
312
+
313
+ ## Breaking
314
+ - ReceiveTask expects referenced message, it can still be signaled
315
+ - IntermediateCatchEvent that lacks event definitions now expects to be signaled
316
+ - Catching MessageEventDefinition expects referenced message. or at least a matching message id
317
+
318
+ ## Additions
319
+ - IntermediateThrowEvent with MessageEventDefinition now throws Message
320
+ - Start activities conforming to the same flow is discarded when the flow reaches an end activity, unless a join is put in between
321
+
322
+ # 0.5.0
323
+
324
+ - allow a waiting UserTask to trigger an execution error
325
+ - catch signal fired before event execution
326
+
327
+ # 0.4.0
328
+
329
+ ## Breaking
330
+ - Catching ErrorEventDefinition now catches BpmnErrors. Support for catching by error code and anonymous errors is still supported
331
+ - Event with throwing ErrorEventDefinition now throws non-fatal BpmnErrors
332
+
333
+ ## Additions
334
+ - Expose element name on Api
335
+ - Extension function `deactivate` is now actually called, called on leave and stop
package/README.md CHANGED
@@ -17,6 +17,7 @@ The following elements are tested and supported.
17
17
  - [Process](/docs/Process.md): Executes and keeps track of activity elements
18
18
  - BpmnError
19
19
  - BoundaryEvent
20
+ - [CallActivity](/docs/CallActivity.md)
20
21
  - CancelEventDefinition
21
22
  - ConditionalEventDefinition
22
23
  - CompensateEventDefinition
@@ -47,6 +48,8 @@ The following elements are tested and supported.
47
48
  - MessageFlow
48
49
  - [MultiInstanceLoopCharacteristics](/docs/LoopCharacteristics.md)
49
50
  - [ParallelGateway](/docs/ParallelGateway.md)
51
+ - Participant
52
+ - Lane: exposed on activity
50
53
  - [Property](/docs/BpmnIO.md)
51
54
  - ReceiveTask
52
55
  - ScriptTask
package/dist/index.js CHANGED
@@ -27,12 +27,30 @@ Object.defineProperty(exports, "BpmnError", {
27
27
  return _BpmnError.default;
28
28
  }
29
29
  });
30
+ Object.defineProperty(exports, "BusinessRuleTask", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _ServiceTask.default;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "CallActivity", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _CallActivity.default;
40
+ }
41
+ });
30
42
  Object.defineProperty(exports, "CancelEventDefinition", {
31
43
  enumerable: true,
32
44
  get: function () {
33
45
  return _CancelEventDefinition.default;
34
46
  }
35
47
  });
48
+ Object.defineProperty(exports, "Category", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _Dummy.default;
52
+ }
53
+ });
36
54
  Object.defineProperty(exports, "CompensateEventDefinition", {
37
55
  enumerable: true,
38
56
  get: function () {
@@ -81,24 +99,6 @@ Object.defineProperty(exports, "Dummy", {
81
99
  return _Dummy.default;
82
100
  }
83
101
  });
84
- Object.defineProperty(exports, "TextAnnotation", {
85
- enumerable: true,
86
- get: function () {
87
- return _Dummy.default;
88
- }
89
- });
90
- Object.defineProperty(exports, "Group", {
91
- enumerable: true,
92
- get: function () {
93
- return _Dummy.default;
94
- }
95
- });
96
- Object.defineProperty(exports, "Category", {
97
- enumerable: true,
98
- get: function () {
99
- return _Dummy.default;
100
- }
101
- });
102
102
  Object.defineProperty(exports, "EndEvent", {
103
103
  enumerable: true,
104
104
  get: function () {
@@ -141,6 +141,12 @@ Object.defineProperty(exports, "ExclusiveGateway", {
141
141
  return _ExclusiveGateway.default;
142
142
  }
143
143
  });
144
+ Object.defineProperty(exports, "Group", {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _Dummy.default;
148
+ }
149
+ });
144
150
  Object.defineProperty(exports, "InclusiveGateway", {
145
151
  enumerable: true,
146
152
  get: function () {
@@ -171,10 +177,10 @@ Object.defineProperty(exports, "LinkEventDefinition", {
171
177
  return _LinkEventDefinition.default;
172
178
  }
173
179
  });
174
- Object.defineProperty(exports, "MultiInstanceLoopCharacteristics", {
180
+ Object.defineProperty(exports, "ManualTask", {
175
181
  enumerable: true,
176
182
  get: function () {
177
- return _LoopCharacteristics.default;
183
+ return _SignalTask.default;
178
184
  }
179
185
  });
180
186
  Object.defineProperty(exports, "Message", {
@@ -195,6 +201,12 @@ Object.defineProperty(exports, "MessageFlow", {
195
201
  return _MessageFlow.default;
196
202
  }
197
203
  });
204
+ Object.defineProperty(exports, "MultiInstanceLoopCharacteristics", {
205
+ enumerable: true,
206
+ get: function () {
207
+ return _LoopCharacteristics.default;
208
+ }
209
+ });
198
210
  Object.defineProperty(exports, "ParallelGateway", {
199
211
  enumerable: true,
200
212
  get: function () {
@@ -225,28 +237,22 @@ Object.defineProperty(exports, "ScriptTask", {
225
237
  return _ScriptTask.default;
226
238
  }
227
239
  });
228
- Object.defineProperty(exports, "SequenceFlow", {
229
- enumerable: true,
230
- get: function () {
231
- return _SequenceFlow.default;
232
- }
233
- });
234
- Object.defineProperty(exports, "ServiceImplementation", {
240
+ Object.defineProperty(exports, "SendTask", {
235
241
  enumerable: true,
236
242
  get: function () {
237
- return _ServiceImplementation.default;
243
+ return _ServiceTask.default;
238
244
  }
239
245
  });
240
- Object.defineProperty(exports, "SendTask", {
246
+ Object.defineProperty(exports, "SequenceFlow", {
241
247
  enumerable: true,
242
248
  get: function () {
243
- return _ServiceTask.default;
249
+ return _SequenceFlow.default;
244
250
  }
245
251
  });
246
- Object.defineProperty(exports, "BusinessRuleTask", {
252
+ Object.defineProperty(exports, "ServiceImplementation", {
247
253
  enumerable: true,
248
254
  get: function () {
249
- return _ServiceTask.default;
255
+ return _ServiceImplementation.default;
250
256
  }
251
257
  });
252
258
  Object.defineProperty(exports, "ServiceTask", {
@@ -267,18 +273,6 @@ Object.defineProperty(exports, "SignalEventDefinition", {
267
273
  return _SignalEventDefinition.default;
268
274
  }
269
275
  });
270
- Object.defineProperty(exports, "ManualTask", {
271
- enumerable: true,
272
- get: function () {
273
- return _SignalTask.default;
274
- }
275
- });
276
- Object.defineProperty(exports, "UserTask", {
277
- enumerable: true,
278
- get: function () {
279
- return _SignalTask.default;
280
- }
281
- });
282
276
  Object.defineProperty(exports, "SignalTask", {
283
277
  enumerable: true,
284
278
  get: function () {
@@ -315,6 +309,12 @@ Object.defineProperty(exports, "TerminateEventDefinition", {
315
309
  return _TerminateEventDefinition.default;
316
310
  }
317
311
  });
312
+ Object.defineProperty(exports, "TextAnnotation", {
313
+ enumerable: true,
314
+ get: function () {
315
+ return _Dummy.default;
316
+ }
317
+ });
318
318
  Object.defineProperty(exports, "TimerEventDefinition", {
319
319
  enumerable: true,
320
320
  get: function () {
@@ -327,6 +327,12 @@ Object.defineProperty(exports, "Transaction", {
327
327
  return _Transaction.default;
328
328
  }
329
329
  });
330
+ Object.defineProperty(exports, "UserTask", {
331
+ enumerable: true,
332
+ get: function () {
333
+ return _SignalTask.default;
334
+ }
335
+ });
330
336
 
331
337
  var _Activity = _interopRequireDefault(require("./src/activity/Activity"));
332
338
 
@@ -336,6 +342,8 @@ var _BoundaryEvent = _interopRequireDefault(require("./src/events/BoundaryEvent"
336
342
 
337
343
  var _BpmnError = _interopRequireDefault(require("./src/error/BpmnError"));
338
344
 
345
+ var _CallActivity = _interopRequireDefault(require("./src/tasks/CallActivity"));
346
+
339
347
  var _CancelEventDefinition = _interopRequireDefault(require("./src/eventDefinitions/CancelEventDefinition"));
340
348
 
341
349
  var _CompensateEventDefinition = _interopRequireDefault(require("./src/eventDefinitions/CompensateEventDefinition"));