On Tue, Jan 24, 2012 at 08:02:37PM +0000, Todd French wrote:
> I'm still having trouble with this, and I feel like something with my logic 
> is fundamentally flawed.  With this:
> > Description: On Queue Change, Notify AdminCC if not owned
> > Condition: User Defined
> > Action: Notify AdminCcs
> > Template: Global Template: Queue Notification
> > Stage: TransactionCreate
> >
> > Custom Condition:
> > return 0 unless $self->TransactionObj->Type eq "Set";
> > return 0 unless $self->TransactionObj->Field eq "Queue";
> > return 1 unless $self->TicketObj->Owner != $RT::Nobody->id;
> 
> If I change the last line in my condition to:
> 
> return 0 unless $self->TicketObj->Owner != $RT::Nobody->id;
> 
> it still triggers and sends the email, even if I have a ticket move from one 
> queue to another both while owned by nobody in particular, and while being 
> owned, but not changing ownership.  This tells me that I'm not doing 
> something right at all, and that I don't know enough yet as to know why.

Please see my post from 1/17 suggesting how to debug the behavior you're
seeing.

-kevin

Attachment: pgpcvNJE9Myr1.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Reply via email to