User: alex clicked save for category_number_one/dmn-boolean-test/boolean-test.bpmn

This commit is contained in:
demo 2022-11-17 04:41:28 +00:00
parent 17ec11e4ef
commit 45c21b9f9a
5 changed files with 188 additions and 7 deletions

View File

@ -0,0 +1,44 @@
<?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" exporter="Camunda Modeler" exporterVersion="5.5.0">
<decision id="Boolean_Test_Table_2" name="Boolean Test: Table 2">
<decisionTable id="decisionTable_1">
<input id="InputClause_1w09lsj" label="Is a &#62; 0" biodi:width="150">
<inputExpression id="LiteralExpression_17h4b6k" typeRef="boolean">
<text>a &gt; 0</text>
</inputExpression>
</input>
<output id="output_1" label="Result" name="result" typeRef="string" biodi:width="354" />
<rule id="DecisionRule_0jolxn4">
<inputEntry id="UnaryTests_0m2lj6h">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pzx2gg">
<text>"Table 2 Rule 1 - a is greater than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1gtenjr">
<inputEntry id="UnaryTests_18fef0r">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_16r3oxl">
<text>"Table 2 Rule 2 - a is not greater than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wl7xlj">
<inputEntry id="UnaryTests_0s3u6uu">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ge9mo6">
<text>"Table 2 Rule 3 - did not match anything"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Boolean_Test_Table_2">
<dc:Bounds height="80" width="180" x="157" y="81" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,44 @@
<?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" exporter="Camunda Modeler" exporterVersion="5.5.0">
<decision id="Boolean_Test_Table_3" name="Boolean Test: Table 3">
<decisionTable id="decisionTable_1">
<input id="InputClause_0gjyqfc" label="Is a &#60; 0" biodi:width="150">
<inputExpression id="LiteralExpression_0824u9r" typeRef="boolean">
<text>a &lt; 0</text>
</inputExpression>
</input>
<output id="output_1" label="Result" name="result" typeRef="string" biodi:width="354" />
<rule id="DecisionRule_0jolxn4">
<inputEntry id="UnaryTests_05ch6qi">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pzx2gg">
<text>"Table 3 Rule 1 - a is less than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1gtenjr">
<inputEntry id="UnaryTests_0okarnm">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_16r3oxl">
<text>"Table 3 Rule 2 - a is not less than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wl7xlj">
<inputEntry id="UnaryTests_1dci7si">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ge9mo6">
<text>"Table 3 Rule 3 - did not match anything"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Boolean_Test_Table_3">
<dc:Bounds height="80" width="180" x="157" y="81" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -0,0 +1,44 @@
<?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" exporter="Camunda Modeler" exporterVersion="5.5.0">
<decision id="Boolean_Test_Table_4" name="Boolean Test: Table 4">
<decisionTable id="decisionTable_1">
<input id="InputClause_1ox66ta" label="Does a != 0">
<inputExpression id="LiteralExpression_0pp8nxi" typeRef="boolean">
<text>a != 0</text>
</inputExpression>
</input>
<output id="output_1" label="Result" name="result" typeRef="string" biodi:width="354" />
<rule id="DecisionRule_0jolxn4">
<inputEntry id="UnaryTests_1hl0swz">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pzx2gg">
<text>"Table 4 Rule 1 - a does not equal zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1gtenjr">
<inputEntry id="UnaryTests_0k1tkyo">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_16r3oxl">
<text>"Table 4 Rule 2 - a equals zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wl7xlj">
<inputEntry id="UnaryTests_15evfbm">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ge9mo6">
<text>"Table 4 Rule 3 - did not match anything"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Boolean_Test_Table_4">
<dc:Bounds height="80" width="180" x="157" y="81" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -5,9 +5,9 @@
<bpmn:outgoing>Flow_0n9fche</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0n9fche" sourceRef="StartEvent_1" targetRef="Activity_00rqhb1" />
<bpmn:businessRuleTask id="Activity_15gcg70" name="Run Boolean Test">
<bpmn:businessRuleTask id="Activity_15gcg70" name="Run Boolean Test: Table 1">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Boolean_Test</spiffworkflow:calledDecisionId>
<spiffworkflow:calledDecisionId>Boolean_Test_Table_1</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0dpcshe</bpmn:incoming>
<bpmn:outgoing>Flow_1fddirq</bpmn:outgoing>
@ -19,7 +19,7 @@
<bpmn:script>a = 1
b = 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1fddirq" sourceRef="Activity_15gcg70" targetRef="Activity_1pldlic" />
<bpmn:sequenceFlow id="Flow_1fddirq" sourceRef="Activity_15gcg70" targetRef="Activity_0g7tg9d" />
<bpmn:manualTask id="Activity_1pldlic" name="Show Result">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>**Input Column Expressions**
@ -41,13 +41,37 @@ a = {{ a }}
{{ result }}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1fddirq</bpmn:incoming>
<bpmn:incoming>Flow_1srt3sj</bpmn:incoming>
<bpmn:outgoing>Flow_14fc4g0</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_0k1k0cq">
<bpmn:incoming>Flow_14fc4g0</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_14fc4g0" sourceRef="Activity_1pldlic" targetRef="Event_0k1k0cq" />
<bpmn:businessRuleTask id="Activity_0g7tg9d" name="Run Boolean Test: Table 2">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Boolean_Test_Table_2</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1fddirq</bpmn:incoming>
<bpmn:outgoing>Flow_0k0672a</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_0k0672a" sourceRef="Activity_0g7tg9d" targetRef="Activity_0ny0zpp" />
<bpmn:businessRuleTask id="Activity_0ny0zpp" name="Run Boolean Test: Table 3">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Boolean_Test_Table_3</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0k0672a</bpmn:incoming>
<bpmn:outgoing>Flow_1vfi9qc</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_1vfi9qc" sourceRef="Activity_0ny0zpp" targetRef="Activity_0ha05ne" />
<bpmn:businessRuleTask id="Activity_0ha05ne" name="Run Boolean Test: Table 4">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Boolean_Test_Table_4</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1vfi9qc</bpmn:incoming>
<bpmn:outgoing>Flow_1srt3sj</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_1srt3sj" sourceRef="Activity_0ha05ne" targetRef="Activity_1pldlic" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_xy8tu6y">
@ -56,15 +80,28 @@ a = {{ a }}
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0t7mfd2_di" bpmnElement="Activity_15gcg70">
<dc:Bounds x="450" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0r9f4b9_di" bpmnElement="Activity_00rqhb1">
<dc:Bounds x="280" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dvyu8t_di" bpmnElement="Activity_1pldlic">
<bpmndi:BPMNShape id="BPMNShape_057ddmy" bpmnElement="Activity_0g7tg9d">
<dc:Bounds x="620" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_07ilf03" bpmnElement="Activity_0ny0zpp">
<dc:Bounds x="790" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0b9y2n4" bpmnElement="Activity_0ha05ne">
<dc:Bounds x="970" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dvyu8t_di" bpmnElement="Activity_1pldlic">
<dc:Bounds x="1150" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0k1k0cq_di" bpmnElement="Event_0k1k0cq">
<dc:Bounds x="792" y="159" width="36" height="36" />
<dc:Bounds x="1332" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0n9fche_di" bpmnElement="Flow_0n9fche">
<di:waypoint x="215" y="177" />
@ -79,8 +116,20 @@ a = {{ a }}
<di:waypoint x="620" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14fc4g0_di" bpmnElement="Flow_14fc4g0">
<di:waypoint x="1250" y="177" />
<di:waypoint x="1332" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0k0672a_di" bpmnElement="Flow_0k0672a">
<di:waypoint x="720" y="177" />
<di:waypoint x="792" y="177" />
<di:waypoint x="790" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1vfi9qc_di" bpmnElement="Flow_1vfi9qc">
<di:waypoint x="890" y="177" />
<di:waypoint x="970" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1srt3sj_di" bpmnElement="Flow_1srt3sj">
<di:waypoint x="1070" y="177" />
<di:waypoint x="1150" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>