This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JBPM-5681 - DMN support for BusinessRuleTask (#548)
- Loading branch information
1 parent
db80708
commit 6a94b07
Showing
13 changed files
with
639 additions
and
12 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
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
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
78 changes: 78 additions & 0 deletions
78
jbpm-designer-backend/src/test/resources/org/jbpm/designer/bpmn2/impl/dmnBusinessRule.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,78 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_-1Ao0PINEealZIUu-TmO8g" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" exporter="jBPM Designer" exporterVersion="6.2.0" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes"> | ||
<bpmn2:itemDefinition id="__17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputXItem" structureRef="String"/> | ||
<bpmn2:itemDefinition id="__17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputXItem" structureRef="String"/> | ||
<bpmn2:process id="evaluation.ruletest" drools:packageName="org.jbpm" drools:version="1.0" name="ruletest" isExecutable="true"> | ||
<bpmn2:startEvent id="processStartEvent" drools:selectable="true" color:background-color="#9acd32" color:border-color="#000000" color:color="#000000" name=""> | ||
<bpmn2:extensionElements> | ||
<drools:metaData name="elementname"> | ||
<drools:metaValue><![CDATA[]]></drools:metaValue> | ||
</drools:metaData> | ||
</bpmn2:extensionElements> | ||
<bpmn2:outgoing>_D5C0FB17-AC8C-4BCF-BD69-9F973B581836</bpmn2:outgoing> | ||
</bpmn2:startEvent> | ||
<bpmn2:businessRuleTask id="_17AA6636-67D4-4AB8-B995-54C8E5997061" drools:selectable="true" drools:scriptFormat="http://www.java.com/java" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="test" implementation="http://www.jboss.org/drools/dmn"> | ||
<bpmn2:extensionElements> | ||
<drools:metaData name="elementname"> | ||
<drools:metaValue><![CDATA[test]]></drools:metaValue> | ||
</drools:metaData> | ||
</bpmn2:extensionElements> | ||
<bpmn2:incoming>_D5C0FB17-AC8C-4BCF-BD69-9F973B581836</bpmn2:incoming> | ||
<bpmn2:outgoing>_F083F326-63AB-49F5-BC23-C412BA817441</bpmn2:outgoing> | ||
<bpmn2:ioSpecification id="_-1Ao0fINEealZIUu-TmO8g"> | ||
<bpmn2:dataInput id="_17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputX" drools:dtype="String" itemSubjectRef="__17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputXItem" name="namespace"/> | ||
<bpmn2:dataInput id="_17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputX" drools:dtype="String" itemSubjectRef="__17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputXItem" name="model"/> | ||
<bpmn2:inputSet id="_-1Ao0vINEealZIUu-TmO8g"> | ||
<bpmn2:dataInputRefs>_17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputX</bpmn2:dataInputRefs> | ||
<bpmn2:dataInputRefs>_17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputX</bpmn2:dataInputRefs> | ||
</bpmn2:inputSet> | ||
<bpmn2:outputSet id="_-1Ao0_INEealZIUu-TmO8g"/> | ||
</bpmn2:ioSpecification> | ||
<bpmn2:dataInputAssociation id="_-1Ao1PINEealZIUu-TmO8g"> | ||
<bpmn2:targetRef>_17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputX</bpmn2:targetRef> | ||
<bpmn2:assignment id="_-1Ao1fINEealZIUu-TmO8g"> | ||
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_-1Ao1vINEealZIUu-TmO8g">dmn-namespace</bpmn2:from> | ||
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_-1Ao1_INEealZIUu-TmO8g">_17AA6636-67D4-4AB8-B995-54C8E5997061_namespaceInputX</bpmn2:to> | ||
</bpmn2:assignment> | ||
</bpmn2:dataInputAssociation> | ||
<bpmn2:dataInputAssociation id="_-1Ao2PINEealZIUu-TmO8g"> | ||
<bpmn2:targetRef>_17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputX</bpmn2:targetRef> | ||
<bpmn2:assignment id="_-1Ao2fINEealZIUu-TmO8g"> | ||
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_-1Ao2vINEealZIUu-TmO8g">mymodel</bpmn2:from> | ||
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_-1Ao2_INEealZIUu-TmO8g">_17AA6636-67D4-4AB8-B995-54C8E5997061_modelInputX</bpmn2:to> | ||
</bpmn2:assignment> | ||
</bpmn2:dataInputAssociation> | ||
</bpmn2:businessRuleTask> | ||
<bpmn2:sequenceFlow id="_D5C0FB17-AC8C-4BCF-BD69-9F973B581836" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="processStartEvent" targetRef="_17AA6636-67D4-4AB8-B995-54C8E5997061"/> | ||
<bpmn2:endEvent id="_BABAFC71-44A6-4480-9143-7DA25C4C17CF" drools:selectable="true" color:background-color="#ff6347" color:border-color="#000000" color:color="#000000" name=""> | ||
<bpmn2:extensionElements> | ||
<drools:metaData name="elementname"> | ||
<drools:metaValue><![CDATA[]]></drools:metaValue> | ||
</drools:metaData> | ||
</bpmn2:extensionElements> | ||
<bpmn2:incoming>_F083F326-63AB-49F5-BC23-C412BA817441</bpmn2:incoming> | ||
</bpmn2:endEvent> | ||
<bpmn2:sequenceFlow id="_F083F326-63AB-49F5-BC23-C412BA817441" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_17AA6636-67D4-4AB8-B995-54C8E5997061" targetRef="_BABAFC71-44A6-4480-9143-7DA25C4C17CF"/> | ||
</bpmn2:process> | ||
<bpmndi:BPMNDiagram id="_-1Ao3PINEealZIUu-TmO8g"> | ||
<bpmndi:BPMNPlane id="_-1Ao3fINEealZIUu-TmO8g" bpmnElement="evaluation.ruletest"> | ||
<bpmndi:BPMNShape id="_-1Ao3vINEealZIUu-TmO8g" bpmnElement="processStartEvent"> | ||
<dc:Bounds height="30.0" width="30.0" x="120.0" y="165.0"/> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="_-1BP4PINEealZIUu-TmO8g" bpmnElement="_17AA6636-67D4-4AB8-B995-54C8E5997061"> | ||
<dc:Bounds height="80.0" width="100.0" x="195.0" y="140.0"/> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="_-1BP4fINEealZIUu-TmO8g" bpmnElement="_BABAFC71-44A6-4480-9143-7DA25C4C17CF"> | ||
<dc:Bounds height="28.0" width="28.0" x="345.0" y="166.0"/> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="_-1BP4vINEealZIUu-TmO8g" bpmnElement="_D5C0FB17-AC8C-4BCF-BD69-9F973B581836" sourceElement="_-1Ao3vINEealZIUu-TmO8g" targetElement="_-1BP4PINEealZIUu-TmO8g"> | ||
<di:waypoint xsi:type="dc:Point" x="135.0" y="180.0"/> | ||
<di:waypoint xsi:type="dc:Point" x="245.0" y="180.0"/> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="_-1BP4_INEealZIUu-TmO8g" bpmnElement="_F083F326-63AB-49F5-BC23-C412BA817441" sourceElement="_-1BP4PINEealZIUu-TmO8g" targetElement="_-1BP4fINEealZIUu-TmO8g"> | ||
<di:waypoint xsi:type="dc:Point" x="245.0" y="180.0"/> | ||
<di:waypoint xsi:type="dc:Point" x="359.0" y="180.0"/> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn2:definitions> |
Oops, something went wrong.