mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 13:18:21 +00:00
User: alex clicked save for demo/amin-demo/demo-level-1-and-2.bpmn
This commit is contained in:
parent
a112b2d835
commit
f9409d11c8
36
demo/amin-demo/check-if-match.dmn
Normal file
36
demo/amin-demo/check-if-match.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_If_Match" name="Check If Match">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1" label="Annual Salary / 12 = Invoice Amount?">
|
||||
<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_0g8lzfi">
|
||||
<inputEntry id="UnaryTests_0xdm1tc">
|
||||
<text>1</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_06fsqul">
|
||||
<text>True</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1uathhd">
|
||||
<inputEntry id="UnaryTests_1vsc4hr">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1kga8fn">
|
||||
<text>False</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_If_Match">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
@ -101,6 +101,7 @@
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:preScript>annual_salary_str = resp_BambooPayRate["amount"]
|
||||
annual_salary = float(annual_salary_str)</spiffworkflow:preScript>
|
||||
<spiffworkflow:calledDecisionId>Check_If_Match</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0u2o62f</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1o7xqwj</bpmn:outgoing>
|
||||
@ -301,12 +302,12 @@ annual_salary = float(annual_salary_str)</spiffworkflow:preScript>
|
||||
<bpmndi:BPMNShape id="Activity_0tn2vxw_di" bpmnElement="Activity_1ipukvu">
|
||||
<dc:Bounds x="370" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1aak9lg_di" bpmnElement="Activity_0odiart">
|
||||
<dc:Bounds x="540" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0yq2et4_di" bpmnElement="Event_0yq2et4">
|
||||
<dc:Bounds x="712" y="212" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1aak9lg_di" bpmnElement="Activity_0odiart">
|
||||
<dc:Bounds x="540" y="190" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0kf7skq_di" bpmnElement="Flow_0kf7skq">
|
||||
<di:waypoint x="318" y="230" />
|
||||
<di:waypoint x="370" y="230" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user