UNPKG
bpmn-elements
Version:
latest (17.3.0)
rc (18.0.6)
18.0.6
18.0.5
18.0.4
18.0.3
18.0.2
18.0.1
18.0.0
17.3.0
17.2.2
17.2.1
17.2.0
17.1.0
17.0.0
16.2.2
16.2.1
16.2.0
16.1.0
16.0.0
15.0.3
15.0.2
15.0.1
15.0.0
14.1.0
14.0.1
14.0.0
13.2.0
13.1.2
13.1.1
13.1.0
13.0.0
12.0.0
11.1.1
11.0.1
11.0.0
10.1.0
10.0.0
9.2.0
9.1.3
9.1.2
9.1.1
9.1.0
9.0.0
8.2.4
8.2.3
8.2.2
8.2.1
8.2.0
8.1.0
8.0.1
8.0.0
7.0.0
6.0.1
6.0.0
5.2.0
5.1.3
5.1.2
5.1.1
5.1.0
5.0.1
5.0.0
4.4.2
4.4.1
4.4.0
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
4.2.0
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.1.0
3.0.0
2.1.0
2.0.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
0.13.1
0.12.1
0.12.0
0.11.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Executable workflow elements based on BPMN 2.0
github.com/paed01/bpmn-elements
paed01/bpmn-elements
bpmn-elements
/
src
/
tasks
/
Transaction.js
8 lines
(6 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
SubProcess
from
'./SubProcess.js'
;
export
default
function
Transaction
(
activityDef, context
) {
const
transaction = {
type
:
'transaction'
, ...activityDef,
isTransaction
:
true
};
const
activity =
SubProcess
(transaction, context);
return
activity; }