- Update the
web.xml file to enable the timer servlet and configure notification spooling. See Enabling the Timer Servlet. -
Create an MQL script containing the following lines. Name it Activate_Spooling.mql:
connect businessobject "Notification" "APPDOCUMENTSContentAddedEvent" "Common Doc Content Added" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSContentCheckoutEvent" "Doc Content Checkout" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSContentDeletedEvent" "Common Doc Content Deleted" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSContentModifiedEvent" "Common Doc Content Modified" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSDeletedEvent" "Doc Deleted" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSModifiedEvent" "Doc Modified" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPDOCUMENTSRevisedEvent" "Doc Revised" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPObjectRouteStartedEvent" "Route Started" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "APPObjectRouteCompletedEvent" "Route Completed" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "DCLCONTROLLEDDOCUMENTSApprovedEvent" "DocumentApprovedNotification" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
connect businessobject "Notification" "DCLCONTROLLEDDOCUMENTSReleasedEvent" "DocumentReleasedNotification" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
-
Create an MQL script containing these lines. Name it Inactivate_Spooling.mql:
disconnect businessobject "Notification" "APPDOCUMENTSContentAddedEvent" "Common Doc Content Added" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSContentCheckoutEvent" "Doc Content Checkout" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSContentDeletedEvent" "Common Doc Content Deleted" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSContentModifiedEvent" "Common Doc Content Modified" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSDeletedEvent" "Doc Deleted" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSModifiedEvent" "Doc Modified" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPDOCUMENTSRevisedEvent" "Doc Revised" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPObjectRouteStartedEvent" "Route Started" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "APPObjectRouteCompletedEvent" "Route Completed" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "DCLCONTROLLEDDOCUMENTSApprovedEvent" "DocumentApprovedNotification" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
disconnect businessobject "Notification" "DCLCONTROLLEDDOCUMENTSReleasedEvent" "DocumentReleasedNotification" relationship "Notification Spool" to "Notification Spool" "Daily" "-";
-
To enable spooling, run the
Activate_Spooling.mql script.
-
To disable spooling, run the
Inactivate_Spooling.mql script.
|