forked from flowable/flowable-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire only one exclusive external worker job per process instance (f…
- Loading branch information
1 parent
e370e9f
commit 68803d8
Showing
3 changed files
with
101 additions
and
11 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
36 changes: 36 additions & 0 deletions
36
...le/engine/test/externalworker/ExternalWorkerServiceTaskTest.testSimpleParallel.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,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions id="definitions" | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:flowable="http://flowable.org/bpmn" | ||
targetNamespace="Examples" | ||
> | ||
|
||
<process id="simpleParallelExternalWorker"> | ||
|
||
<startEvent id="theStart"/> | ||
|
||
<sequenceFlow sourceRef="theStart" targetRef="parallelGateway1"/> | ||
|
||
<parallelGateway id="parallelGateway1"></parallelGateway> | ||
|
||
<sequenceFlow sourceRef="parallelGateway1" targetRef="externalWorkerTask1"/> | ||
|
||
<serviceTask id="externalWorkerTask1" flowable:type="external-worker" flowable:topic="simple"/> | ||
|
||
<sequenceFlow sourceRef="parallelGateway1" targetRef="externalWorkerTask2"/> | ||
|
||
<serviceTask id="externalWorkerTask2" flowable:type="external-worker" flowable:topic="simple"/> | ||
|
||
<sequenceFlow sourceRef="externalWorkerTask1" targetRef="parallelGateway2"/> | ||
|
||
<sequenceFlow sourceRef="externalWorkerTask2" targetRef="parallelGateway2"/> | ||
|
||
<parallelGateway id="parallelGateway2"></parallelGateway> | ||
|
||
<sequenceFlow sourceRef="parallelGateway2" targetRef="theEnd"/> | ||
|
||
<endEvent id="theEnd"/> | ||
|
||
</process> | ||
|
||
</definitions> |
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