<?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_eNKandMW" 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_YhXobhV2" hitPolicy="FIRST">
      <input id="Input_BNDJlrJl" label="Amount">
        <inputExpression id="InputExpression_NTFOcGU6" typeRef="number">
          <text>amount</text>
        </inputExpression>
      </input>
      <input id="Input_y6NQEcTg" label="Category">
        <inputExpression id="InputExpression_Th8ksGgl" typeRef="string">
          <text>category</text>
        </inputExpression>
      </input>
      <output id="Output_iyH86lEU" label="Auto-approve" name="autoApprove" typeRef="boolean"/>
      <output id="Output_LTKlnOn0" label="Approver group" name="approverGroup" typeRef="string"/>
      <rule id="DecisionRule_Vis6FttU">
        <description>Petty spend</description>
        <inputEntry id="UnaryTests_gRXnR1KR">
          <text>&lt; 500</text>
        </inputEntry>
        <inputEntry id="UnaryTests_BlbvaOK7">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_8lN52IUf">
          <text>true</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_bRjqBpva">
          <text>"none"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_S9QvWP74">
        <description>IT spend</description>
        <inputEntry id="UnaryTests_rV7vq295">
          <text>&lt; 10000</text>
        </inputEntry>
        <inputEntry id="UnaryTests_ekLdntYI">
          <text>"it"</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_gkPHEN8i">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_zBpzRM0f">
          <text>"it-managers"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_AKCiNGOJ">
        <description>Department spend</description>
        <inputEntry id="UnaryTests_oAgPaRfY">
          <text>&lt; 10000</text>
        </inputEntry>
        <inputEntry id="UnaryTests_aM1NqkSk">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_NjZj3K8Z">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_QtOydrTQ">
          <text>"department-heads"</text>
        </outputEntry>
      </rule>
      <rule id="DecisionRule_WgNCQBvk">
        <description>Large spend</description>
        <inputEntry id="UnaryTests_tVgDeudy">
          <text>-</text>
        </inputEntry>
        <inputEntry id="UnaryTests_THLdxymH">
          <text>-</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_hempFNq4">
          <text>false</text>
        </outputEntry>
        <outputEntry id="LiteralExpression_BKlSpWNx">
          <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>

