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

2009-12-18 Thread Ken Crocker

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: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

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

2009-12-17 Thread Mathieu Longtin
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: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com