-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve expressions for activity instance name (#3821)
- Loading branch information
1 parent
9aecece
commit 81c0f87
Showing
10 changed files
with
153 additions
and
2 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
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
18 changes: 18 additions & 0 deletions
18
...c/test/resources/org/flowable/engine/test/api/oneTaskProcessWithBeanExpression.bpmn20.xml
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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:activiti="http://activiti.org/bpmn" | ||
targetNamespace="ExamplesCategory"> | ||
|
||
<process id="oneTaskProcess" name="The One Task Process"> | ||
<documentation>This is a process for testing purposes</documentation> | ||
|
||
<startEvent id="theStart" /> | ||
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="theTask" /> | ||
<userTask id="theTask" name="${nameProvider.getName()}" /> | ||
<sequenceFlow id="flow2" sourceRef="theTask" targetRef="theEnd" /> | ||
<endEvent id="theEnd" /> | ||
|
||
</process> | ||
|
||
</definitions> |
18 changes: 18 additions & 0 deletions
18
...e/src/test/resources/org/flowable/engine/test/api/oneTaskProcessWithExpression.bpmn20.xml
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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:activiti="http://activiti.org/bpmn" | ||
targetNamespace="ExamplesCategory"> | ||
|
||
<process id="oneTaskProcess" name="The One Task Process"> | ||
<documentation>This is a process for testing purposes</documentation> | ||
|
||
<startEvent id="theStart" /> | ||
<sequenceFlow id="flow1" name="${testVar}" sourceRef="theStart" targetRef="theTask" /> | ||
<userTask id="theTask" name="${testVar}" /> | ||
<sequenceFlow id="flow2" sourceRef="theTask" targetRef="theEnd" /> | ||
<endEvent id="theEnd" /> | ||
|
||
</process> | ||
|
||
</definitions> |
23 changes: 23 additions & 0 deletions
23
...t/resources/org/flowable/engine/test/api/runtime/ServiceTaskWithNameExpression.bpmn20.xml
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:flowable="http://flowable.org/bpmn" | ||
targetNamespace="Examples"> | ||
|
||
<process id="noopProcess"> | ||
|
||
<startEvent id="start" /> | ||
<sequenceFlow id="flow1" sourceRef="start" targetRef="noop" /> | ||
|
||
<serviceTask id="noop" name="${testVar}" flowable:class="org.flowable.engine.test.history.Noop" /> | ||
<sequenceFlow id="flow2" sourceRef="noop" targetRef="waitTask" /> | ||
|
||
<receiveTask id="waitTask"/> | ||
<sequenceFlow sourceRef="waitTask" targetRef="end"/> | ||
|
||
<endEvent id="end" /> | ||
|
||
</process> | ||
|
||
</definitions> |