[rt-users] First custom condition help

Kenneth Crocker kenn.crocker at gmail.com
Wed May 2 15:21:56 EDT 2012


Doug,

Perhaps you could set the code to identify that user as the requestor and
return 0 when that happens. That way all others get their email?

Kenn

On Wed, May 2, 2012 at 9:37 AM, Doug Eubanks <admin at dougware.net> wrote:

> I'm trying to create a custom condition that prevents the requestor
> from receiving transactional emails each time they send in an update.
> I have a separate scrip for the requestor side, but I'm having
> problems writing the custom condition.
>
> I would assume I would want something similar to this, but it doesn't
> work.  It always sends the email.
>
> return 0 if $self->TransactionObj->IsInbound;
> return 1;
>
> Can someone give me any pointers?  I haven't found an example of
> exactly what I want to do.
>
> Sincerely,
> Doug Eubanks
> admin at dougware.net
> K1DUG
> (919) 201-8750
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120502/cc6ce456/attachment.htm>


More information about the rt-users mailing list