Metadata

<manual-activity id="1" category="AC1">
  
  ...
  
    <notification delivery-mechanism="DM1">
      <subject>
       <message>
          <message-text>
           <localized-text>
              <locale language="en">
              The case number %1n for Claimant %2s has 
              been closed.
              </locale>
            </localized-text>
          </message-text>
          <message-parameters>
            <wdo-attribute wdo-name=
              "CaseList[Context_Loop.loopCount]" 
              name="identifier" />
            <wdo-attribute wdo-name="PersonDetails" 
              name="userName" />              
          </message-parameters>
        </message>
      </subject>
      <body>
        <message>
          <message-text>
            <localized-text>
              <locale language="en">
              This case concerned %1n and claimant %2s.
              </locale>
            </localized-text>
          </message-text>
          <message-parameters>
            <wdo-attribute wdo-name=
              "CaseList[Context_Loop.loopCount]" 
              name="identifier" />          
            <wdo-attribute wdo-name="PersonDetails" 
              name="fullName" />
          </message-parameters>
        </message>
      </body>
      <allocation-strategy type="target" identifier="1" />
      <actions>
        <action page-id="viewTaskHome" principal-action="false">
          <message>
            <message-text>
              <localized-text>
                <locale language="en">
                View the task associated with the %1n case.
                </locale>
              </localized-text>
            </message-text>
            <message-parameters>
              <wdo-attribute wdo-name="TaskCreateDetails" 
                name="caseID" />
            </message-parameters>
          </message>
          <link-parameter name="childID">
            <wdo-attribute wdo-name="ChildDependents" 
              name="childID" />
          </link-parameter>
          <multiple-occurring-action>
	     <list-wdo-name>ChildDependents</list-wdo-name>
          </multiple-occurring-action>
        </action>
        <action page-id="viewCaseHome" principal-action="false">
          <message>
            <message-text>
              <localized-text>
                <locale language="en">
                View the case details for %1n.
                </locale>
              </localized-text>
            </message-text>
            <message-parameters>
              <wdo-attribute wdo-name=
                "CaseList[Context_Loop.loopCount]" 
                name="identifier" /> 
            </message-parameters>
          </message>
          <link-parameter name="caseID">
            <wdo-attribute wdo-name=
              "CaseList[Context_Loop.loopCount]" 
              name="identifier" />
          </link-parameter>
        </action>        
      </actions>
    </notification>
    
    ...
  </manual-activity>
delivery-mechanism
This describes the mechanism used to deliver the notification. The delivery mechanisms available are specified in the application codetable DeliveryMechanism. Both the Cúram application and customers can extend this codetable and add further delivery mechanisms if required. The delivery mechanism specified plays no functional role in the workflow engine as it simply calls the delivery mechanism configured in the application to deliver the newly created notification.
subject
This represents a parameterized text message detailing the subject of the notification for all locales. This subject will be displayed in the user's inbox for the notification alert. For details on parameterized messages, see Manual.
body
This represents a parameterized text message representing the body of the text associated with this notification for all locales. When the user clicks on the notification subject in the inbox, this body text will be displayed as the full text of the notification.
allocation-strategy
This represents the allocation strategy used to determine the agents to which this notification will be sent to (see Notification Allocation Strategy).
actions
In the same way a Manual can have actions associated with it's task, a notification can have associated actions the notified user can take. This piece of metadata represents the details of these notification actions and the metadata details for actions is detailed in Task details.
multiple-occurring-action
This signifies that this notification action will represent a multiple occurring action. This means that if this metadata is specified for a notification action, the workflow engine will create one action record for each item in the list workflow data object specified as the multiple occurring action, when that activity is executed.

It should be noted that when the multiple occurring action is specified for a notification action, then an attribute from the associated list workflow data object must be used as a link parameter for the notification action.

list-wdo-name
The name of the list workflow data object for use with the multiple occurring action.