-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed DecisionService execution stack not updating when having Compos…
…eDecisionResultBehavior hitpolicy (#3760)
- Loading branch information
1 parent
7594e39
commit bd17ae7
Showing
8 changed files
with
130 additions
and
18 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
72 changes: 72 additions & 0 deletions
72
...ne/src/test/resources/org/flowable/dmn/engine/test/runtime/decisionServiceStackUpdate.dmn
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,72 @@ | ||
<definitions xmlns="http://www.omg.org/spec/DMN/20180521/MODEL/" id="definition_47a8ccd5-7efa-11ea-9435-acde48001122" | ||
name="decisionService1" namespace="http://www.flowable.org/dmn"> | ||
<decision id="decision1" name="Decision 1"> | ||
<informationRequirement id="sid-7C9FC3B2-BC15-40EB-ABD7-32AFC0EBF4F3"> | ||
<requiredDecision href="#decision2"></requiredDecision> | ||
</informationRequirement> | ||
<decisionTable id="decisionTable_dffebb42-6761-4777-a09c-6c06c22c4cf0" hitPolicy="FIRST"> | ||
<input> | ||
<inputExpression id="inputExpression_7db43806-e0c5-4c02-9d85-85dcbb5bd98b" typeRef="number"> | ||
<text>outputVariable1</text> | ||
</inputExpression> | ||
</input> | ||
<output id="outputExpression_3ef3ef56-ef7a-4833-ac93-13d518904c81" name="serviceOutput1" typeRef="string"></output> | ||
<rule> | ||
<inputEntry id="inputEntry_7db43806-e0c5-4c02-9d85-85dcbb5bd98b_1"> | ||
<text><![CDATA[> 40]]></text> | ||
</inputEntry> | ||
<outputEntry id="outputEntry_3ef3ef56-ef7a-4833-ac93-13d518904c81_1"> | ||
<text> | ||
<![CDATA["larger than 30"]]> | ||
</text> | ||
</outputEntry> | ||
</rule> | ||
</decisionTable> | ||
</decision> | ||
<decision id="decision2" name="Decision 2"> | ||
<decisionTable id="decisionTable_c00ca5b5-6e20-4477-a50c-c7a89ddf9987" hitPolicy="COLLECT" aggregation="SUM"> | ||
<input> | ||
<inputExpression id="inputVariable1" typeRef="double"> | ||
<text>inputVariable1</text> | ||
</inputExpression> | ||
</input> | ||
<output id="output1" label="Output 1" name="outputVariable1" typeRef="number" /> | ||
<rule> | ||
<inputEntry id="inputEntry1"> | ||
<text><![CDATA[< 10]]></text> | ||
</inputEntry> | ||
<outputEntry id="outputEntry1_1"> | ||
<text>10</text> | ||
</outputEntry> | ||
</rule> | ||
<rule> | ||
<inputEntry id="inputEntry2"> | ||
<text><![CDATA[< 20]]></text> | ||
</inputEntry> | ||
<outputEntry id="outputEntry2_1"> | ||
<text>20</text> | ||
</outputEntry> | ||
</rule> | ||
<rule> | ||
<inputEntry id="inputEntry3"> | ||
<text><![CDATA[< 30]]></text> | ||
</inputEntry> | ||
<outputEntry id="outputEntry3_1"> | ||
<text>30</text> | ||
</outputEntry> | ||
</rule> | ||
<rule> | ||
<inputEntry id="inputEntry4"> | ||
<text><![CDATA[< 40]]></text> | ||
</inputEntry> | ||
<outputEntry id="outputEntry4_1"> | ||
<text>30</text> | ||
</outputEntry> | ||
</rule> | ||
</decisionTable> | ||
</decision> | ||
<decisionService id="expandedDecisionService" name="expandedDecisionService"> | ||
<outputDecision href="#decision1"></outputDecision> | ||
<encapsulatedDecision href="#decision2"></encapsulatedDecision> | ||
</decisionService> | ||
</definitions> |