[rt-users] Set Subject in if/then clause
Giuseppe Sollazzo
gsollazz at sgul.ac.uk
Wed Feb 1 08:55:34 EST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Gerard,
many thanks - that worked.
I really need to refresh my Perl...
Cheers,
Giuseppe
On 01/02/12 13:49, Gerard FENELON wrote:
> I suspect my proposal is wrong Try instead
>
> Subject: { if ($Ticket->QueueObj->Name eq 'Work Queue') { "Helpdesk
> Job Logged: " . $Ticket->Subject . " Output this"; } elsif
> ($Ticket->QueueObj->Name eq 'Task Queue') { "Support Job Logged: "
> . $Ticket->Subject . " Output that"; } else { "Output other"; } }
>
> Gerard
- --
____________________________________
Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE
Email: gsollazz at sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPKURWAAoJEAqigArPBfJX1IsIAJAdOa4b89lPwNIj5mfInbs6
ItG4KHAA8CbzrUQ22bcNxO7JS1UaVnoRb+gZZkyDy5r4hiyuHu7BjBE5EscwF2So
/Zm0Q9iX7DIGorIHNzfiDxW9qkLE8aCjLOMMDxaG//RMIpmzPgtHXvzNc2bjYFIM
2V5IxZoC/tVdrpDUsKnyiytWQWMGI8nn+rSejr0xaZV/zI7wvXaAdEPPZdA94N20
GIP8JGdGF4NhGLBPm+8Vvshw/k3cKV2WDEze2yNhY3z0uHmGpi2ECjkH8QuuQOZU
BzetFR8VzAi4JElb05PwKkT+BKmOnM1YeOizXaao3JnWJ6Gg/Jcu5hEZZlBWUsc=
=YrLQ
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120201/cf6c188b/attachment.htm>
More information about the rt-users
mailing list