none
Task notification email is sent even when pblishing schedule is cancelled RRS feed

  • Question

  • Hi,

    I have custom server event handler which handles OnPublishing event. Based on business requirements, schedule shouldn't be published before getting approval, so, in the server event handler I cancel the publish operation when the schedule is not approved but the problem that the assigned resources are getting tasks notifications emails where they shouldn't.

    How I can handle that?

    Tuesday, February 28, 2012 1:12 PM

All replies

  • Hi tabudayyeh,

    in my opinion, you can develop a new event handler on Notifications Event synched whit your custom server event handler. Basically, you can overload OnSent method for notifications events, and, if publish job is canceled by you event handler, so, you can "block" the notification for resources.

    I hope this can helps you,

    Best Regards

    Paolo O.

    • Proposed as answer by Paolo Olocco Sunday, March 11, 2012 5:01 PM
    Saturday, March 3, 2012 8:48 PM