sample-process-models/misc/documentation/user-permissions-example/users_to_groups.dmn

69 lines
2.6 KiB
Plaintext
Raw Normal View History

<?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">
<decision id="users_to_groups" name="Users to Groups">
<decisionTable id="decisionTable_1" hitPolicy="COLLECT" biodi:annotationsWidth="400">
<input id="input_1" biodi:width="192">
<inputExpression id="inputExpression_1" typeRef="string">
<text>user</text>
</inputExpression>
</input>
<output id="output_1" name="groups" typeRef="Any" biodi:width="262" />
<rule id="DecisionRule_1rbbrcv">
<inputEntry id="UnaryTests_0u0oanl">
<text>"Nelson"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0z6b50n">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_05sdhrp">
<inputEntry id="UnaryTests_0pp8xqw">
<text>"Malala"</text>
</inputEntry>
<outputEntry id="LiteralExpression_07m82fl">
<text>"education"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1j4cbyi">
<inputEntry id="UnaryTests_0yr0a4a">
<text>"Harriet"</text>
</inputEntry>
<outputEntry id="LiteralExpression_08owxen">
<text>"transportation"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_03rp5yx">
<inputEntry id="UnaryTests_0o18x2o">
<text>"Martin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_16l6t6z">
<text>"leadership"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1p24sca">
<inputEntry id="UnaryTests_1chcp6w">
<text>"Martin"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0ve18jt">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0n0qeu0">
<inputEntry id="UnaryTests_16sftr3">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1visst9">
<text>"core"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="users_to_groups">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>