@5minds/processcube_engine_sdk 5.0.0-feature-be3a23-lpjundoh → 5.0.0-feature-cafaa5-lpk388wt
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/dist/ProcessModel/Model/BpmnComponentTags.d.ts +65 -62
- package/dist/ProcessModel/Model/Definitions.d.ts +1 -0
- package/dist/ProcessModel/Model/Gateways/InclusiveGateway.d.ts +1 -1
- package/dist/ProcessModel/Model/XMLNS.d.ts +3 -0
- package/dist/ProcessModel/ProcessModelFacade/ProcessModelFacade.d.ts +3 -5
- package/dist/ProcessModel/ProcessModelFacade/SubProcessModelFacade.d.ts +1 -2
- package/dist/amd/ProcessModel/Model/BpmnComponentTags.js +64 -61
- package/dist/amd/ProcessModel/Model/BpmnComponentTags.js.map +1 -1
- package/dist/amd/ProcessModel/Model/Definitions.js.map +1 -1
- package/dist/amd/ProcessModel/Model/Gateways/InclusiveGateway.js +1 -1
- package/dist/amd/ProcessModel/Model/XMLNS.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelFacade/ProcessModelFacade.js +10 -58
- package/dist/amd/ProcessModel/ProcessModelFacade/ProcessModelFacade.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelFacade/SubProcessModelFacade.js +10 -31
- package/dist/amd/ProcessModel/ProcessModelFacade/SubProcessModelFacade.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/BpmnModelParser.js +2 -1
- package/dist/amd/ProcessModel/ProcessModelParser/BpmnModelParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/BpmnParserService.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/DefinitionParser.js +5 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/DefinitionParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/ExtensionPropertyParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/ReceiveTaskParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js +3 -3
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/Parser/ProcessLaneSetParser.js.map +1 -1
- package/dist/amd/ProcessModel/ProcessModelParser/TypeFactory.js.map +1 -1
- package/dist/commonjs/ProcessModel/Model/BpmnComponentTags.js +64 -61
- package/dist/commonjs/ProcessModel/Model/BpmnComponentTags.js.map +1 -1
- package/dist/commonjs/ProcessModel/Model/Definitions.js.map +1 -1
- package/dist/commonjs/ProcessModel/Model/Gateways/InclusiveGateway.js +1 -1
- package/dist/commonjs/ProcessModel/Model/XMLNS.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelFacade/ProcessModelFacade.js +10 -58
- package/dist/commonjs/ProcessModel/ProcessModelFacade/ProcessModelFacade.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelFacade/SubProcessModelFacade.js +10 -31
- package/dist/commonjs/ProcessModel/ProcessModelFacade/SubProcessModelFacade.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/BpmnModelParser.js +2 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/BpmnModelParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/BpmnParserService.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/DefinitionParser.js +5 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/DefinitionParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/ExtensionPropertyParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/ReceiveTaskParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js +3 -3
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/ProcessLaneSetParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/TypeFactory.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
* These tags are usually found at the root level of the process or the definition.
|
|
4
4
|
*/
|
|
5
5
|
export declare enum CommonElement {
|
|
6
|
-
Collaboration = "
|
|
7
|
-
Definitions = "
|
|
6
|
+
Collaboration = "collaboration",
|
|
7
|
+
Definitions = "definitions",
|
|
8
8
|
Diagram = "bpmndi:BPMNDiagram",
|
|
9
|
-
Participant = "
|
|
10
|
-
Process = "
|
|
11
|
-
Error = "
|
|
12
|
-
Signal = "
|
|
13
|
-
Message = "
|
|
14
|
-
DataStoreReference = "
|
|
15
|
-
DataStore = "
|
|
16
|
-
DataObjectReference = "
|
|
17
|
-
DataObject = "
|
|
18
|
-
Association = "
|
|
19
|
-
DataInputAssociation = "
|
|
20
|
-
DataOutputAssociation = "
|
|
21
|
-
MessageFlow = "
|
|
22
|
-
SequenceFlow = "
|
|
23
|
-
TextAnnotation = "
|
|
24
|
-
BpmnSourceRef = "
|
|
25
|
-
BpmnTargetRef = "
|
|
9
|
+
Participant = "participant",
|
|
10
|
+
Process = "process",
|
|
11
|
+
Error = "error",
|
|
12
|
+
Signal = "signal",
|
|
13
|
+
Message = "message",
|
|
14
|
+
DataStoreReference = "dataStoreReference",
|
|
15
|
+
DataStore = "dataStore",
|
|
16
|
+
DataObjectReference = "dataObjectReference",
|
|
17
|
+
DataObject = "dataObject",
|
|
18
|
+
Association = "association",
|
|
19
|
+
DataInputAssociation = "dataInputAssociation",
|
|
20
|
+
DataOutputAssociation = "dataOutputAssociation",
|
|
21
|
+
MessageFlow = "messageFlow",
|
|
22
|
+
SequenceFlow = "sequenceFlow",
|
|
23
|
+
TextAnnotation = "textAnnotation",
|
|
24
|
+
BpmnSourceRef = "sourceRef",
|
|
25
|
+
BpmnTargetRef = "targetRef"
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Contains all XML tags contained within the "xmlns" header tag.
|
|
@@ -33,77 +33,80 @@ export declare enum XmlnsProperty {
|
|
|
33
33
|
di = "xmlns:di",
|
|
34
34
|
dc = "xmlns:dc",
|
|
35
35
|
camunda = "xmlns:camunda",
|
|
36
|
-
xsi = "xmlns:xsi"
|
|
36
|
+
xsi = "xmlns:xsi",
|
|
37
|
+
omgdc = "xmlns:omgdc",
|
|
38
|
+
omgdi = "xmlns:omgdi",
|
|
39
|
+
signavio = "xmlns:signavio"
|
|
37
40
|
}
|
|
38
41
|
/**
|
|
39
42
|
* Contains all tags associated with lanes and lane sets.
|
|
40
43
|
*/
|
|
41
44
|
export declare enum Lane {
|
|
42
|
-
Lane = "
|
|
43
|
-
LaneSet = "
|
|
45
|
+
Lane = "lane",
|
|
46
|
+
LaneSet = "laneSet"
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
46
49
|
* Contains all tags that a lane can have.
|
|
47
50
|
*/
|
|
48
51
|
export declare enum LaneProperty {
|
|
49
|
-
ChildLaneSet = "
|
|
50
|
-
FlowNodeRef = "
|
|
52
|
+
ChildLaneSet = "childLaneSet",
|
|
53
|
+
FlowNodeRef = "flowNodeRef"
|
|
51
54
|
}
|
|
52
55
|
/**
|
|
53
56
|
* Contains the tags for all known gateway types.
|
|
54
57
|
*/
|
|
55
58
|
export declare enum GatewayElement {
|
|
56
|
-
ComplexGateway = "
|
|
57
|
-
EventBasedGateway = "
|
|
58
|
-
ExclusiveGateway = "
|
|
59
|
-
InclusiveGateway = "
|
|
60
|
-
ParallelGateway = "
|
|
59
|
+
ComplexGateway = "complexGateway",
|
|
60
|
+
EventBasedGateway = "eventBasedGateway",
|
|
61
|
+
ExclusiveGateway = "exclusiveGateway",
|
|
62
|
+
InclusiveGateway = "inclusiveGateway",
|
|
63
|
+
ParallelGateway = "parallelGateway"
|
|
61
64
|
}
|
|
62
65
|
/**
|
|
63
66
|
* Contains the tags for all known event types.
|
|
64
67
|
*/
|
|
65
68
|
export declare enum EventElement {
|
|
66
|
-
StartEvent = "
|
|
67
|
-
EndEvent = "
|
|
68
|
-
Boundary = "
|
|
69
|
-
IntermediateCatchEvent = "
|
|
70
|
-
IntermediateThrowEvent = "
|
|
69
|
+
StartEvent = "startEvent",
|
|
70
|
+
EndEvent = "endEvent",
|
|
71
|
+
Boundary = "boundaryEvent",
|
|
72
|
+
IntermediateCatchEvent = "intermediateCatchEvent",
|
|
73
|
+
IntermediateThrowEvent = "intermediateThrowEvent"
|
|
71
74
|
}
|
|
72
75
|
/**
|
|
73
76
|
* Contains the tags for all known task types.
|
|
74
77
|
*/
|
|
75
78
|
export declare enum TaskElement {
|
|
76
|
-
untypedTask = "
|
|
77
|
-
CallActivity = "
|
|
78
|
-
SubProcess = "
|
|
79
|
-
BusinessRuleTask = "
|
|
80
|
-
ManualTask = "
|
|
81
|
-
ScriptTask = "
|
|
82
|
-
ServiceTask = "
|
|
83
|
-
UserTask = "
|
|
84
|
-
SendTask = "
|
|
85
|
-
ReceiveTask = "
|
|
86
|
-
MethodInvocation = "
|
|
87
|
-
WebServiceInvocation = "
|
|
79
|
+
untypedTask = "task",
|
|
80
|
+
CallActivity = "callActivity",
|
|
81
|
+
SubProcess = "subProcess",
|
|
82
|
+
BusinessRuleTask = "businessRuleTask",
|
|
83
|
+
ManualTask = "manualTask",
|
|
84
|
+
ScriptTask = "scriptTask",
|
|
85
|
+
ServiceTask = "serviceTask",
|
|
86
|
+
UserTask = "userTask",
|
|
87
|
+
SendTask = "sendTask",
|
|
88
|
+
ReceiveTask = "receiveTask",
|
|
89
|
+
MethodInvocation = "methodInvocation",
|
|
90
|
+
WebServiceInvocation = "webServiceInvocation"
|
|
88
91
|
}
|
|
89
92
|
/**
|
|
90
93
|
* Contains all BPMN tags that a BPMN element can have.
|
|
91
94
|
*/
|
|
92
95
|
export declare enum FlowElementProperty {
|
|
93
|
-
ErrorEventDefinition = "
|
|
94
|
-
LinkEventDefinition = "
|
|
95
|
-
MessageEventDefinition = "
|
|
96
|
-
SignalEventDefinition = "
|
|
97
|
-
TerminateEventDefinition = "
|
|
98
|
-
TimerEventDefinition = "
|
|
99
|
-
BpmnScript = "
|
|
100
|
-
ConditionExpression = "
|
|
101
|
-
Documentation = "
|
|
102
|
-
ExtensionElements = "
|
|
103
|
-
DataInputAssociation = "
|
|
104
|
-
DataOutputAssociation = "
|
|
105
|
-
SequenceFlowIncoming = "
|
|
106
|
-
SequenceFlowOutgoing = "
|
|
96
|
+
ErrorEventDefinition = "errorEventDefinition",
|
|
97
|
+
LinkEventDefinition = "linkEventDefinition",
|
|
98
|
+
MessageEventDefinition = "messageEventDefinition",
|
|
99
|
+
SignalEventDefinition = "signalEventDefinition",
|
|
100
|
+
TerminateEventDefinition = "terminateEventDefinition",
|
|
101
|
+
TimerEventDefinition = "timerEventDefinition",
|
|
102
|
+
BpmnScript = "script",
|
|
103
|
+
ConditionExpression = "conditionExpression",
|
|
104
|
+
Documentation = "documentation",
|
|
105
|
+
ExtensionElements = "extensionElements",
|
|
106
|
+
DataInputAssociation = "dataInputAssociation",
|
|
107
|
+
DataOutputAssociation = "dataOutputAssociation",
|
|
108
|
+
SequenceFlowIncoming = "incoming",
|
|
109
|
+
SequenceFlowOutgoing = "outgoing",
|
|
107
110
|
XsiType = "xsi:type"
|
|
108
111
|
}
|
|
109
112
|
/**
|
|
@@ -136,6 +139,6 @@ export declare enum CamundaProperty {
|
|
|
136
139
|
* Contains the loop and multi instance markers.
|
|
137
140
|
*/
|
|
138
141
|
export declare enum LoopMarkers {
|
|
139
|
-
Loop = "
|
|
140
|
-
MultiInstance = "
|
|
142
|
+
Loop = "standardLoopCharacteristics",
|
|
143
|
+
MultiInstance = "multiInstanceLoopCharacteristics"
|
|
141
144
|
}
|
|
@@ -3,7 +3,7 @@ import { Gateway } from './Gateway';
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes an InclusiveGateway.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Currently not supported.
|
|
7
7
|
*/
|
|
8
8
|
export declare class InclusiveGateway extends Gateway {
|
|
9
9
|
get bpmnType(): BpmnType;
|
|
@@ -18,12 +18,10 @@ export declare class ProcessModelFacade {
|
|
|
18
18
|
getOutgoingSequenceFlowsFor(flowNodeId: string): Array<Model.ProcessElements.SequenceFlow>;
|
|
19
19
|
getSequenceFlowBetween(sourceNode: Model.Base.FlowNode, targetNode: Model.Base.FlowNode): Model.ProcessElements.SequenceFlow;
|
|
20
20
|
getBoundaryEventsFor(flowNode: Model.Base.FlowNode): Array<Model.Events.BoundaryEvent>;
|
|
21
|
-
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode
|
|
22
|
-
traversePreviousFlowNodesFor(flowNode: Model.Base.FlowNode, visitedNodes?: Set<string>): Array<Model.Base.FlowNode> | undefined;
|
|
21
|
+
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode): Array<Model.Base.FlowNode>;
|
|
23
22
|
getNextFlowNodesFor(flowNode: Model.Base.FlowNode): Array<Model.Base.FlowNode>;
|
|
24
23
|
getLinkCatchEventsByLinkName(linkName: string): Array<Model.Events.IntermediateCatchEvent>;
|
|
25
|
-
|
|
26
|
-
findParallelJoinGatewayAfterSplitGateway(splitGateway: Model.Gateways.Gateway): Model.Gateways.Gateway;
|
|
24
|
+
findJoinGatewayAfterSplitGateway(splitGateway: Model.Gateways.Gateway): Model.Gateways.Gateway;
|
|
27
25
|
getDataObjects(): Array<Model.ProcessElements.DataObject>;
|
|
28
26
|
getInputDataObjectReferences(): Array<Model.ProcessElements.DataObjectReference>;
|
|
29
27
|
getOutputDataObjectReferencesForFlowNode(flowNodeId: string): Array<Model.ProcessElements.DataObjectReference>;
|
|
@@ -41,5 +39,5 @@ export declare class ProcessModelFacade {
|
|
|
41
39
|
* or undefined, if not matching lane was found.
|
|
42
40
|
*/
|
|
43
41
|
protected findLaneForFlowNodeIdFromLaneSet(flowNodeId: string, laneSet: Model.ProcessElements.LaneSet): Model.ProcessElements.Lane;
|
|
44
|
-
private
|
|
42
|
+
private getParallelJoinGatewaysForCurrentBranch;
|
|
45
43
|
}
|
|
@@ -13,8 +13,7 @@ export declare class SubProcessModelFacade extends ProcessModelFacade {
|
|
|
13
13
|
getOutgoingSequenceFlowsFor(flowNodeId: string): Array<Model.ProcessElements.SequenceFlow>;
|
|
14
14
|
getSequenceFlowBetween(sourceNode: Model.Base.FlowNode, targetNode: Model.Base.FlowNode): Model.ProcessElements.SequenceFlow;
|
|
15
15
|
getBoundaryEventsFor(flowNode: Model.Base.FlowNode): Array<Model.Events.BoundaryEvent>;
|
|
16
|
-
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode
|
|
17
|
-
traversePreviousFlowNodesFor(flowNode: Model.Base.FlowNode, visitedNodes?: Set<string>): Array<Model.Base.FlowNode> | undefined;
|
|
16
|
+
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode): Array<Model.Base.FlowNode>;
|
|
18
17
|
getNextFlowNodesFor(flowNode: Model.Base.FlowNode): Array<Model.Base.FlowNode>;
|
|
19
18
|
getLaneForFlowNode(flowNodeId: string): Model.ProcessElements.Lane;
|
|
20
19
|
getLinkCatchEventsByLinkName(linkName: string): Array<Model.Events.IntermediateCatchEvent>;
|
|
@@ -8,26 +8,26 @@ define(["require", "exports"], function (require, exports) {
|
|
|
8
8
|
*/
|
|
9
9
|
var CommonElement;
|
|
10
10
|
(function (CommonElement) {
|
|
11
|
-
CommonElement["Collaboration"] = "
|
|
12
|
-
CommonElement["Definitions"] = "
|
|
11
|
+
CommonElement["Collaboration"] = "collaboration";
|
|
12
|
+
CommonElement["Definitions"] = "definitions";
|
|
13
13
|
CommonElement["Diagram"] = "bpmndi:BPMNDiagram";
|
|
14
|
-
CommonElement["Participant"] = "
|
|
15
|
-
CommonElement["Process"] = "
|
|
16
|
-
CommonElement["Error"] = "
|
|
17
|
-
CommonElement["Signal"] = "
|
|
18
|
-
CommonElement["Message"] = "
|
|
19
|
-
CommonElement["DataStoreReference"] = "
|
|
20
|
-
CommonElement["DataStore"] = "
|
|
21
|
-
CommonElement["DataObjectReference"] = "
|
|
22
|
-
CommonElement["DataObject"] = "
|
|
23
|
-
CommonElement["Association"] = "
|
|
24
|
-
CommonElement["DataInputAssociation"] = "
|
|
25
|
-
CommonElement["DataOutputAssociation"] = "
|
|
26
|
-
CommonElement["MessageFlow"] = "
|
|
27
|
-
CommonElement["SequenceFlow"] = "
|
|
28
|
-
CommonElement["TextAnnotation"] = "
|
|
29
|
-
CommonElement["BpmnSourceRef"] = "
|
|
30
|
-
CommonElement["BpmnTargetRef"] = "
|
|
14
|
+
CommonElement["Participant"] = "participant";
|
|
15
|
+
CommonElement["Process"] = "process";
|
|
16
|
+
CommonElement["Error"] = "error";
|
|
17
|
+
CommonElement["Signal"] = "signal";
|
|
18
|
+
CommonElement["Message"] = "message";
|
|
19
|
+
CommonElement["DataStoreReference"] = "dataStoreReference";
|
|
20
|
+
CommonElement["DataStore"] = "dataStore";
|
|
21
|
+
CommonElement["DataObjectReference"] = "dataObjectReference";
|
|
22
|
+
CommonElement["DataObject"] = "dataObject";
|
|
23
|
+
CommonElement["Association"] = "association";
|
|
24
|
+
CommonElement["DataInputAssociation"] = "dataInputAssociation";
|
|
25
|
+
CommonElement["DataOutputAssociation"] = "dataOutputAssociation";
|
|
26
|
+
CommonElement["MessageFlow"] = "messageFlow";
|
|
27
|
+
CommonElement["SequenceFlow"] = "sequenceFlow";
|
|
28
|
+
CommonElement["TextAnnotation"] = "textAnnotation";
|
|
29
|
+
CommonElement["BpmnSourceRef"] = "sourceRef";
|
|
30
|
+
CommonElement["BpmnTargetRef"] = "targetRef";
|
|
31
31
|
})(CommonElement || (exports.CommonElement = CommonElement = {}));
|
|
32
32
|
/**
|
|
33
33
|
* Contains all XML tags contained within the "xmlns" header tag.
|
|
@@ -40,82 +40,85 @@ define(["require", "exports"], function (require, exports) {
|
|
|
40
40
|
XmlnsProperty["dc"] = "xmlns:dc";
|
|
41
41
|
XmlnsProperty["camunda"] = "xmlns:camunda";
|
|
42
42
|
XmlnsProperty["xsi"] = "xmlns:xsi";
|
|
43
|
+
XmlnsProperty["omgdc"] = "xmlns:omgdc";
|
|
44
|
+
XmlnsProperty["omgdi"] = "xmlns:omgdi";
|
|
45
|
+
XmlnsProperty["signavio"] = "xmlns:signavio";
|
|
43
46
|
})(XmlnsProperty || (exports.XmlnsProperty = XmlnsProperty = {}));
|
|
44
47
|
/**
|
|
45
48
|
* Contains all tags associated with lanes and lane sets.
|
|
46
49
|
*/
|
|
47
50
|
var Lane;
|
|
48
51
|
(function (Lane) {
|
|
49
|
-
Lane["Lane"] = "
|
|
50
|
-
Lane["LaneSet"] = "
|
|
52
|
+
Lane["Lane"] = "lane";
|
|
53
|
+
Lane["LaneSet"] = "laneSet";
|
|
51
54
|
})(Lane || (exports.Lane = Lane = {}));
|
|
52
55
|
/**
|
|
53
56
|
* Contains all tags that a lane can have.
|
|
54
57
|
*/
|
|
55
58
|
var LaneProperty;
|
|
56
59
|
(function (LaneProperty) {
|
|
57
|
-
LaneProperty["ChildLaneSet"] = "
|
|
58
|
-
LaneProperty["FlowNodeRef"] = "
|
|
60
|
+
LaneProperty["ChildLaneSet"] = "childLaneSet";
|
|
61
|
+
LaneProperty["FlowNodeRef"] = "flowNodeRef";
|
|
59
62
|
})(LaneProperty || (exports.LaneProperty = LaneProperty = {}));
|
|
60
63
|
/**
|
|
61
64
|
* Contains the tags for all known gateway types.
|
|
62
65
|
*/
|
|
63
66
|
var GatewayElement;
|
|
64
67
|
(function (GatewayElement) {
|
|
65
|
-
GatewayElement["ComplexGateway"] = "
|
|
66
|
-
GatewayElement["EventBasedGateway"] = "
|
|
67
|
-
GatewayElement["ExclusiveGateway"] = "
|
|
68
|
-
GatewayElement["InclusiveGateway"] = "
|
|
69
|
-
GatewayElement["ParallelGateway"] = "
|
|
68
|
+
GatewayElement["ComplexGateway"] = "complexGateway";
|
|
69
|
+
GatewayElement["EventBasedGateway"] = "eventBasedGateway";
|
|
70
|
+
GatewayElement["ExclusiveGateway"] = "exclusiveGateway";
|
|
71
|
+
GatewayElement["InclusiveGateway"] = "inclusiveGateway";
|
|
72
|
+
GatewayElement["ParallelGateway"] = "parallelGateway";
|
|
70
73
|
})(GatewayElement || (exports.GatewayElement = GatewayElement = {}));
|
|
71
74
|
/**
|
|
72
75
|
* Contains the tags for all known event types.
|
|
73
76
|
*/
|
|
74
77
|
var EventElement;
|
|
75
78
|
(function (EventElement) {
|
|
76
|
-
EventElement["StartEvent"] = "
|
|
77
|
-
EventElement["EndEvent"] = "
|
|
78
|
-
EventElement["Boundary"] = "
|
|
79
|
-
EventElement["IntermediateCatchEvent"] = "
|
|
80
|
-
EventElement["IntermediateThrowEvent"] = "
|
|
79
|
+
EventElement["StartEvent"] = "startEvent";
|
|
80
|
+
EventElement["EndEvent"] = "endEvent";
|
|
81
|
+
EventElement["Boundary"] = "boundaryEvent";
|
|
82
|
+
EventElement["IntermediateCatchEvent"] = "intermediateCatchEvent";
|
|
83
|
+
EventElement["IntermediateThrowEvent"] = "intermediateThrowEvent";
|
|
81
84
|
})(EventElement || (exports.EventElement = EventElement = {}));
|
|
82
85
|
/**
|
|
83
86
|
* Contains the tags for all known task types.
|
|
84
87
|
*/
|
|
85
88
|
var TaskElement;
|
|
86
89
|
(function (TaskElement) {
|
|
87
|
-
TaskElement["untypedTask"] = "
|
|
88
|
-
TaskElement["CallActivity"] = "
|
|
89
|
-
TaskElement["SubProcess"] = "
|
|
90
|
-
TaskElement["BusinessRuleTask"] = "
|
|
91
|
-
TaskElement["ManualTask"] = "
|
|
92
|
-
TaskElement["ScriptTask"] = "
|
|
93
|
-
TaskElement["ServiceTask"] = "
|
|
94
|
-
TaskElement["UserTask"] = "
|
|
95
|
-
TaskElement["SendTask"] = "
|
|
96
|
-
TaskElement["ReceiveTask"] = "
|
|
97
|
-
TaskElement["MethodInvocation"] = "
|
|
98
|
-
TaskElement["WebServiceInvocation"] = "
|
|
90
|
+
TaskElement["untypedTask"] = "task";
|
|
91
|
+
TaskElement["CallActivity"] = "callActivity";
|
|
92
|
+
TaskElement["SubProcess"] = "subProcess";
|
|
93
|
+
TaskElement["BusinessRuleTask"] = "businessRuleTask";
|
|
94
|
+
TaskElement["ManualTask"] = "manualTask";
|
|
95
|
+
TaskElement["ScriptTask"] = "scriptTask";
|
|
96
|
+
TaskElement["ServiceTask"] = "serviceTask";
|
|
97
|
+
TaskElement["UserTask"] = "userTask";
|
|
98
|
+
TaskElement["SendTask"] = "sendTask";
|
|
99
|
+
TaskElement["ReceiveTask"] = "receiveTask";
|
|
100
|
+
TaskElement["MethodInvocation"] = "methodInvocation";
|
|
101
|
+
TaskElement["WebServiceInvocation"] = "webServiceInvocation";
|
|
99
102
|
})(TaskElement || (exports.TaskElement = TaskElement = {}));
|
|
100
103
|
/**
|
|
101
104
|
* Contains all BPMN tags that a BPMN element can have.
|
|
102
105
|
*/
|
|
103
106
|
var FlowElementProperty;
|
|
104
107
|
(function (FlowElementProperty) {
|
|
105
|
-
FlowElementProperty["ErrorEventDefinition"] = "
|
|
106
|
-
FlowElementProperty["LinkEventDefinition"] = "
|
|
107
|
-
FlowElementProperty["MessageEventDefinition"] = "
|
|
108
|
-
FlowElementProperty["SignalEventDefinition"] = "
|
|
109
|
-
FlowElementProperty["TerminateEventDefinition"] = "
|
|
110
|
-
FlowElementProperty["TimerEventDefinition"] = "
|
|
111
|
-
FlowElementProperty["BpmnScript"] = "
|
|
112
|
-
FlowElementProperty["ConditionExpression"] = "
|
|
113
|
-
FlowElementProperty["Documentation"] = "
|
|
114
|
-
FlowElementProperty["ExtensionElements"] = "
|
|
115
|
-
FlowElementProperty["DataInputAssociation"] = "
|
|
116
|
-
FlowElementProperty["DataOutputAssociation"] = "
|
|
117
|
-
FlowElementProperty["SequenceFlowIncoming"] = "
|
|
118
|
-
FlowElementProperty["SequenceFlowOutgoing"] = "
|
|
108
|
+
FlowElementProperty["ErrorEventDefinition"] = "errorEventDefinition";
|
|
109
|
+
FlowElementProperty["LinkEventDefinition"] = "linkEventDefinition";
|
|
110
|
+
FlowElementProperty["MessageEventDefinition"] = "messageEventDefinition";
|
|
111
|
+
FlowElementProperty["SignalEventDefinition"] = "signalEventDefinition";
|
|
112
|
+
FlowElementProperty["TerminateEventDefinition"] = "terminateEventDefinition";
|
|
113
|
+
FlowElementProperty["TimerEventDefinition"] = "timerEventDefinition";
|
|
114
|
+
FlowElementProperty["BpmnScript"] = "script";
|
|
115
|
+
FlowElementProperty["ConditionExpression"] = "conditionExpression";
|
|
116
|
+
FlowElementProperty["Documentation"] = "documentation";
|
|
117
|
+
FlowElementProperty["ExtensionElements"] = "extensionElements";
|
|
118
|
+
FlowElementProperty["DataInputAssociation"] = "dataInputAssociation";
|
|
119
|
+
FlowElementProperty["DataOutputAssociation"] = "dataOutputAssociation";
|
|
120
|
+
FlowElementProperty["SequenceFlowIncoming"] = "incoming";
|
|
121
|
+
FlowElementProperty["SequenceFlowOutgoing"] = "outgoing";
|
|
119
122
|
FlowElementProperty["XsiType"] = "xsi:type";
|
|
120
123
|
})(FlowElementProperty || (exports.FlowElementProperty = FlowElementProperty = {}));
|
|
121
124
|
/**
|
|
@@ -150,8 +153,8 @@ define(["require", "exports"], function (require, exports) {
|
|
|
150
153
|
*/
|
|
151
154
|
var LoopMarkers;
|
|
152
155
|
(function (LoopMarkers) {
|
|
153
|
-
LoopMarkers["Loop"] = "
|
|
154
|
-
LoopMarkers["MultiInstance"] = "
|
|
156
|
+
LoopMarkers["Loop"] = "standardLoopCharacteristics";
|
|
157
|
+
LoopMarkers["MultiInstance"] = "multiInstanceLoopCharacteristics";
|
|
155
158
|
})(LoopMarkers || (exports.LoopMarkers = LoopMarkers = {}));
|
|
156
159
|
});
|
|
157
160
|
//# sourceMappingURL=BpmnComponentTags.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BpmnComponentTags.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/BpmnComponentTags.ts"],"names":[],"mappings":";;;;IAAA;;;OAGG;IACH,IAAY,aAwBX;IAxBD,WAAY,aAAa;QACvB,
|
|
1
|
+
{"version":3,"file":"BpmnComponentTags.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/BpmnComponentTags.ts"],"names":[],"mappings":";;;;IAAA;;;OAGG;IACH,IAAY,aAwBX;IAxBD,WAAY,aAAa;QACvB,gDAA+B,CAAA;QAC/B,4CAA2B,CAAA;QAC3B,+CAA8B,CAAA;QAC9B,4CAA2B,CAAA;QAC3B,oCAAmB,CAAA;QACnB,gCAAe,CAAA;QACf,kCAAiB,CAAA;QACjB,oCAAmB,CAAA;QAEnB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,4DAA2C,CAAA;QAC3C,0CAAyB,CAAA;QAEzB,4CAA2B,CAAA;QAC3B,8DAA6C,CAAA;QAC7C,gEAA+C,CAAA;QAC/C,4CAA2B,CAAA;QAC3B,8CAA6B,CAAA;QAC7B,kDAAiC,CAAA;QAEjC,4CAA2B,CAAA;QAC3B,4CAA2B,CAAA;IAC7B,CAAC,EAxBW,aAAa,6BAAb,aAAa,QAwBxB;IAED;;OAEG;IACH,IAAY,aAWX;IAXD,WAAY,aAAa;QACvB,oCAAmB,CAAA;QACnB,wCAAuB,CAAA;QACvB,gCAAe,CAAA;QACf,gCAAe,CAAA;QACf,0CAAyB,CAAA;QACzB,kCAAiB,CAAA;QAEjB,sCAAqB,CAAA;QACrB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;IAC7B,CAAC,EAXW,aAAa,6BAAb,aAAa,QAWxB;IAED;;OAEG;IACH,IAAY,IAGX;IAHD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,2BAAmB,CAAA;IACrB,CAAC,EAHW,IAAI,oBAAJ,IAAI,QAGf;IAED;;OAEG;IACH,IAAY,YAGX;IAHD,WAAY,YAAY;QACtB,6CAA6B,CAAA;QAC7B,2CAA2B,CAAA;IAC7B,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;IAED;;OAEG;IACH,IAAY,cAMX;IAND,WAAY,cAAc;QACxB,mDAAiC,CAAA;QACjC,yDAAuC,CAAA;QACvC,uDAAqC,CAAA;QACrC,uDAAqC,CAAA;QACrC,qDAAmC,CAAA;IACrC,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;IAED;;OAEG;IACH,IAAY,YAMX;IAND,WAAY,YAAY;QACtB,yCAAyB,CAAA;QACzB,qCAAqB,CAAA;QACrB,0CAA0B,CAAA;QAC1B,iEAAiD,CAAA;QACjD,iEAAiD,CAAA;IACnD,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB;IAED;;OAEG;IACH,IAAY,WAiBX;IAjBD,WAAY,WAAW;QACrB,mCAAoB,CAAA;QAEpB,4CAA6B,CAAA;QAC7B,wCAAyB,CAAA;QAEzB,oDAAqC,CAAA;QACrC,wCAAyB,CAAA;QACzB,wCAAyB,CAAA;QACzB,0CAA2B,CAAA;QAC3B,oCAAqB,CAAA;QAErB,oCAAqB,CAAA;QACrB,0CAA2B,CAAA;QAE3B,oDAAqC,CAAA;QACrC,4DAA6C,CAAA;IAC/C,CAAC,EAjBW,WAAW,2BAAX,WAAW,QAiBtB;IAED;;OAEG;IACH,IAAY,mBAoBX;IApBD,WAAY,mBAAmB;QAC7B,oEAA6C,CAAA;QAC7C,kEAA2C,CAAA;QAC3C,wEAAiD,CAAA;QACjD,sEAA+C,CAAA;QAC/C,4EAAqD,CAAA;QACrD,oEAA6C,CAAA;QAE7C,4CAAqB,CAAA;QAErB,kEAA2C,CAAA;QAC3C,sDAA+B,CAAA;QAC/B,8DAAuC,CAAA;QAEvC,oEAA6C,CAAA;QAC7C,sEAA+C,CAAA;QAC/C,wDAAiC,CAAA;QACjC,wDAAiC,CAAA;QAEjC,2CAAoB,CAAA;IACtB,CAAC,EApBW,mBAAmB,mCAAnB,mBAAmB,QAoB9B;IAED;;OAEG;IACH,IAAY,eAsBX;IAtBD,WAAY,eAAe;QACzB,wEAAqD,CAAA;QACrD,wEAAqD,CAAA;QACrD,0EAAuD,CAAA;QACvD,gDAA6B,CAAA;QAC7B,4DAAyC,CAAA;QACzC,8DAA2C,CAAA;QAC3C,8CAA2B,CAAA;QAC3B,kEAA+C,CAAA;QAC/C,oDAAiC,CAAA;QACjC,gDAA6B,CAAA;QAC7B,kDAA+B,CAAA;QAC/B,wDAAqC,CAAA;QACrC,oDAAiC,CAAA;QACjC,gDAA6B,CAAA;QAC7B,4DAAyC,CAAA;QACzC,0CAAuB,CAAA;QACvB,wCAAqB,CAAA;QACrB,0CAAuB,CAAA;QACvB,wEAAqD,CAAA;QACrD,kGAA+E,CAAA;QAC/E,wEAAqD,CAAA;IACvD,CAAC,EAtBW,eAAe,+BAAf,eAAe,QAsB1B;IAED;;OAEG;IACH,IAAY,WAGX;IAHD,WAAY,WAAW;QACrB,mDAAoC,CAAA;QACpC,iEAAkD,CAAA;IACpD,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Definitions.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/Definitions.ts"],"names":[],"mappings":";;;;IAQA;;;OAGG;IACH,MAAa,WAAY,SAAQ,mBAAW;QAA5C;;
|
|
1
|
+
{"version":3,"file":"Definitions.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/Definitions.ts"],"names":[],"mappings":";;;;IAQA;;;OAGG;IACH,MAAa,WAAY,SAAQ,mBAAW;QAA5C;;YA8BE;;eAEG;YACI,cAAS,GAAmB,EAAE,CAAC;QA8CxC,CAAC;QA5CC;;WAEG;QACI,iBAAiB;YACtB,MAAM,WAAW,GAAsB,EAAE,CAAC;YAE1C,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACrC,MAAM,qBAAqB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;gBAEvD,WAAW,CAAC,IAAI,CAAC,GAAG,qBAAqB,CAAC,CAAC;YAC7C,CAAC;YAED,OAAO,WAAW,CAAC;QACrB,CAAC;QAED;;WAEG;QACI,eAAe;YACpB,MAAM,SAAS,GAAoB,EAAE,CAAC;YAEtC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACrC,MAAM,mBAAmB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;gBAEnD,SAAS,CAAC,IAAI,CAAC,GAAG,mBAAmB,CAAC,CAAC;YACzC,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;QAED;;WAEG;QACI,kBAAkB,CAAC,QAAkB;YAC1C,MAAM,SAAS,GAAoB,EAAE,CAAC;YAEtC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACrC,MAAM,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;gBAEjE,SAAS,CAAC,IAAI,CAAC,GAAG,mBAAmB,CAAC,CAAC;YACzC,CAAC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC;KACF;IA/ED,kCA+EC"}
|
|
@@ -5,7 +5,7 @@ define(["require", "exports", "../Constants", "./Gateway"], function (require, e
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes an InclusiveGateway.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Currently not supported.
|
|
9
9
|
*/
|
|
10
10
|
class InclusiveGateway extends Gateway_1.Gateway {
|
|
11
11
|
get bpmnType() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XMLNS.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/XMLNS.ts"],"names":[],"mappings":";;;;IAAA;;OAEG;IACH,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"XMLNS.js","sourceRoot":"","sources":["../../../../src/ProcessModel/Model/XMLNS.ts"],"names":[],"mappings":";;;;IAAA;;OAEG;IACH,MAAa,KAAK;KAUjB;IAVD,sBAUC"}
|
|
@@ -2,8 +2,6 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"]
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.ProcessModelFacade = void 0;
|
|
5
|
-
const isNotUndefined = (value) => value !== undefined;
|
|
6
|
-
const isUniqueFlowNode = (fn, index, array) => array.findIndex((fn2) => fn2.id === fn.id) === index;
|
|
7
5
|
class ProcessModelFacade {
|
|
8
6
|
constructor(processModel) {
|
|
9
7
|
if (!processModel) {
|
|
@@ -89,48 +87,25 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"]
|
|
|
89
87
|
});
|
|
90
88
|
return boundaryEvents;
|
|
91
89
|
}
|
|
92
|
-
getPreviousFlowNodesFor(flowNode
|
|
90
|
+
getPreviousFlowNodesFor(flowNode) {
|
|
93
91
|
// First find the SequenceFlows that contain the FlowNodes next targets
|
|
94
|
-
const sequenceFlows = this.processModel.sequenceFlows.filter((
|
|
92
|
+
const sequenceFlows = this.processModel.sequenceFlows.filter((sequenceFlow) => sequenceFlow.targetRef === flowNode.id);
|
|
95
93
|
const flowHasNoSource = sequenceFlows.length === 0;
|
|
96
94
|
if (flowHasNoSource) {
|
|
97
95
|
return undefined;
|
|
98
96
|
}
|
|
99
97
|
// Then find the source FlowNodes for each SequenceFlow
|
|
100
|
-
const previousFlowNodes = sequenceFlows.map((
|
|
101
|
-
const sourceNode = this.processModel.flowNodes.find((
|
|
98
|
+
const previousFlowNodes = sequenceFlows.map((currentSequenceFlow) => {
|
|
99
|
+
const sourceNode = this.processModel.flowNodes.find((currentFlowNode) => currentFlowNode.id === currentSequenceFlow.sourceRef);
|
|
102
100
|
// If the sourceNode happens to be a BoundaryEvent, return the Node that the BoundaryEvent is attached to.
|
|
103
101
|
const sourceNodeIsBoundaryEvent = sourceNode.bpmnType === index_2.BpmnType.boundaryEvent;
|
|
104
|
-
if (
|
|
105
|
-
return this.processModel.flowNodes.find((
|
|
102
|
+
if (sourceNodeIsBoundaryEvent) {
|
|
103
|
+
return this.processModel.flowNodes.find((currentFlowNode) => currentFlowNode.id === sourceNode.attachedToRef);
|
|
106
104
|
}
|
|
107
105
|
return sourceNode;
|
|
108
106
|
});
|
|
109
107
|
return previousFlowNodes;
|
|
110
108
|
}
|
|
111
|
-
traversePreviousFlowNodesFor(flowNode, visitedNodes = new Set()) {
|
|
112
|
-
if (visitedNodes.has(flowNode.id) || flowNode.bpmnType === index_2.BpmnType.startEvent) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
visitedNodes.add(flowNode.id);
|
|
116
|
-
const sequenceFlows = this.processModel.sequenceFlows.filter((sequenceFlow) => sequenceFlow.targetRef === flowNode.id);
|
|
117
|
-
const flowHasNoSource = sequenceFlows.length === 0;
|
|
118
|
-
if (flowHasNoSource) {
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
const allPreviousFlowNodes = sequenceFlows.flatMap((currentSequenceFlow) => {
|
|
122
|
-
const sourceNode = this.processModel.flowNodes.find((currentFlowNode) => currentFlowNode.id === currentSequenceFlow.sourceRef);
|
|
123
|
-
if (!sourceNode) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
const currentPreviousFlowNodes = this.traversePreviousFlowNodesFor(sourceNode, new Set(visitedNodes));
|
|
127
|
-
if (!currentPreviousFlowNodes) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
return currentPreviousFlowNodes.concat(sourceNode);
|
|
131
|
-
});
|
|
132
|
-
return allPreviousFlowNodes.filter(isNotUndefined).filter(isUniqueFlowNode);
|
|
133
|
-
}
|
|
134
109
|
getNextFlowNodesFor(flowNode) {
|
|
135
110
|
// First find the SequenceFlows that contain the FlowNodes next targets
|
|
136
111
|
const sequenceFlows = this.processModel.sequenceFlows.filter((sequenceFlow) => sequenceFlow.sourceRef === flowNode.id);
|
|
@@ -176,34 +151,11 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"]
|
|
|
176
151
|
});
|
|
177
152
|
return matchingIntermediateCatchEvents;
|
|
178
153
|
}
|
|
179
|
-
|
|
180
|
-
const flowNodesAfterSplitGateway = this.getNextFlowNodesFor(splitGateway);
|
|
181
|
-
const joinGatewaysForEachBranch = [];
|
|
182
|
-
for (const flowNodeAfterSplitGateway of flowNodesAfterSplitGateway) {
|
|
183
|
-
const joinGatewaysForCurrentBranch = this.getJoinGatewaysForCurrentBranchByType(flowNodeAfterSplitGateway, index_2.BpmnType.inclusiveGateway);
|
|
184
|
-
if (joinGatewaysForCurrentBranch.length > 0) {
|
|
185
|
-
joinGatewaysForEachBranch.push(joinGatewaysForCurrentBranch);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
if (joinGatewaysForEachBranch.length === 0) {
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
const discoveredJoinGateway = joinGatewaysForEachBranch.shift().find((joinGateway) => {
|
|
192
|
-
for (const joinGatewaysForCurrentBranch of joinGatewaysForEachBranch) {
|
|
193
|
-
const branchContainsCurrentJoinGateway = joinGatewaysForCurrentBranch.some((gateway) => gateway.id === joinGateway.id);
|
|
194
|
-
if (!branchContainsCurrentJoinGateway) {
|
|
195
|
-
return false;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
return true;
|
|
199
|
-
});
|
|
200
|
-
return discoveredJoinGateway;
|
|
201
|
-
}
|
|
202
|
-
findParallelJoinGatewayAfterSplitGateway(splitGateway) {
|
|
154
|
+
findJoinGatewayAfterSplitGateway(splitGateway) {
|
|
203
155
|
const flowNodesAfterSplitGateway = this.getNextFlowNodesFor(splitGateway);
|
|
204
156
|
const joinGatewaysForEachBranch = [];
|
|
205
157
|
for (const flowNodeAfterSplitGateway of flowNodesAfterSplitGateway) {
|
|
206
|
-
const joinGatewaysForCurrentBranch = this.
|
|
158
|
+
const joinGatewaysForCurrentBranch = this.getParallelJoinGatewaysForCurrentBranch(flowNodeAfterSplitGateway);
|
|
207
159
|
if (joinGatewaysForCurrentBranch.length > 0) {
|
|
208
160
|
joinGatewaysForEachBranch.push(joinGatewaysForCurrentBranch);
|
|
209
161
|
}
|
|
@@ -291,7 +243,7 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"]
|
|
|
291
243
|
}
|
|
292
244
|
return undefined;
|
|
293
245
|
}
|
|
294
|
-
|
|
246
|
+
getParallelJoinGatewaysForCurrentBranch(firstFlowNodeOfBranch) {
|
|
295
247
|
const searchedFlowNodes = [];
|
|
296
248
|
const flowNodesToSearch = [firstFlowNodeOfBranch];
|
|
297
249
|
const joinGateways = [];
|
|
@@ -301,7 +253,7 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"]
|
|
|
301
253
|
if (flowNodeAlreadySearched) {
|
|
302
254
|
continue;
|
|
303
255
|
}
|
|
304
|
-
const flowNodeIsParallelJoinGateway = currentFlowNode.bpmnType ===
|
|
256
|
+
const flowNodeIsParallelJoinGateway = currentFlowNode.bpmnType === index_2.BpmnType.parallelGateway && currentFlowNode.gatewayDirection !== index_2.Model.Gateways.GatewayDirection.Diverging;
|
|
305
257
|
if (flowNodeIsParallelJoinGateway) {
|
|
306
258
|
joinGateways.push(currentFlowNode);
|
|
307
259
|
}
|