Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TerminateEndEvent - extending activiti events. (cherry picked from co…
…mmit 307f8ea)
- Loading branch information
1 parent
715113f
commit 33f893b
Showing
5 changed files
with
202 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...tiviti/engine/test/bpmn/event/end/TerminateEndEventTest.testTerminateInParentProcess.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="Definitions_1" | ||
targetNamespace="http://activiti.org/bpmn"> | ||
<bpmn2:process id="terminateParentProcess"> | ||
<bpmn2:startEvent id="start"> | ||
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing> | ||
</bpmn2:startEvent> | ||
<bpmn2:parallelGateway id="ParallelGateway_1"> | ||
<bpmn2:incoming>SequenceFlow_2</bpmn2:incoming> | ||
<bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing> | ||
<bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing> | ||
</bpmn2:parallelGateway> | ||
<bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="start" targetRef="ParallelGateway_1"/> | ||
<bpmn2:userTask id="preTerminateEnd" name="check before end"> | ||
<bpmn2:incoming>SequenceFlow_4</bpmn2:incoming> | ||
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing> | ||
</bpmn2:userTask> | ||
<bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="ParallelGateway_1" targetRef="preTerminateEnd"/> | ||
<bpmn2:endEvent id="EndEvent_1"> | ||
<bpmn2:incoming>SequenceFlow_7</bpmn2:incoming> | ||
</bpmn2:endEvent> | ||
<bpmn2:callActivity id="CallActivity_1" name="Call Activity" calledElement="oneTaskProcess"> | ||
<bpmn2:incoming>SequenceFlow_6</bpmn2:incoming> | ||
<bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing> | ||
</bpmn2:callActivity> | ||
<bpmn2:sequenceFlow id="SequenceFlow_6" sourceRef="ParallelGateway_1" targetRef="CallActivity_1"/> | ||
<bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="CallActivity_1" targetRef="EndEvent_1"/> | ||
<bpmn2:endEvent id="EndEvent_3"> | ||
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming> | ||
<bpmn2:terminateEventDefinition id="TerminateEventDefinition_1"/> | ||
</bpmn2:endEvent> | ||
<bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="preTerminateEnd" targetRef="EndEvent_3"/> | ||
</bpmn2:process> | ||
</bpmn2:definitions> |