Created
July 29, 2021 14:09
-
-
Save rafaeltuelho/0b07c6cb8a31d191b63c584a474aa30f to your computer and use it in GitHub Desktop.
loan-approval.dmn
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
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_EC5A0305-6427-48D9-B8A4-EBBE4E697952" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_0D8FD7B2-A3CD-477C-B572-A81193BDD346" name="loan-approval" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_EC5A0305-6427-48D9-B8A4-EBBE4E697952"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_630A1942-6338-478E-ACA0-22191A69AC39" name="Applicant" isCollection="false"> | |
<dmn:itemComponent id="_8E74686D-BE67-47D2-97D9-2414C8D87D4D" name="age" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_37BF9988-5935-44D1-9C64-375483F5B8F2" name="creditScore" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_F3AFC0C5-225C-4DC0-B0C4-C3A5C09007EE" name="monthlyIncome" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_8BAED2C1-9A35-4DDD-AB9A-49C1F44BC901" name="name" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_DD58C7FB-7EC2-4E73-8CBA-79105121F54C" name="Loan" isCollection="false"> | |
<dmn:itemComponent id="_91D59E92-ACF1-45DD-98E1-7952369F2065" name="amount" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_D3FBF6FF-EFD3-4EAC-871B-1D37FAF041EE" name="duration" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_3BFCE2E8-7F6F-4457-B1E4-760DEE1A0745" name="LoanPreApproval" isCollection="false"> | |
<dmn:itemComponent id="_1A852BDD-4261-44DD-B045-7B42474F9372" name="preApproval" isCollection="false"> | |
<dmn:typeRef>boolean</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_DA9A9646-B43F-4559-9AF8-7FFAB318280C" name="reason" isCollection="true"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:inputData id="_36A51DC6-87F8-4D88-8937-AEC1798297AF" name="Loan"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_ED584337-83FD-4BEF-8B2A-44EB35442FF4" name="Loan" typeRef="Loan"/> | |
</dmn:inputData> | |
<dmn:decision id="_44802CB3-A560-4ABE-B370-6CF31AC7D2FC" name="Pre Qualification"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_0BE11E88-DCAD-45E5-8DDD-6FC6CF80C8F5" name="Pre Qualification" typeRef="LoanPreApproval"/> | |
<dmn:informationRequirement id="_C9F6ECBC-6C95-491D-81AC-8A19FE243B7B"> | |
<dmn:requiredInput href="#_36A51DC6-87F8-4D88-8937-AEC1798297AF"/> | |
</dmn:informationRequirement> | |
<dmn:informationRequirement id="_75DF5EBD-E80E-4339-B812-B7CAFE1DA1FC"> | |
<dmn:requiredInput href="#_97F4A0F0-49F3-4DDF-87ED-7AB33BF0DC57"/> | |
</dmn:informationRequirement> | |
<dmn:informationRequirement id="_0A435F42-2D57-4C6C-A80D-4E3FE69A3D9A"> | |
<dmn:requiredDecision href="#_731D006C-D34F-4462-95F5-F267FFCC97F0"/> | |
</dmn:informationRequirement> | |
<dmn:knowledgeRequirement id="_234AF8C9-9826-4A75-854A-EB4200E9AED0"> | |
<dmn:requiredKnowledge href="#_B5CF846A-D364-4744-B418-E574CC473247"/> | |
</dmn:knowledgeRequirement> | |
<dmn:context id="_1BA436EA-FB67-473E-A0F6-F575B6D31732"> | |
<dmn:contextEntry> | |
<dmn:variable id="_752DE0C1-B390-473D-89E7-463746A41A06" name="Age Eligibility" typeRef="LoanPreApproval"/> | |
<dmn:decisionTable id="_E2797E6E-00D8-4686-A2B9-8756C784B135" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row"> | |
<dmn:input id="_6ABEE2A3-612B-4080-917A-4923539E72DB"> | |
<dmn:inputExpression id="_557F8FC2-8EE7-4933-AB6C-47A906DDF621" typeRef="number"> | |
<dmn:text>Applicant.age</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:output id="_336496C4-8D12-4673-8506-D4DD2F336882" name="preApproval" typeRef="boolean"/> | |
<dmn:output id="_8A0EB489-5347-4572-B9ED-A39E11D8D40E" name="reason" typeRef="string"/> | |
<dmn:annotation name="Description"/> | |
<dmn:rule id="_6FA985CB-13B4-4F25-8FB7-97DE7A33A3C6"> | |
<dmn:inputEntry id="_BD2A1086-E588-40DE-812A-B8FEEE0C58E5"> | |
<dmn:text>[18..70]</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_E02C9925-65D4-44FF-B737-32EF67B59D30"> | |
<dmn:text>true</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_F362EB1D-BB2C-4455-958C-4762D036C35E"> | |
<dmn:text>"Age is valid"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_B7EA5750-21B1-410C-A0AE-10C09BBCA4E8"> | |
<dmn:inputEntry id="_DCB29242-0433-4A95-B1D1-D9697EBF7E3E"> | |
<dmn:text>not ([18..70])</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_D2D26E8E-E4ED-4CE4-BD49-9DAFA8C615DA"> | |
<dmn:text>false</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_46AF1BBE-FAE0-4B9D-A4F7-06E3CCD43EBD"> | |
<dmn:text>"Age not valid"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
</dmn:decisionTable> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_A22192BD-E064-4CD7-813E-B4F7193D0C34" name="Credit Check" typeRef="LoanPreApproval"/> | |
<dmn:decisionTable id="_BB7A67B4-E702-41E9-9789-89249233800D" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row"> | |
<dmn:input id="_0465BE34-F1DA-4AFE-83EA-88DB7003B866"> | |
<dmn:inputExpression id="_51AB0B7A-CF80-4FEF-B4B3-B261A7390F2D" typeRef="number"> | |
<dmn:text>Applicant.creditScore</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:output id="_05F41496-20F7-42B2-8452-4754CE7A4A96" name="preApproval" typeRef="boolean"/> | |
<dmn:output id="_1DC4A9DC-4B27-4211-8A47-BBB6569683A9" name="reason" typeRef="string"/> | |
<dmn:annotation name="Description"/> | |
<dmn:rule id="_B4B3DC3D-5154-4F14-A177-7621B2DC77D8"> | |
<dmn:inputEntry id="_78E12846-5A03-4379-B5FF-81C57996E397"> | |
<dmn:text>< 300</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_C34F42F4-E7EE-44FF-90AB-567C10C8BBBB"> | |
<dmn:text>false</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_4859AEF8-E268-45F9-891F-22AF56C767A0"> | |
<dmn:text>"Credit too low"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_2CADF8A6-94B5-42E5-8489-D359339ABF6E"> | |
<dmn:inputEntry id="_99AA03BC-0EA8-4D39-9A19-0990E90F6F26"> | |
<dmn:text>>= 300</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_3A43ABC0-FFCE-4C4C-A403-E0C2BB78D58C"> | |
<dmn:text>true</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_24C9B7FC-B852-4EA4-9E62-07839F5F78CB"> | |
<dmn:text>"Good Credit"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
</dmn:decisionTable> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_A09A4779-0D58-450F-A07E-B6EEFE86A5DD" name="Debt Ratio" typeRef="number"/> | |
<dmn:invocation id="_65C83C34-F67E-49C1-899B-A2CD71B9D0BD"> | |
<dmn:literalExpression id="_0B94F29C-EE10-4DBF-B703-5BCE95E7FADB"> | |
<dmn:text>Debit to Income</dmn:text> | |
</dmn:literalExpression> | |
<dmn:binding> | |
<dmn:parameter id="_2D2F3C26-9B7D-4F23-8BA7-3A9CB1C3051E" name="pLoanAmount" typeRef="number"/> | |
<dmn:literalExpression id="_26F02CB3-F0AF-4D53-82DC-C262AD938FB7"> | |
<dmn:text>Loan.amount</dmn:text> | |
</dmn:literalExpression> | |
</dmn:binding> | |
<dmn:binding> | |
<dmn:parameter id="_079AE1A6-9B0A-426B-99D5-5183425A55CF" name="pLoanDuration" typeRef="number"/> | |
<dmn:literalExpression id="_2DCDD4AA-9882-4190-97DC-70E08060255B"> | |
<dmn:text>Loan.duration</dmn:text> | |
</dmn:literalExpression> | |
</dmn:binding> | |
<dmn:binding> | |
<dmn:parameter id="_2FF90D21-2261-4AAB-BBEF-2D4DDF3131FD" name="pMonthlyIncome" typeRef="number"/> | |
<dmn:literalExpression id="_017B82CE-46A0-4F47-897C-DA9EC38065A0"> | |
<dmn:text>Applicant.monthlyIncome</dmn:text> | |
</dmn:literalExpression> | |
</dmn:binding> | |
<dmn:binding> | |
<dmn:parameter id="_CD45EA38-3007-4BBF-A061-3B77C7323B07" name="pInterestRate" typeRef="number"/> | |
<dmn:literalExpression id="_43F2C3DE-A958-446F-B31F-E41A29E5027E"> | |
<dmn:text>Interest Rate</dmn:text> | |
</dmn:literalExpression> | |
</dmn:binding> | |
</dmn:invocation> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_6DCDA1BD-2BB4-40DE-AD14-56B486EEA2BF" name="Debt Ratio Check" typeRef="LoanPreApproval"/> | |
<dmn:decisionTable id="_9100C146-14A1-4C5E-BAD0-5A22A5C22DFF" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row"> | |
<dmn:input id="_1A873E69-B900-4326-A417-7836DB1B3C54"> | |
<dmn:inputExpression id="_F9DA7BC6-F8DA-4011-9F27-050D02D7E41E" typeRef="number"> | |
<dmn:text>Debt Ratio</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:output id="_73944A38-F7D3-497F-9DE6-8C0D5D3963DC" name="preApproval" typeRef="boolean"/> | |
<dmn:output id="_FBBD9628-0F33-4E6A-9EFE-EE3E8ED05E14" name="reason" typeRef="string"/> | |
<dmn:annotation name="Description"/> | |
<dmn:rule id="_5B68BE48-A40D-4326-B375-A0F57D8B5668"> | |
<dmn:inputEntry id="_0707AA66-9415-44CB-BEF5-1B77C4C5C655"> | |
<dmn:text>>= 30</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_3DD2EA2B-8D35-4089-A9C9-1779B3440F76"> | |
<dmn:text>false</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_4023368C-9470-4B25-82D5-7CFC6B411FFE"> | |
<dmn:text>"Debt ratio is too high"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_941936C2-2A33-47E7-9AC6-0356ED0F509D"> | |
<dmn:inputEntry id="_96134EDC-4CCB-443A-9B12-2989050DE710"> | |
<dmn:text>< 30</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_897DAE70-8249-42D3-BD95-F18BBE167448"> | |
<dmn:text>true</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_A644640C-7253-4578-A0F5-43E643D81A84"> | |
<dmn:text>"Debt ratio is ok"</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
</dmn:decisionTable> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_75041BC8-9DDC-47F0-A701-5429009898D0" name="preApprovalStatus" typeRef="boolean"/> | |
<dmn:literalExpression id="_7AF57559-D7E9-478F-A594-E9505627AC80"> | |
<dmn:text>all(Age Eligibility.preApproval, Credit Check.preApproval, Debt Ratio Check.preApproval)</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_B69C9ACF-7D01-404D-9224-4BDCF3AE1F29" name="reasonList" typeRef="string"/> | |
<dmn:literalExpression id="_38EF20AD-5635-4008-98C5-E0FDB11FADC2"> | |
<dmn:text>union(Age Eligibility.reason, Credit Check.reason, Debt Ratio Check.reason) </dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:literalExpression id="_DDE53D03-95F9-4505-B124-C7CF9D54E69F"> | |
<dmn:text>{"preApproval": preApprovalStatus, "reason": reasonList[item != null]}</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
</dmn:context> | |
</dmn:decision> | |
<dmn:inputData id="_97F4A0F0-49F3-4DDF-87ED-7AB33BF0DC57" name="Applicant"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_C2B997A4-2672-402E-9EFE-1A4E6045573D" name="Applicant" typeRef="Applicant"/> | |
</dmn:inputData> | |
<dmn:businessKnowledgeModel id="_B5CF846A-D364-4744-B418-E574CC473247" name="Debit to Income"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_9FD86263-7BEA-4732-A9BA-DCABDE7F4B63" name="Debit to Income" typeRef="number"/> | |
<dmn:encapsulatedLogic id="_8CAB9D68-9EB7-4483-9B60-E82ECD168424" kind="FEEL"> | |
<dmn:formalParameter id="_4101C6D0-F60E-4025-A97C-BCF71918AE16" name="pLoanAmount" typeRef="number"/> | |
<dmn:formalParameter id="_2E39A9AA-4915-4AE7-B892-48DA64ED716B" name="pLoanDuration" typeRef="number"/> | |
<dmn:formalParameter id="_AD15826D-DE81-416D-B518-63B5AC3486D1" name="pMonthlyIncome" typeRef="number"/> | |
<dmn:formalParameter id="_65EF9E9C-BC96-4E05-AC90-B03BAEBAB360" name="pInterestRate" typeRef="number"/> | |
<dmn:context id="_41BA057D-80C6-4AC8-8779-FE3D0A264669"> | |
<dmn:contextEntry> | |
<dmn:variable id="_5C93A464-A213-4E01-86A3-FEF54F12758A" name="Monthly Repayment" typeRef="number"/> | |
<dmn:literalExpression id="_8F94119C-B447-4253-A0E3-AC8487313A99"> | |
<dmn:text>((pInterestRate * pLoanAmount / 100) + pLoanAmount) / (pLoanDuration * 12)</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:literalExpression id="_C11E290B-2916-4512-BF5E-C5E3DAA3399D"> | |
<dmn:text>decimal((Monthly Repayment/pMonthlyIncome) * 100, 2)</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
</dmn:context> | |
</dmn:encapsulatedLogic> | |
</dmn:businessKnowledgeModel> | |
<dmn:decision id="_731D006C-D34F-4462-95F5-F267FFCC97F0" name="Interest Rate"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_38A89CEE-28D4-4831-8209-F70B01533848" name="Interest Rate" typeRef="number"/> | |
<dmn:informationRequirement id="_B48741DB-E93F-4DFA-B707-EEA8C2211AE7"> | |
<dmn:requiredInput href="#_36A51DC6-87F8-4D88-8937-AEC1798297AF"/> | |
</dmn:informationRequirement> | |
<dmn:decisionTable id="_2EF0DA0D-6EAA-4936-92C9-AFC8108BEB17" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row"> | |
<dmn:input id="_5FD24FB3-09F2-4E55-8D02-ADBEDF8E51C7"> | |
<dmn:inputExpression id="_53B0F8A8-21F5-4DBF-9B7F-8B8D0F0E4146" typeRef="number"> | |
<dmn:text>Loan.amount</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:input id="_D1A483EF-954B-4A3F-A5ED-C96F37C10D9D"> | |
<dmn:inputExpression id="_3AC7A046-677B-421A-91A9-8F1399088823" typeRef="number"> | |
<dmn:text>Loan.duration</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:output id="_E7E64C1F-3530-409B-A293-E46CEF874EAC"/> | |
<dmn:annotation name="Description"/> | |
<dmn:rule id="_7B6EFFF9-920C-4BDD-876E-3C9E9EAAEC9E"> | |
<dmn:inputEntry id="_A4BD7D4C-360E-441D-B3B1-E1917FA814F8"> | |
<dmn:text>< 30000</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_A1B3DD50-8495-44C9-A5DD-B7DA2824242C"> | |
<dmn:text><= 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_3B027256-8124-44E6-BB53-BACDCC00080D"> | |
<dmn:text>0.47</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_546C45F3-5CBF-446E-B15F-CC17D9F5F4D9"> | |
<dmn:inputEntry id="_5F09FFEF-3B2E-4E40-B7AB-8B51D7B85664"> | |
<dmn:text>[30000..60000]</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_BD0B9D8D-C0B6-4F9D-B878-99E77F1DAA19"> | |
<dmn:text><= 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_16CAFA2F-7804-43F9-BF99-A2748A8C63B6"> | |
<dmn:text>0.70</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_0E692795-2E31-4A81-B902-972DE6674670"> | |
<dmn:inputEntry id="_673C12C6-8345-4B1B-B8E1-403BF6DE53A4"> | |
<dmn:text>> 60000</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_7514B0DB-31F3-45B4-B24A-3F32D17F19BF"> | |
<dmn:text><= 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_BB476317-844A-4EEC-910E-679C94DCC711"> | |
<dmn:text>1.45</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_DCCC17E6-A3FE-4509-BF20-6292D373DC45"> | |
<dmn:inputEntry id="_E01DB8C2-3DB7-4BA6-91BB-AAE11B480041"> | |
<dmn:text>< 30000</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_3C7B8C37-045A-4A14-B80A-BA30659AEEE9"> | |
<dmn:text>> 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_D7FA8E8E-ED0D-493C-B068-9A580418993F"> | |
<dmn:text>1.45</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_A69099D7-6421-4A13-ADC4-C3E585251660"> | |
<dmn:inputEntry id="_2F7C2723-EBD6-4FD2-B822-6CFE7D77E43A"> | |
<dmn:text>[30000..60000]</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_A9EABF7A-E8D6-47CA-984C-DE6CEB9F2282"> | |
<dmn:text>> 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_FD9F71CC-D1DC-4B1A-B5A3-C8F7A2DE4C1E"> | |
<dmn:text>1.65</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
<dmn:rule id="_D0E43BE9-DBC8-4441-A3CF-9593231A2354"> | |
<dmn:inputEntry id="_A105793D-DFC2-4F74-81E0-91F3DB9E1B8E"> | |
<dmn:text>> 60000</dmn:text> | |
</dmn:inputEntry> | |
<dmn:inputEntry id="_865040C3-6150-4C11-A547-87595BC30A78"> | |
<dmn:text>> 7</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_2094184A-CA3B-4E10-AF3E-6F499C622265"> | |
<dmn:text>1.85</dmn:text> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
</dmn:decisionTable> | |
</dmn:decision> | |
<dmndi:DMNDI> | |
<dmndi:DMNDiagram id="_02181F72-A6EA-45DF-927C-BD01408C503D" name="DRG"> | |
<di:extension> | |
<kie:ComponentsWidthsExtension> | |
<kie:ComponentWidths dmnElementRef="_1BA436EA-FB67-473E-A0F6-F575B6D31732"> | |
<kie:width>50</kie:width> | |
<kie:width>144</kie:width> | |
<kie:width>1058</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_E2797E6E-00D8-4686-A2B9-8756C784B135"> | |
<kie:width>50</kie:width> | |
<kie:width>155</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>169</kie:width> | |
<kie:width>564</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_BB7A67B4-E702-41E9-9789-89249233800D"> | |
<kie:width>50</kie:width> | |
<kie:width>157</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>169</kie:width> | |
<kie:width>562</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_65C83C34-F67E-49C1-899B-A2CD71B9D0BD"> | |
<kie:width>50</kie:width> | |
<kie:width>174</kie:width> | |
<kie:width>814</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_0B94F29C-EE10-4DBF-B703-5BCE95E7FADB"/> | |
<kie:ComponentWidths dmnElementRef="_26F02CB3-F0AF-4D53-82DC-C262AD938FB7"> | |
<kie:width>814</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_2DCDD4AA-9882-4190-97DC-70E08060255B"> | |
<kie:width>814</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_017B82CE-46A0-4F47-897C-DA9EC38065A0"> | |
<kie:width>814</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_43F2C3DE-A958-446F-B31F-E41A29E5027E"> | |
<kie:width>814</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_9100C146-14A1-4C5E-BAD0-5A22A5C22DFF"> | |
<kie:width>50</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>364</kie:width> | |
<kie:width>424</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_7AF57559-D7E9-478F-A594-E9505627AC80"> | |
<kie:width>1058</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_38EF20AD-5635-4008-98C5-E0FDB11FADC2"> | |
<kie:width>1058</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_DDE53D03-95F9-4505-B124-C7CF9D54E69F"> | |
<kie:width>1058</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_41BA057D-80C6-4AC8-8779-FE3D0A264669"> | |
<kie:width>50</kie:width> | |
<kie:width>232</kie:width> | |
<kie:width>665</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_8F94119C-B447-4253-A0E3-AC8487313A99"> | |
<kie:width>665</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_C11E290B-2916-4512-BF5E-C5E3DAA3399D"> | |
<kie:width>665</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_8CAB9D68-9EB7-4483-9B60-E82ECD168424"> | |
<kie:width>50</kie:width> | |
<kie:width>967</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_2EF0DA0D-6EAA-4936-92C9-AFC8108BEB17"> | |
<kie:width>50</kie:width> | |
<kie:width>137</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>100</kie:width> | |
</kie:ComponentWidths> | |
</kie:ComponentsWidthsExtension> | |
</di:extension> | |
<dmndi:DMNShape id="dmnshape-drg-_36A51DC6-87F8-4D88-8937-AEC1798297AF" dmnElementRef="_36A51DC6-87F8-4D88-8937-AEC1798297AF" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="140" y="297" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_44802CB3-A560-4ABE-B370-6CF31AC7D2FC" dmnElementRef="_44802CB3-A560-4ABE-B370-6CF31AC7D2FC" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="363" y="153" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_97F4A0F0-49F3-4DDF-87ED-7AB33BF0DC57" dmnElementRef="_97F4A0F0-49F3-4DDF-87ED-7AB33BF0DC57" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="362" y="297" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_B5CF846A-D364-4744-B418-E574CC473247" dmnElementRef="_B5CF846A-D364-4744-B418-E574CC473247" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="558" y="153.3421052631579" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_731D006C-D34F-4462-95F5-F267FFCC97F0" dmnElementRef="_731D006C-D34F-4462-95F5-F267FFCC97F0" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="141" y="153" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNEdge id="dmnedge-drg-_C9F6ECBC-6C95-491D-81AC-8A19FE243B7B" dmnElementRef="_C9F6ECBC-6C95-491D-81AC-8A19FE243B7B"> | |
<di:waypoint x="190" y="322"/> | |
<di:waypoint x="413" y="203"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_75DF5EBD-E80E-4339-B812-B7CAFE1DA1FC" dmnElementRef="_75DF5EBD-E80E-4339-B812-B7CAFE1DA1FC"> | |
<di:waypoint x="412" y="322"/> | |
<di:waypoint x="413" y="203"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_0A435F42-2D57-4C6C-A80D-4E3FE69A3D9A" dmnElementRef="_0A435F42-2D57-4C6C-A80D-4E3FE69A3D9A"> | |
<di:waypoint x="191" y="178"/> | |
<di:waypoint x="363" y="178"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_234AF8C9-9826-4A75-854A-EB4200E9AED0" dmnElementRef="_234AF8C9-9826-4A75-854A-EB4200E9AED0"> | |
<di:waypoint x="608" y="178.3421052631579"/> | |
<di:waypoint x="463" y="178"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_B48741DB-E93F-4DFA-B707-EEA8C2211AE7-AUTO-TARGET" dmnElementRef="_B48741DB-E93F-4DFA-B707-EEA8C2211AE7"> | |
<di:waypoint x="190" y="322"/> | |
<di:waypoint x="191" y="203"/> | |
</dmndi:DMNEdge> | |
</dmndi:DMNDiagram> | |
</dmndi:DMNDI> | |
</dmn:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment