sample-process-models/misc/demo/admin-demo-1/check-amounts.dmn

37 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Check_Amount" name="Check Amount">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Does Invocie = Monthly Salary" biodi:width="323">
<inputExpression id="inputExpression_1" typeRef="number">
<text>(annual_salary/12)/invoiceAmount</text>
</inputExpression>
</input>
<output id="output_1" label="Match?" name="isMatch" typeRef="boolean" />
<rule id="DecisionRule_0ah107s">
<inputEntry id="UnaryTests_0gg1aer">
<text>1</text>
</inputEntry>
<outputEntry id="LiteralExpression_19zcbe4">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_15twpuo">
<inputEntry id="UnaryTests_0dfj2ye">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1q8d6vy">
<text>False</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_Amount">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>