Hi Mathew;
1- What don't you create a queue scrip/template instead of global one, ie create you scrip with

Condition: On Queue Change
Action: Notify Requestors
Template: Global template: MoveToCCEng
Stage: TransactionCreate

 in/on your CCEng Queue

2- If you have a defined Condition or/and action then the system wont look in the custom boxes .. if you want custom condition then change the Condition to User Defined.same for Action etc ..

Regards;
Roy

Mathew Snyder wrote:
I've created my template under Global.  I've also set under Global the scrip 
with:
Condition: On Queue Change
Action: Notify Requestors
Template: Global template: MoveToCCEng
Stage: TransactionCreate

I need this to fire off only when a ticket is moved to the CCEng queue.  I'm
guessing that I need a Custom Condition which will check that the queue is
actually the one in question.  However, I don't think I know what I should be
making it look like.

Perhaps
if (($self->TransactionObj->Type eq "Queue") and
($self->TransactionObj->NewValue eq "CCEng")) { 
        return 1;
}else{
        return undef;
}
is what I'm looking for?  But that doesn't work either.

Can someone shed some light please?

Thanks,
Mathew

_______________________________________________
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

Reply via email to