-
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 event subscription triggering a plan item instance in …
…unavailable state
- Loading branch information
1 parent
8c45c84
commit b373b33
Showing
4 changed files
with
116 additions
and
15 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
23 changes: 23 additions & 0 deletions
23
.../src/test/resources/org/flowable/eventregistry/integrationtest/caseWithEventListener.cmmn
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="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"> | ||
<case id="testEvent" name="testEvent"> | ||
<casePlanModel id="onecaseplanmodel1" name="Case plan model"> | ||
<planItem id="planItemhumanTask1" name="Human task" definitionRef="humanTask1"> | ||
<entryCriterion id="entryCriterion1" sentryRef="sentryentryCriterion1"></entryCriterion> | ||
</planItem> | ||
<planItem id="planItemeventListener1" definitionRef="eventListener1"></planItem> | ||
<sentry id="sentryentryCriterion1"> | ||
<planItemOnPart id="sentryOnPartentryCriterion1" sourceRef="planItemeventListener1"> | ||
<standardEvent>occur</standardEvent> | ||
</planItemOnPart> | ||
</sentry> | ||
<humanTask id="humanTask1" name="Human task" /> | ||
<eventListener id="eventListener1" flowable:availableCondition="${false}"> | ||
<extensionElements> | ||
<flowable:eventType><![CDATA[one]]></flowable:eventType> | ||
</extensionElements> | ||
</eventListener> | ||
</casePlanModel> | ||
</case> | ||
</definitions> |