sample-process-models/dan/set-permissions/users_to_groups.dmn

66 lines
2.6 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/" 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="150">
<inputExpression id="inputExpression_1" typeRef="string">
<text>"*"</text>
</inputExpression>
</input>
<output id="OutputClause_0vrbi1j" label="users" typeRef="string" />
<output id="output_1" name="groups" typeRef="Any" biodi:width="262" />
<rule id="DecisionRule_1xwvp7b">
<inputEntry id="UnaryTests_01wus0h">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_18kwlie">
<text>"admin@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ykubgu">
<text>"admin"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1rbbrcv">
<inputEntry id="UnaryTests_0u0oanl">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1r771e1">
<text>"nelson@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0z6b50n">
<text>"organization"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_05sdhrp">
<inputEntry id="UnaryTests_0pp8xqw">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0zv6pu2">
<text>"malala@spiffworkflow.org"</text>
</outputEntry>
<outputEntry id="LiteralExpression_07m82fl">
<text>"education"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1jn6v9t">
<inputEntry id="UnaryTests_1srdiy4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1bz7u65">
<text>r".*"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ibpvtx">
<text>"everybody"</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>