<?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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_vpN61Cjm" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="bpmn-sdk" exporterVersion="0.0.1" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.5.0">
  <decision id="approval-matrix" name="Approval matrix">
    <decisionTable id="DecisionTable_rZeYl3It" hitPolicy="FIRST">
      <input id="Input_heu6jBko" label="Amount">
        <inputExpression id="InputExpression_KXtwqqnV" typeRef="number">
          <text>amount</text>
        </inputExpression>
      </input>
      <input id="Input_IiiUPmNM" label="Category">
        <inputExpression id="InputExpression_Gkgm7XOD" typeRef="string">
          <text>category</text>
        </inputExpression>
      </input>
      <output id="Output_fsdqWu9J" label="Auto-approve" name="autoApprove" typeRef="boolean"/>
      <output id="Output_oxCQTI3d" label="Approver group" name="approverGroup" typeRef="string"/>
      <rule id="DecisionRule_GaG8nPQ8">
        <description>Petty spend</description>
        <inputEntry id="UnaryTests_mnMQi4ll">
          <text>&lt; 500</text>
        </inputEntry>
        <inputEntry id="UnaryTests_1wBiTH1r">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_Saequzxg">
          <text>true</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_ZeIxMVw6">
          <text>"none"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_GjMa0OQw">
        <description>IT spend</description>
        <inputEntry id="UnaryTests_B6RbfI0y">
          <text>&lt; 10000</text>
        </inputEntry>
        <inputEntry id="UnaryTests_Wv4iUCyJ">
          <text>"it"</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_waSShgrr">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_VrE3Xd5K">
          <text>"it-managers"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_WFlnhOce">
        <description>Department spend</description>
        <inputEntry id="UnaryTests_0LV1rN27">
          <text>&lt; 10000</text>
        </inputEntry>
        <inputEntry id="UnaryTests_7UXUY4bZ">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_Sg9y9QG5">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_HcCKrZa1">
          <text>"department-heads"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_nApfeNr2">
        <description>Large spend</description>
        <inputEntry id="UnaryTests_wx8iX92k">
          <text>-</text>
        </inputEntry>
        <inputEntry id="UnaryTests_MoSXB4TN">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_QmgaDkji">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_Bqz79hxK">
          <text>"cfo-office"</text>
        </outputEntry>
      </rule>
    </decisionTable>
  </decision>
  <dmndi:DMNDI>
    <dmndi:DMNDiagram>
      <dmndi:DMNShape dmnElementRef="approval-matrix">
        <dc:Bounds height="80" width="180" x="160" y="100"/>
      </dmndi:DMNShape>
    </dmndi:DMNDiagram>
  </dmndi:DMNDI>
</definitions>

