-
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.
Fix issue with stage plan item instance selection in case migration +…
… terminate plan item instances that are not present in cmmn model automatically
- Loading branch information
1 parent
a07632a
commit fbace5f
Showing
5 changed files
with
292 additions
and
4 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
22 changes: 22 additions & 0 deletions
22
...ngine/src/test/resources/org/flowable/cmmn/test/migration/case-with-active-stage.cmmn.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,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:flowable="http://flowable.org/cmmn" xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI" xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC" xmlns:di="http://www.omg.org/spec/CMMN/20151109/DI" xmlns:design="http://flowable.org/design" targetNamespace="http://flowable.org/cmmn" design:palette="flowable-core-case-palette"> | ||
<case id="migrationCase" name="Migration Case"> | ||
<casePlanModel id="onecaseplanmodel1" name="Case plan model"> | ||
<planItem id="planItemcmmnStage1" definitionRef="cmmnStage1" name="Stage 1"> | ||
<itemControl> | ||
<repetitionRule flowable:counterVariable="repetitionCounter" flowable:maxInstanceCount="1" /> | ||
</itemControl> | ||
<entryCriterion id="cmmnEntrySentry" sentryRef="sentrycmmnEntrySentry"></entryCriterion> | ||
</planItem> | ||
<sentry id="sentrycmmnEntrySentry" flowable:triggerMode="onEvent"> | ||
<ifPart id="sentryIfPart_cmmnEntrySentry"> | ||
<condition><![CDATA[${true}]]></condition> | ||
</ifPart> | ||
</sentry> | ||
<stage id="cmmnStage1" name="Stage 1"> | ||
<planItem id="planItemcmmnTask_1" name="Human task 1" definitionRef="stageTask1"></planItem> | ||
<humanTask id="stageTask1" name="Human task 1" /> | ||
</stage> | ||
</casePlanModel> | ||
</case> | ||
</definitions> |
Oops, something went wrong.