Set Notifications in XML Format

The following code provides an example of how to create a notification that is issued when an entity has been created.

Note that any object-based element (denoted by a 'type' attribute) must use an 'id' attribute value that is guaranteed to be unique within the file.

The <value> of the 'xmlIdentifier' field must refer to a unique section of <exportcriteria> xml.

If no <exportcriteria> exists with the specified name, the default behavior is to export every field on the notified entity. In some cases, this may provide unexpected results, because the default meta-view is used to convert the field values to strings.

<notifications> 
 <object id="createFamilyExample"
type="com::liquent::InSight::manager::ecan::domain::EcanNotificationSpec">
  <field id="entityTypeId"> 
    <value>PRODFAM</value> 
  </field> <field id="notificationTypeId"> 
    <value>NEWRECORD</value> 
  </field> 
  <field id="notificationLevel"> 
    <value>O</value> 
  </field> 
  <field id="notificationName"> 
    <value>XML Based trigger on product family creation</value>

  </field> 
  <field id="deliveryMechanism"> 
    <value id="exportScenario1"
type="com::liquent::InSight::manager::ecan::domain::DEExportDeliveryMechanism">
      <field id="xmlIdentifier"> 
        <value>exportCriteriaScenario1</value> 
      </field> 
    </value> 
  </field> 
</object> 
<exportcriteria id="exportCriteriaScenario1">    
 <exportobject id="exportScenarioLicense"
type="com::liquent::InSight::manager::registration::domain::License">       
  <!- -export these fields from the Registration that triggered the export-->
  <fieldGroup>                    
   <fieldRef name="effectiveDate"/>
   <fieldRef name="code"/>
   <fieldRef name="authorityId"/>
   <fieldRef name="marketingAuthority"/>
  </fieldGroup>
  <grid name="packageSets">
   <!- -export all data from the 'packageSets' 'grid' (tab in
                     Calyx RIM UI) tied to the Registration that
triggered the export- ->
   <fieldGroup>
    <fieldRef name="productDetailSetId" exportObject="true">
     <!- -export these fields from the PDS associated to this particular
'packageSet' from the grid tied to the Registration that triggered the export-->
     <fieldGroup>
      <fieldRef name="code"/>
     </fieldGroup>
    </fieldRef>
    <!- -export this field from this particular 'packageSet' from the grid
tied to the Registration that triggered the export- ->
    <fieldRef name="productId"/>
   </fieldGroup>
  </grid>
 </exportobject>
 <exportobject id="exportScenarioApplication"
type="com::liquent::InSightjames may ::manager::registration::domain::Application">
  <!- -export these fields from the Application associated to the Registration that triggered the export- ->
  <fieldGroup>
   <fieldRef name="appTypeId" />
   <fieldRef name="procTypeId"/>
   <fieldRef name="code"/>
   <fieldRef name="regionId" view="myFavoriteView"/>
  </fieldGroup>
 </exportobject>
</exportcriteria>
</notifications>