Topic
1 reply Latest Post - ‏2011-01-28T01:42:54Z by SystemAdmin
SystemAdmin
SystemAdmin
38 Posts
ACCEPTED ANSWER

Pinned topic Mail box clean up BP

‏2010-12-04T07:13:13Z |
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
    SystemAdmin
    38 Posts
    ACCEPTED ANSWER

    RE: Mail box clean up BP

    ‏2011-01-28T01:42:54Z  in response to SystemAdmin
    Here 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(&apos;myproperty&apos;,&apos;ExpiryDays&apos;)\"/>\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