mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-22 12:48:21 +00:00
User: alex clicked save for demo/admin-demo-1/submit-invoice.bpmn
This commit is contained in:
parent
8aa377c127
commit
5b35beaf68
36
demo/admin-demo-1/check-amounts.dmn
Normal file
36
demo/admin-demo-1/check-amounts.dmn
Normal file
@ -0,0 +1,36 @@
|
||||
<?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/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
||||
<decision id="Check_Amount" name="Check Amount">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1" label="Does Invocie = Monthly SAlary">
|
||||
<inputExpression id="inputExpression_1" typeRef="number">
|
||||
<text>(annual_salary/12)/invoiceAmount</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" label="Match?" name="isMatch" typeRef="boolean" />
|
||||
<rule id="DecisionRule_0ah107s">
|
||||
<inputEntry id="UnaryTests_0gg1aer">
|
||||
<text>1</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_19zcbe4">
|
||||
<text>True</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_15twpuo">
|
||||
<inputEntry id="UnaryTests_0dfj2ye">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1q8d6vy">
|
||||
<text>False</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_Amount">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
@ -96,6 +96,9 @@ annual_salary = float(annual_salary_str)</bpmn:script>
|
||||
<bpmn:sequenceFlow id="Flow_1fide0x" sourceRef="Activity_0t4r74j" targetRef="Activity_1t2wqtp" />
|
||||
<bpmn:sequenceFlow id="Flow_1wgjnl6" sourceRef="Activity_1t2wqtp" targetRef="Event_13o3qhm" />
|
||||
<bpmn:businessRuleTask id="Activity_1t2wqtp" name="Check Match?">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>Check_Amount</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1fide0x</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1wgjnl6</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
@ -275,13 +278,13 @@ annual_salary = float(annual_salary_str)</bpmn:script>
|
||||
<bpmndi:BPMNShape id="Event_061yjto_di" bpmnElement="Event_061yjto">
|
||||
<dc:Bounds x="222" y="212" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_13o3qhm_di" bpmnElement="Event_13o3qhm">
|
||||
<dc:Bounds x="872" y="212" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="BPMNShape_15hij05" bpmnElement="Activity_0t4r74j">
|
||||
<dc:Bounds x="510" y="190" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_13o3qhm_di" bpmnElement="Event_13o3qhm">
|
||||
<dc:Bounds x="872" y="212" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_19io0i1_di" bpmnElement="Activity_1t2wqtp">
|
||||
<dc:Bounds x="690" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
|
Loading…
x
Reference in New Issue
Block a user