[rt-users] Syntax for custom conditions

Michael S. Liebman m-liebman at northwestern.edu
Tue Oct 14 11:29:44 EDT 2003


On Tue, Oct 14, 2003 at 04:14:05PM +0100, Matthew Bloch wrote:
> Condition: On create
> Custom condition: return $Ticket->QueueObj->Name() eq 'Orders';
> Action: Autoreply To Requstors
> Template: OrderAcknowledgement
> 
> Unfortunately the auto-reply seems to go out for tickets created in any 
> queue-- can someone show me what I'm doing wrong?

Are you adding these as global scrips? Why not dispense with the
custom condition and create them as queue specific scrips?

Michael
-- 
Michael S. Liebman                      m-liebman at northwestern.edu
                  http://msl521.freeshell.org/
"I have vision and the rest of the world wears bifocals."
        -Paul Newman in "Butch Cassidy & the Sundance Kid"



More information about the rt-users mailing list