[rt-devel] Custom Condition using a CustomField

Andy Harrison ah30 at harrisonfamily.com
Tue Feb 10 12:52:21 EST 2004


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Tue, 10 Feb 2004 09:41:34 -0500, darren chamberlain wrote
Subject: "Re: [rt-devel] Custom Condition using a CustomField"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> Perl syntax error.  Try:
> 
>    $self->TicketObj->AddWatcher( TYPE => 'Cc', Email => 'test at example.com' );
> 
>  I.e., ( ) instead of { }.
> 
>  (darren)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DOH....

I changed it.  The other thing I was stupidly doing was TYPE instead
of Type.  It's actually working now.

But, how do I get the action to add the watcher and then send out the
e-mail in one fell swoop?  

If this can't be done and requires another On Create action, how can I
make sure that one scrip with the same condition is executed before
another?

-- 
Andy Harrison
(full headers for details)




More information about the Rt-devel mailing list