[rt-users] Syntax for custom conditions
Matthew Bloch
matthew-list at bytemark.co.uk
Tue Oct 14 11:31:51 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 14 October 2003 16:29, you wrote:
> 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?
Thanks, that solves the problem of course, I'm still groping my way around! I
would appreciate knowing what the right syntax is for custom conditions, even
in this convoluted case.
- --
Matthew Bloch Bytemark Hosting
tel. +44 (0) 8707 455026
http://www.bytemark-hosting.co.uk/
Dedicated Linux hosts from 15ukp ($26) per month
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/jBbnT2rVDg8aLXQRAseAAJ9cz3paQ4kC5RaPqAl3wthcm5hAnACdH+QW
q2rwbMH0gsNDWvrjq4fEi1c=
=CP1b
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list