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