mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 13:18:21 +00:00
37 lines
1.6 KiB
XML
37 lines
1.6 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="Invoice_Approval_Check" name="Invoice Approval Check">
|
|
<decisionTable id="decisionTable_1">
|
|
<input id="input_1" label="Annual Salary/12 = Invoice Amount?" biodi:width="315">
|
|
<inputExpression id="inputExpression_1" typeRef="number">
|
|
<text>(annual_salary/12)/invoice_amount</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output_1" label="Match?" name="isMatch" typeRef="boolean" />
|
|
<rule id="DecisionRule_1pdl1wj">
|
|
<inputEntry id="UnaryTests_1i2h92p">
|
|
<text>1</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_00pfc7a">
|
|
<text>True</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1qx42vm">
|
|
<inputEntry id="UnaryTests_02qe20q">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_05ky601">
|
|
<text>False</text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Invoice_Approval_Check">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|