START { .. eol }
do {
notiFactory = object("ICS_NotificationFactory", "ICS-NotificationFactory");
foreach noti (getInstances("ICS_Notification"))
{
notiObj=object(noti);
if (!(notiObj->isNull()) && (glob("RSA*", notiObj->EventName && notiObj->TroubleTicketID== "" )))
{
print("Clearing " . notiObj);
notiFactory->archiveNotification(notiObj, "Script", "Processed as part of cleanup");
}
}
}