Last active
September 15, 2021 20:07
-
-
Save rafaeltuelho/079a07e05e8884d819a6788881b88cfa to your computer and use it in GitHub Desktop.
onBoarding-Communication.dmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_B4A03463-180C-4273-A42A-B92E29D3A3B6" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_D4F18A6C-F440-4209-A727-BE55FECE1703" name="onBoarding Communication" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_B4A03463-180C-4273-A42A-B92E29D3A3B6"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_CED93661-58AA-4815-9462-8EC2942A00BE" name="tMember" isCollection="false"> | |
<dmn:itemComponent id="_51E5D91B-564D-47E4-BF08-51AE4432D722" name="name" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_465695EF-00B5-44B3-BACF-52DFBDF9F723" name="id" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_B6320AAA-87C0-42BE-A425-3BF54FCF935D" name="email" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_A30042C7-843D-4460-AA02-AF27FAC0E4C3" name="phone" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_B0608A1A-5C6C-4202-8732-D67B860FF775" name="mobile" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_7DFAE804-A94F-4456-841F-AFB534737736" name="status" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_9B023B4A-FD03-4075-AD3E-83E820FACAC1" name="effectuated date" isCollection="false"> | |
<dmn:typeRef>date</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_AEBA5B5F-44E3-49AA-9EEC-94E522E0E98B" name="tContactPreference" isCollection="false"> | |
<dmn:itemComponent id="_CFD54972-A26E-41B2-820E-599BB1798762" name="days" isCollection="true"> | |
<dmn:typeRef>tWeekDay</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_1CDABF73-67EE-4C3C-BFEA-B0E95F68250C" name="method" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_7D1A97B1-7570-4577-A71B-99617F718DB9"> | |
<dmn:text>"PHONE", "EMAIL", "MOBILE"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_663F6EA0-DB80-4CEB-9BC5-6146F7F5E4CB" name="time Period" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_9F28FEE0-7141-469D-ABD0-A03A9BE999F9"> | |
<dmn:text>"Morning", "Afternoon", "Evening"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_1B3355CA-E266-4D06-B0C1-AFA7E09D961D" name="tContactSetting" isCollection="false"> | |
<dmn:itemComponent id="_DB9A90D4-C2C5-4DBD-B813-B912F473659B" name="starting Time" isCollection="false"> | |
<dmn:typeRef>time</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_07FDB6AC-A985-4883-B31E-7E4367161311" name="ending Time" isCollection="false"> | |
<dmn:typeRef>time</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_3AB8740E-1FE6-4002-8C8D-E469B100DDF8" name="method" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_CEBFDB04-51C4-4894-B841-015956FE093E"> | |
<dmn:text>"PHONE", "EMAIL", "MOBILE"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_64C9A2BC-3BD6-4A86-982A-28003A8BDD3E" name="days" isCollection="true"> | |
<dmn:typeRef>tWeekDay</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_7982C6F6-D4BB-49E8-BDFB-342B720739F5" name="tWeekDay" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_E5766C7E-23BD-49F2-B4DC-AD4A1D6A61A8"> | |
<dmn:text>"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_85B913C5-91E8-4A28-879D-17A14D13347A" name="tTimePeriod" isCollection="false"> | |
<dmn:itemComponent id="_E5506FD0-F478-401B-8218-3363B448634E" name="start" isCollection="false"> | |
<dmn:typeRef>time</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_00FC7015-AFD4-463F-8610-AE80FF779931" name="end" isCollection="false"> | |
<dmn:typeRef>time</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_6C1E99B7-1F88-492C-B85D-AC427F029F13" name="tActionsList" isCollection="true"> | |
<dmn:itemComponent id="_24E3F6D0-40F2-487B-B20A-63C5D5057729" name="name" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_15B3D4E3-02C2-4607-BD50-976F660FF8A3" name="description" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_7A69ABFD-40F5-4ACF-96FB-3FA2CB9D9C94" name="status" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_1B9D1426-E4D9-4517-A656-47A46CE54AC9"> | |
<dmn:text>"PENDING", "COMPLETED", "IGNORED"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_97350618-6528-41CA-8AA6-A5820E8805DF" name="tCommunication" isCollection="false"> | |
<dmn:itemComponent id="_0BD8CEE1-CDCF-40E9-835E-D693032FAD0B" name="subject" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_58512D78-611D-4455-8827-5EB8744E23BD" name="content" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_6DD1A73B-911C-460B-9560-8B75D6651FC0" name="creation date" isCollection="false"> | |
<dmn:typeRef>date and time</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_F573653D-6E30-4ED9-A832-151094ACD5EB" name="type" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_0D8943D4-07F3-45F9-9BBF-3F3E65AA4B64" name="cta list" isCollection="true"> | |
<dmn:typeRef>tCallToActionList</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_4EB2A10E-D269-49C7-B4BB-EA3453CED416" name="tCallToAction" isCollection="false"> | |
<dmn:itemComponent id="_A3F36AE8-A7D3-4CC0-A322-1BEA57EF84D3" name="due date" isCollection="false"> | |
<dmn:typeRef>date</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_C3335107-3A92-4705-B11B-A48885362D26" name="description" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_94A6CA4B-7E96-49CA-B34F-F1FC85BADAA9" name="name" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_D488AE2F-E9C9-4BCC-A644-0D71D1200FB1" name="status" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
<dmn:allowedValues kie:constraintType="enumeration" id="_40C2ADD5-F183-4E09-BDA6-772E6D110CA5"> | |
<dmn:text>"PENDING", "COMPLETED", "IGNORED"</dmn:text> | |
</dmn:allowedValues> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:itemDefinition id="_AEB83FA2-2648-40F5-A1F3-EDB2B96A6059" name="tOnBoardingCommunication" isCollection="false"> | |
<dmn:itemComponent id="_D789346F-FCC1-4B46-A3F3-D44804178AD2" name="communications" isCollection="true"> | |
<dmn:typeRef>tCommunication</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:inputData id="_4A13EFA7-9A7F-4ED8-A725-C8D43EFE6131" name="Actions List"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_1369858C-AF00-43F3-B1B3-6FD4BBAC3C45" name="Actions List" typeRef="tActionsList"/> | |
</dmn:inputData> | |
<dmn:decision id="_C9076AB6-9622-43B5-AA20-0CC3BFE4A681" name="Lookup CTA"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_42BC0A5D-D100-4BD8-8C95-7CF95F2E7BC9" name="Lookup CTA" typeRef="tCallToActionList"/> | |
<dmn:informationRequirement id="_A1D6FED3-EBE5-4814-B2FE-91BE3E0F3BF9"> | |
<dmn:requiredInput href="#_4A13EFA7-9A7F-4ED8-A725-C8D43EFE6131"/> | |
</dmn:informationRequirement> | |
<dmn:knowledgeRequirement id="_D5A7800E-7465-4D37-9D0D-F843CBB6FB1A"> | |
<dmn:requiredKnowledge href="#_B1CFFAD3-EC8C-476A-A0AC-6143D246E193"/> | |
</dmn:knowledgeRequirement> | |
<dmn:context id="_27933FA6-091E-4E14-96DF-35AF3187CE7C"> | |
<dmn:contextEntry> | |
<dmn:variable id="_D83C8F1B-963C-4155-9CFD-806F24556FE1" name="benefit summary" typeRef="boolean"/> | |
<dmn:literalExpression id="_B2281F09-47C7-407C-BBB6-E7FF8A519E90"> | |
<dmn:text>list contains(Actions List[status = "COMPLETED"].name, ["Unbox-Your-Plan", "Watch Benefit Video"])</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
<dmn:contextEntry> | |
<dmn:variable id="_8935F9DF-848A-4E70-86E5-392362BA7FCA" name="benefit summary cta" typeRef="tCallToActionList"/> | |
<dmn:literalExpression> | |
<dmn:text>null // auto-filled by the editor to avoid missing empty expression.</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
</dmn:context> | |
</dmn:decision> | |
<dmn:businessKnowledgeModel id="_B1CFFAD3-EC8C-476A-A0AC-6143D246E193" name="Lookup Call to Actions"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_8DC2ED93-CB6E-4D63-996D-83070DB2EAF5" name="Lookup Call to Actions" typeRef="tCallToActionList"/> | |
<dmn:encapsulatedLogic id="_35665BDC-911D-47C3-B769-621690DCF792" kind="FEEL"> | |
<dmn:formalParameter id="_82384CE3-A627-4F2F-A746-5D7B74F4C47F" name="action" typeRef="string"/> | |
</dmn:encapsulatedLogic> | |
</dmn:businessKnowledgeModel> | |
<dmndi:DMNDI> | |
<dmndi:DMNDiagram id="_A9E951EF-4851-4822-9C9B-CC50FBFE23FD" name="DRG"> | |
<di:extension> | |
<kie:ComponentsWidthsExtension> | |
<kie:ComponentWidths dmnElementRef="_27933FA6-091E-4E14-96DF-35AF3187CE7C"> | |
<kie:width>50</kie:width> | |
<kie:width>225</kie:width> | |
<kie:width>837</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_B2281F09-47C7-407C-BBB6-E7FF8A519E90"> | |
<kie:width>837</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_35665BDC-911D-47C3-B769-621690DCF792"> | |
<kie:width>50</kie:width> | |
<kie:width>1308</kie:width> | |
</kie:ComponentWidths> | |
</kie:ComponentsWidthsExtension> | |
</di:extension> | |
<dmndi:DMNShape id="dmnshape-drg-_4A13EFA7-9A7F-4ED8-A725-C8D43EFE6131" dmnElementRef="_4A13EFA7-9A7F-4ED8-A725-C8D43EFE6131" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="399" y="270" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_C9076AB6-9622-43B5-AA20-0CC3BFE4A681" dmnElementRef="_C9076AB6-9622-43B5-AA20-0CC3BFE4A681" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="400" y="168" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_B1CFFAD3-EC8C-476A-A0AC-6143D246E193" dmnElementRef="_B1CFFAD3-EC8C-476A-A0AC-6143D246E193" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="221" green="244" blue="17"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="622" y="167" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNEdge id="dmnedge-drg-_A1D6FED3-EBE5-4814-B2FE-91BE3E0F3BF9" dmnElementRef="_A1D6FED3-EBE5-4814-B2FE-91BE3E0F3BF9"> | |
<di:waypoint x="449" y="295"/> | |
<di:waypoint x="450" y="218"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_D5A7800E-7465-4D37-9D0D-F843CBB6FB1A-AUTO-TARGET" dmnElementRef="_D5A7800E-7465-4D37-9D0D-F843CBB6FB1A"> | |
<di:waypoint x="672" y="192"/> | |
<di:waypoint x="450" y="218"/> | |
</dmndi:DMNEdge> | |
</dmndi:DMNDiagram> | |
</dmndi:DMNDI> | |
</dmn:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment