-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JBPM-10185] Test for handling sla timer for processes (#2984)
- Loading branch information
Showing
3 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
...filtered-resources/kjars-sources/definition-project/src/main/resources/SLAOnProcess.bpmn2
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,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions id="Definition" | ||
targetNamespace="http://www.example.org/MinimalExample" | ||
typeLanguage="http://www.java.com/javaTypes" | ||
expressionLanguage="http://www.mvel.org/2.0" | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" | ||
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | ||
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" | ||
xmlns:di="http://www.omg.org/spec/DD/20100524/DI" | ||
xmlns:tns="http://www.jboss.org/drools"> | ||
|
||
<itemDefinition id="_sItem" structureRef="String" /> | ||
<process processType="Private" isExecutable="true" id="definition-project.SLAOnProcess" name="SLA On Process" > | ||
<extensionElements> | ||
<tns:metaData name="customSLADueDate"> | ||
<tns:metaValue>1h</tns:metaValue> | ||
</tns:metaData> | ||
</extensionElements> | ||
<property id="s" itemSubjectRef="_sItem"/> | ||
<!-- nodes --> | ||
<startEvent id="_1" name="StartProcess" /> | ||
<userTask id="_2" name="Hello" > | ||
<ioSpecification> | ||
<inputSet> | ||
</inputSet> | ||
<outputSet> | ||
</outputSet> | ||
</ioSpecification> | ||
<potentialOwner> | ||
<resourceAssignmentExpression> | ||
<formalExpression>yoda</formalExpression> | ||
</resourceAssignmentExpression> | ||
</potentialOwner> | ||
</userTask> | ||
<endEvent id="_3" name="EndProcess" > | ||
<terminateEventDefinition/> | ||
</endEvent> | ||
|
||
<!-- connections --> | ||
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /> | ||
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" /> | ||
|
||
</process> | ||
|
||
<bpmndi:BPMNDiagram> | ||
<bpmndi:BPMNPlane bpmnElement="UserTask" > | ||
<bpmndi:BPMNShape bpmnElement="_1" > | ||
<dc:Bounds x="16" y="16" width="48" height="48" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="_2" > | ||
<dc:Bounds x="96" y="16" width="100" height="48" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape bpmnElement="_3" > | ||
<dc:Bounds x="228" y="16" width="48" height="48" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge bpmnElement="_1-_2" > | ||
<di:waypoint x="40" y="40" /> | ||
<di:waypoint x="146" y="40" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge bpmnElement="_2-_3" > | ||
<di:waypoint x="146" y="40" /> | ||
<di:waypoint x="252" y="40" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
|
||
</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
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