155 lines
7.2 KiB
XML
155 lines
7.2 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="Waku_Messages_Message_Variables" name="Waku Messages: Message Variables">
|
|
<decisionTable id="decisionTable_1">
|
|
<input id="InputClause_1rhgijj" label="Process Model Id" biodi:width="346">
|
|
<inputExpression id="LiteralExpression_0u14meu" typeRef="string">
|
|
<text>process_info["process_model_identifier"]</text>
|
|
</inputExpression>
|
|
</input>
|
|
<input id="InputClause_0qwblqb" label="Task Id" biodi:width="257">
|
|
<inputExpression id="LiteralExpression_08g5cr5" typeRef="string">
|
|
<text>task_id</text>
|
|
</inputExpression>
|
|
</input>
|
|
<input id="InputClause_1w7fy9t" label="PL Comments?" biodi:width="150">
|
|
<inputExpression id="LiteralExpression_06o2a8x" typeRef="number">
|
|
<text>len_project_lead_comments</text>
|
|
</inputExpression>
|
|
</input>
|
|
<input id="InputClause_0gkmsg8" label="Fin Comments?" biodi:width="150">
|
|
<inputExpression id="LiteralExpression_0indbhg" typeRef="number">
|
|
<text>len_finance_comments</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output_1" label="Message Variables" name="waku_message_variables" typeRef="string" biodi:width="539" />
|
|
<rule id="DecisionRule_0kll1at">
|
|
<inputEntry id="UnaryTests_1kytcl4">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1ke62jr">
|
|
<text>"waku_payment_pending_ismatch"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0ztcqq1">
|
|
<text>0</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0t0pmnc">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_08whd59">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nFinance Comments: " + invoice.commentsFinance</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_11t3qpe">
|
|
<inputEntry id="UnaryTests_0nfkjo9">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0w1qe6z">
|
|
<text>"waku_payment_pending_not_ismatch"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1d41cw8">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0iubd3q">
|
|
<text>9</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0ng8lzx">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProject Lead Comments: " + invoice.commentsProjectLead</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0ox5iuo">
|
|
<inputEntry id="UnaryTests_16atgik">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_044o0h7">
|
|
<text>"waku_payment_pending_not_ismatch"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_01rh82v">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1qqhg9i">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1f972mh">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProject Lead Comments: " + invoice.commentsProjectLead + "\nFinance Comments: " + invoice.commentsFinance</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_05cl9wi">
|
|
<inputEntry id="UnaryTests_13wp0uc">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1ibvecu">
|
|
<text>"waku_payment_pending_not_ismatch"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_17nrjd7">
|
|
<text>0</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1mc169j">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1ecfr1n">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nFinance Comments: " + invoice.commentsFinance</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1ejqucj">
|
|
<inputEntry id="UnaryTests_0yhtxz8">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1e1bbtf">
|
|
<text>"waku_invoice_rejected_not_ismatch_pl_approve"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0o1ss98">
|
|
<text>>0</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_16alozq">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0ap9kmf">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProject Lead Comments: " + invoice.commentsProjectLead</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_03x15pb">
|
|
<inputEntry id="UnaryTests_18haku4">
|
|
<text>"execute-procure-to-pay/cc-invoice-approval-process"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0gvqsdd">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0lasj47">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1n5ywxg">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1x5klct">
|
|
<text>"\nInvoice no: " + str(invoice.invoiceId) + "\nAmount: " + invoice.invoiceAmount_str + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_17uvzqt">
|
|
<inputEntry id="UnaryTests_11yqbrg">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1it8sci">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_16lf2lf">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1edw9rn">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1779kpe">
|
|
<text>"Something is wrong, contact Support"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Waku_Messages_Message_Variables">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|