You don't want $self->TransactionObj->Type eq "Queue" because Type can't be set to Queue.<br><br>You want $self->TransactionObj->Type eq "Set"<br>&            $self->TransactionObj->Field eq "Queue"
<br><br>and that should work, i think.<br><br>f<br><br><div><span class="gmail_quote">On 7/31/07, <b class="gmail_sendername">Mathew Snyder</b> <<a href="mailto:theillien@yahoo.com">theillien@yahoo.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've created my template under Global.  I've also set under Global the scrip with:<br>
Condition: On Queue Change<br>Action: Notify Requestors<br>Template: Global template: MoveToCCEng<br>Stage: TransactionCreate<br><br>I need this to fire off only when a ticket is moved to the CCEng queue.  I'm<br>guessing that I need a Custom Condition which will check that the queue is
<br>actually the one in question.  However, I don't think I know what I should be<br>making it look like.<br><br>Perhaps<br>if (($self->TransactionObj->Type eq "Queue") and<br>($self->TransactionObj->NewValue eq "CCEng")) {
<br>        return 1;<br>}else{<br>        return undef;<br>}<br>is what I'm looking for?  But that doesn't work either.<br><br>Can someone shed some light please?<br><br>Thanks,<br>Mathew<br>--<br>Keep up with me and what I'm up to: 
<a href="http://theillien.blogspot.com">http://theillien.blogspot.com</a><br>_______________________________________________<br><a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
</a><br><br>Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br><br><br>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
<br>Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br></blockquote></div><br>