[rt-users] NotifyGroup on custom field value change

Oluwatomisin Ilori tomisilori at yahoo.co.uk
Tue Feb 1 10:10:51 EST 2005


Yes, I just saw the rt-notify-group-admin script in sbin folder but can I run it from rt-crontool ? thanks.
 

"Ruslan U. Zakirov" <Ruslan.Zakirov at acronis.com> wrote: 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* 
> * 
> - 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




		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050201/9d9f8c5c/attachment.htm>


More information about the rt-users mailing list