...
Rule Template | Description | Attribute(s) |
|---|---|---|
RequestFirewallChange.eDoc.ReviewCurrentConfiguration.RuleTemplate | Review Current Configuration RuleTemplate | none |
RequestFirewallChange.eDoc.InitialApproval.RuleTemplate | Initial Approval RuleTemplate | RequestFirewallChange.eDoc.isUrgent.RuleAttribute |
RequestFirewallChange.eDoc.FinalApproval.RuleTemplate | Final Approval RuleTemplate | RequestFirewallChange.eDoc.isUrgent.RuleAttribute |
RequestFirewallChange.eDoc.AcknowledgeConfiguration.RuleTemplate | Acknowledge Configuration RuleTemplate | Initiator.Role.RuleAttribute |
| Code Block | ||
|---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="ns:workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ns:workflow resource:WorkflowData">
<ruleTemplates xmlns="ns:workflow/RuleTemplate" xsi:schemaLocation="ns:workflow/RuleTemplate resource:RuleTemplate">
<ruleTemplate>
<name>RequestFirewallChange.eDoc.ReviewCurrentConfiguration.RuleTemplate</name>
<description>Review Current Configuration RuleTemplate</description>
</ruleTemplate>
<ruleTemplate>
<name>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</name>
<description>Initial Approval RuleTemplate</description>
<attributes>
<attribute>
<name>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</name>
<required>true</required>
</attribute>
</attributes>
</ruleTemplate>
<ruleTemplate>
<name>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</name>
<description>Final Approval RuleTemplate</description>
<attributes>
<attribute>
<name>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</name>
<required>true</required>
</attribute>
</attributes>
</ruleTemplate>
<ruleTemplate>
<name>RequestFirewallChange.eDoc.AcknowledgeConfiguration.RuleTemplate</name>
<description>Acknowledge Configuration RuleTemplate</description>
<attributes>
<attribute>
<name>Initiator.Role.RuleAttribute</name>
<required>true</required>
</attribute>
</attributes>
</ruleTemplate>
</ruleTemplates>
</data>
|
...
Finally, we create Rules that are associated with RequestFirewallChange.eDoc.ChildDocType and its associated rule templates. We apply the responsibility matrix we created way above.
| Code Block | ||
|---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="ns:workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ns:workflow resource:WorkflowData">
<rules xmlns="ns:workflow/Rule" xsi:schemaLocation="ns:workflow/Rule resource:Rule">
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.ReviewCurrentConfiguration.RuleTemplate</ruleTemplate>
<description>Review Current Configuration Rule</description>
<ignorePrevious>false</ignorePrevious>
<responsibilities>
<responsibility>
<workgroup>ucd.IET.DES.DevelopmentSupport.WorkGroup</workgroup>
<actionRequested>A</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate>
<description>Initial Approval By Firewall SysAdmin Rule</description>
<ignorePrevious>false</ignorePrevious>
<ruleExtensions>
<ruleExtension>
<attribute>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</attribute>
<ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate>
<ruleExtensionValues>
<ruleExtensionValue>
<key>isUrgent</key>
<value>YES</value>
</ruleExtensionValue>
</ruleExtensionValues>
</ruleExtension>
</ruleExtensions>
<responsibilities>
<responsibility>
<workgroup>ucd.IET.DCCS.FirewallSysAdmin.Workgroup</workgroup>
<actionRequested>A</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate>
<description>Initial Approval By Firewall Policy Group Rule</description>
<ignorePrevious>false</ignorePrevious>
<ruleExtensions>
<ruleExtension>
<attribute>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</attribute>
<ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate>
<ruleExtensionValues>
<ruleExtensionValue>
<key>isUrgent</key>
<value>NO</value>
</ruleExtensionValue>
</ruleExtensionValues>
</ruleExtension>
</ruleExtensions>
<responsibilities>
<responsibility>
<workgroup>ucd.IET.AppDev.FirewallPolicyGroup.Workgroup</workgroup>
<actionRequested>A</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</ruleTemplate>
<description>Final Approval By Firewall SysAdmin Rule</description>
<ignorePrevious>false</ignorePrevious>
<ruleExtensions>
<ruleExtension>
<attribute>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</attribute>
<ruleTemplate>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</ruleTemplate>
<ruleExtensionValues>
<ruleExtensionValue>
<key>isUrgent</key>
<value>NO</value>
</ruleExtensionValue>
</ruleExtensionValues>
</ruleExtension>
</ruleExtensions>
<responsibilities>
<responsibility>
<workgroup>ucd.IET.DCCS.FirewallSysAdmin.Workgroup</workgroup>
<actionRequested>A</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</ruleTemplate>
<description>Final Approval By Firewall Policy Group Rule</description>
<ignorePrevious>false</ignorePrevious>
<ruleExtensions>
<ruleExtension>
<attribute>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</attribute>
<ruleTemplate>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</ruleTemplate>
<ruleExtensionValues>
<ruleExtensionValue>
<key>isUrgent</key>
<value>YES</value>
</ruleExtensionValue>
</ruleExtensionValues>
</ruleExtension>
</ruleExtensions>
<responsibilities>
<responsibility>
<workgroup>ucd.IET.AppDev.FirewallPolicyGroup.Workgroup</workgroup>
<actionRequested>A</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
<rule>
<documentType>RequestFirewallChange.eDoc.ChildDocType</documentType>
<ruleTemplate>RequestFirewallChange.eDoc.AcknowledgeConfiguration.RuleTemplate</ruleTemplate>
<description>Acknowledge Configuration Rule</description>
<ignorePrevious>true</ignorePrevious>
<responsibilities>
<responsibility>
<role>edu.iu.uis.eden.routetemplate.InitiatorRoleAttribute!INITIATOR</role>
<approvePolicy>F</approvePolicy>
<actionRequested>K</actionRequested>
<priority>1</priority>
</responsibility>
</responsibilities>
</rule>
</rules>
</data>
|
...