At Tuesday 5/22/2007 09:37 AM, Scott Courtney wrote:
Good morning!
We are trying to set up a scrip that will notify a pager email address when
a ticket is moved *out of* one particular queue, regardless of the destination
queue.
Do I need to go to a custom condition for this? If so, what determines when
my conditional expression is evaluated?
Thanks for any advice.
Scott
Scott,
I think you need a global scrip with a custom condition something like this:
if ($self->TransactionObj->Type eq "Set"
&& $self->TransactionObj->Field eq "Queue"
&& $self->TransactionObj->OldValue eq "nnnnn"
) {
return 1;
} else {
return 0;
}
where nnnnn is the id of the queue you are interested in
Steve
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com