[rt-users] NotifyGroup on custom field value change

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Tue Feb 1 07:27:56 EST 2005


Oluwatomisin Ilori wrote:
> Please I'm running rt 3.2.2 on redhat linux 8.0 with mod_perl 1 on 
> apache 1.3.3, perl 5.8.3 and mysql 4.1.9. Please i need to write a 
> custom action code that send's email to a particular group if the custom 
> field selected is "east". I was thinking I should be able to use 
> ruslan's module but I don't know how to go about this. Please, any help 
> would be greatly appreciated.
Did you run rt-notify-group-admin script???
Did you read RT-Action-NotifyGroup docs???
http://search.cpan.org/src/RUZ/RT-Action-NotifyGroup-0.02/README


>  
> if (($self->TransactionObj->Type eq "CustomField")  and 
> ($self->TransactionObj->NewValue eq "East")) {
> ****send email to groupA
>   return(1);
> } else {
>   return(undef);
> }
Use this code as custom condition.

> 
> ------------------------------------------------------------------------
> *ALL-NEW Yahoo! Messenger* 
> <http://uk.rd.yahoo.com/mail/taglines/default/messenger/*http://uk.messenger.yahoo.com>* 
> - all new features - even more fun!** *
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training at bestpractical.com for details.
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list