This topic has been locked.
1 reply Latest Post - 2011-01-28T01:42:54Z by SystemAdmin
Pinned topic Mail box clean up BP
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Hello \n\nIs there any BP(Business Process) which cleans the mailbox after a period of time to delete any stale files that were not picked up. This is to save ourselves from an evergrowing mailbox. This BP mostly would be driven through properties and not hardcoded.\n\nIf not can some one help in creating one??\n\nThanks in advance.
Updated on 2011-01-28T01:42:54Z at 2011-01-28T01:42:54Z by SystemAdmin
SystemAdmin 110000D4XK38 PostsACCEPTED ANSWER
RE: Mail box clean up BP2011-01-28T01:42:54Z in response to SystemAdminHere is a sample bp that will delete from all mailboxes older than a period specified in a property file\n\n<process name=\"MAILBOX_DELETE_FILES\">\n\t<sequence>\n\t\t<operation name=\"Mailbox Delete Service\">\n\t\t\t<participant name=\"MailboxDelete\"/>\n\t\t\t<output message=\"DeleteRequest\">\n\t\t\t\t<assign to=\".\" from=\"*\"/>\n\t\t\t\t<assign to=\"DaysOld\" from=\"sci-get-property('myproperty','ExpiryDays')\"/>\n\t\t\t\t<assign to=\"MailboxSelection\">all</assign>\n\t\t\t</output>\n\t\t\t<input message=\"inmsg\">\n\t\t\t\t<assign to=\"DeleteResults\" from=\"*\"/>\n\t\t\t</input>\n\t\t</operation>\n\t</sequence>\n</process>\n\n\nYou can also put in different mailbox path (MailboxPath) if required.\n\nMargaret