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