Paul,
Are yosaying it NEVER triggered? If so, then I suggest you look at
your logs. Also, double check your values. Everything is case-sensitive.
If the value you are checking for doesn't exist in the Custom Field
EXACTLY as what you are checking for, it won't trigger. Otherwise, the
code
On Fri Mar 13 2009 19:58:17 GMT+0100 (CET), Paul Vlaar wrote:
> my $trans = $self->TransactionObj;
> my $ticket = $self->TicketObj;
>
> if ($trans->Type eq 'CustomField') {
> my $cf = new RT::CustomField($RT::SystemUser);
> $cf->LoadByName(Queue => $ticket->QueueObj->id, Name => "Cont
I've used your example Kenneth, with slight alternations, but this
doesn't trigger:
my $trans = $self->TransactionObj;
my $ticket = $self->TicketObj;
if ($trans->Type eq 'CustomField') {
my $cf = new RT::CustomField($RT::SystemUser);
$cf->LoadByName(Queue => $ticket->QueueObj->id, Na
Hi Kenneth,
Thanks for your response. My scrip is indeed looking for a "create"
transaction because it should only trigger at the time of creation, and
the CF value is rather static, as it applies to the Group that the Queue
in which the ticket belongs, has rights to. I realise now that finding
th
Paul,
I use the following scrip for the condition and it works for me:
my $trans = $self->TransactionObj;
my $ticket = $self->TicketObj;
if ($trans->Type eq 'CustomField')
{my $cf = new RT::CustomField($RT::SystemUser);
$cf->LoadByName(Queue => $ticket->QueueObj->id,
We're trying to base our autoreply on the value of a custom field that
applies to a group. So I've created a scrip that applies to a queue:
Condition: User Defined
Action: Autoreply To Requestors
Template: Global template: Contract Expiring
Stage: TransactionCreate
In the Custom condition this sh