Skip to content

Commit 91728a0

Browse files
committed
Update docs of External Task Listener Plugin
1 parent 7a1a79f commit 91728a0

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

snippets/engine-plugin-external-task-listener/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ This project has been generated by the Maven archetype
88
[camunda-archetype-engine-plugin-7.11.1](http://docs.camunda.org/latest/guides/user-guide/#process-applications-maven-project-templates-archetypes).
99

1010
## Show me the important parts!
11-
![BPMN Process](src/main/resources/process.png)
11+
![BPMN Process](src/test/resources/process.png)
1212

1313
## How does it work?
1414

1515
## How to use it?
16-
To get started refer to `InMemoryH2Test` and `camunda.cfg.xml`.
16+
To get started refer to `ProcessUnitTest` and `camunda.cfg.xml`.
1717
For using it in production you have to [integrate the plugin into your Camunda BPM configuration](https://docs.camunda.org/manual/latest/user-guide/process-engine/process-engine-plugins/).
1818

1919
## Environment Restrictions

snippets/engine-plugin-external-task-listener/src/test/resources/process.bpmn

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,27 @@
99
</bpmn:endEvent>
1010
<bpmn:sequenceFlow id="SequenceFlow1" sourceRef="StartEventProcessStarted" targetRef="Task_DoSomething" />
1111
<bpmn:sequenceFlow id="SequenceFlow_14t5oxg" sourceRef="Task_DoSomething" targetRef="EndEventProcessEnded" />
12-
<bpmn:serviceTask id="Task_DoSomething" name="Do something" camunda:type="external" camunda:topic="DoSomething">
12+
<bpmn:serviceTask id="Task_DoSomething" name="External Task" camunda:type="external" camunda:topic="DoSomething">
1313
<bpmn:incoming>SequenceFlow1</bpmn:incoming>
1414
<bpmn:outgoing>SequenceFlow_14t5oxg</bpmn:outgoing>
1515
</bpmn:serviceTask>
16+
<bpmn:textAnnotation id="TextAnnotation_0fuvoz5">
17+
<bpmn:text>The External Task Listener registered in the Process Engine Plugin will be notified and completes the Task in a separate thread without locking it</bpmn:text>
18+
</bpmn:textAnnotation>
19+
<bpmn:association id="Association_0rpbqmm" sourceRef="Task_DoSomething" targetRef="TextAnnotation_0fuvoz5" />
1620
</bpmn:process>
1721
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
1822
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="engine-plugin-external-task-listener">
1923
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEventProcessStarted">
2024
<dc:Bounds x="173" y="102" width="36" height="36" />
25+
<bpmndi:BPMNLabel>
26+
<dc:Bounds x="170" y="146" width="41" height="27" />
27+
</bpmndi:BPMNLabel>
2128
</bpmndi:BPMNShape>
2229
<bpmndi:BPMNShape id="EndEvent_0fkea3f_di" bpmnElement="EndEventProcessEnded">
2330
<dc:Bounds x="428" y="102" width="36" height="36" />
2431
<bpmndi:BPMNLabel>
25-
<dc:Bounds x="426" y="138" width="40" height="24" />
32+
<dc:Bounds x="425" y="146" width="41" height="27" />
2633
</bpmndi:BPMNLabel>
2734
</bpmndi:BPMNShape>
2835
<bpmndi:BPMNEdge id="SequenceFlow_08va5r8_di" bpmnElement="SequenceFlow1">
@@ -42,6 +49,13 @@
4249
<bpmndi:BPMNShape id="ServiceTask_0q0edfm_di" bpmnElement="Task_DoSomething">
4350
<dc:Bounds x="269" y="80" width="100" height="80" />
4451
</bpmndi:BPMNShape>
52+
<bpmndi:BPMNShape id="TextAnnotation_0fuvoz5_di" bpmnElement="TextAnnotation_0fuvoz5">
53+
<dc:Bounds x="280" y="200" width="210" height="70" />
54+
</bpmndi:BPMNShape>
55+
<bpmndi:BPMNEdge id="Association_0rpbqmm_di" bpmnElement="Association_0rpbqmm">
56+
<di:waypoint x="342" y="160" />
57+
<di:waypoint x="365" y="200" />
58+
</bpmndi:BPMNEdge>
4559
</bpmndi:BPMNPlane>
4660
</bpmndi:BPMNDiagram>
4761
</bpmn:definitions>
Loading

0 commit comments

Comments
 (0)