sample-process-models/misc/category_number_one/set-timeout/hot.dmn

39 lines
1.5 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/" id="hot_decision_drd" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="hot_decision" name="hot_decision">
<decisionTable id="decisionTable_1">
<input id="input_1">
<inputExpression id="inputExpression_1" typeRef="string">
<text>get_env()</text>
</inputExpression>
</input>
<output id="output_1" name="timeout" typeRef="string" />
<rule id="DecisionRule_0glyl2l">
<description>on staging the timeout is 60 seconds</description>
<inputEntry id="UnaryTests_09irmod">
<text>"staging"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1efieq4">
<text>60</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0hjkc8l">
<description>on testing the timeout is 10 seconds</description>
<inputEntry id="UnaryTests_1bjg8et">
<text>"testing"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0hprhvk">
<text>10</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="hot_decision">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>