[rt-users] why are Notify actions setting the recipients in prepare rather than commit?

Ken Crocker kfcrocker at lbl.gov
Fri Dec 18 11:42:10 EST 2009


Mathieu,

You are correct. Set your recipients & template in "Prepare". Make sure 
you put a "return 1;" in the "Cleanup" Action.

Kenn
LBNL

On 12/17/2009 11:28 AM, Mathieu Longtin wrote:
> I'm trying to have a scrip that will get the recipients of a ticket 
> from another source, at creation time.
>
> If I assign the recipients in the "action" section of the scrip, they 
> don't receive any email, because the notify action gathers the 
> recipient during prepare.
>
> Should I set the recipients in the "prepare" section and have the 
> action do nothing?
>
> Thanks
>
> --
> Mathieu Longtin
> 1-514-803-8977
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091218/db85ec71/attachment.htm>


More information about the rt-users mailing list