dsntk-examples 0.3.0

ÐecisionToolkit | Examples
Documentation
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="http://www.montera.com.au/spec/DMN/0064-feel-conjunction" name="0064-feel-conjunction" id="_i9fboPUUEEesLuP4RHs4vA" xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
             xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <description>Semantics of conjunction</description>
    <decision name="decision001" id="_decision001">
        <description>Tests FEEL expression: 'true and true' and expects result: 'true (boolean)'</description>
        <question>Result of FEEL expression 'true and true'?</question>
        <allowedAnswers>true (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision001"/>
        <literalExpression>
            <text>true and true</text>
        </literalExpression>
    </decision>
    <decision name="decision002" id="_decision002">
        <description>Tests FEEL expression: 'true and false' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'true and false'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision002"/>
        <literalExpression>
            <text>true and false</text>
        </literalExpression>
    </decision>
    <decision name="decision003_a" id="_decision003_a">
        <description>Tests FEEL expression: 'true and null' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression 'true and null'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision003_a"/>
        <literalExpression>
            <text>true and null</text>
        </literalExpression>
    </decision>
    <decision name="decision003_b" id="_decision003_b">
        <description>Tests FEEL expression: 'true and 123' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression 'true and 123'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision003_b"/>
        <literalExpression>
            <text>true and 123</text>
        </literalExpression>
    </decision>
    <decision name="decision003_c" id="_decision003_c">
        <description>Tests FEEL expression: 'true and "true"' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression 'true and "true"'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision003_c"/>
        <literalExpression>
            <text>true and "true"</text>
        </literalExpression>
    </decision>
    <decision name="decision004" id="_decision004">
        <description>Tests FEEL expression: 'false and true' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'false and true'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision004"/>
        <literalExpression>
            <text>false and true</text>
        </literalExpression>
    </decision>
    <decision name="decision005" id="_decision005">
        <description>Tests FEEL expression: 'false and false' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'false and false'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision005"/>
        <literalExpression>
            <text>false and false</text>
        </literalExpression>
    </decision>
    <decision name="decision006_a" id="_decision006_a">
        <description>Tests FEEL expression: 'false and null' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'false and null'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision006_a"/>
        <literalExpression>
            <text>false and null</text>
        </literalExpression>
    </decision>
    <decision name="decision006_b" id="_decision006_b">
        <description>Tests FEEL expression: 'false and 123' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'false and 123'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision006_b"/>
        <literalExpression>
            <text>false and 123</text>
        </literalExpression>
    </decision>
    <decision name="decision006_c" id="_decision006_c">
        <description>Tests FEEL expression: 'false and "true"' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'false and "true"'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision006_c"/>
        <literalExpression>
            <text>false and "true"</text>
        </literalExpression>
    </decision>
    <decision name="decision007_a" id="_decision007_a">
        <description>Tests FEEL expression: 'null and true' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression 'null and true'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision007_a"/>
        <literalExpression>
            <text>null and true</text>
        </literalExpression>
    </decision>
    <decision name="decision007_b" id="_decision007_b">
        <description>Tests FEEL expression: '123 and true' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression '123 and true'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision007_b"/>
        <literalExpression>
            <text>123 and true</text>
        </literalExpression>
    </decision>
    <decision name="decision007_c" id="_decision007_c">
        <description>Tests FEEL expression: '"true" and true' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression '"true" and true'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision007_c"/>
        <literalExpression>
            <text>"true" and true</text>
        </literalExpression>
    </decision>
    <decision name="decision008_a" id="_decision008_a">
        <description>Tests FEEL expression: 'null and false' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression 'null and false'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision008_a"/>
        <literalExpression>
            <text>null and false</text>
        </literalExpression>
    </decision>
    <decision name="decision008_b" id="_decision008_b">
        <description>Tests FEEL expression: '123 and false' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression '123 and false'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision008_b"/>
        <literalExpression>
            <text>123 and false</text>
        </literalExpression>
    </decision>
    <decision name="decision008_c" id="_decision008_c">
        <description>Tests FEEL expression: '"true" and false' and expects result: 'false (boolean)'</description>
        <question>Result of FEEL expression '"true" and false'?</question>
        <allowedAnswers>false (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision008_c"/>
        <literalExpression>
            <text>"true" and false</text>
        </literalExpression>
    </decision>
    <decision name="decision009_a" id="_decision009_a">
        <description>Tests FEEL expression: 'null and null' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression 'null and null'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision009_a"/>
        <literalExpression>
            <text>null and null</text>
        </literalExpression>
    </decision>
    <decision name="decision009_b" id="_decision009_b">
        <description>Tests FEEL expression: '"true" and "true"' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression '"true" and "true"'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision009_b"/>
        <literalExpression>
            <text>"true" and "true"</text>
        </literalExpression>
    </decision>
    <decision name="decision009_c" id="_decision009_c">
        <description>Tests FEEL expression: '0 and 0' and expects result: 'null (boolean)'</description>
        <question>Result of FEEL expression '0 and 0'?</question>
        <allowedAnswers>null (boolean)</allowedAnswers>
        <variable typeRef="boolean" name="decision009_c"/>
        <literalExpression>
            <text>0 and 0</text>
        </literalExpression>
    </decision>
</definitions>