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.
if (($self->TransactionObj->Type eq “CustomField”) and ($self->TransactionObj->NewValue eq “East”)) {
****send email to groupA
return(1);
} else {
return(undef);
}
ALL-NEW Yahoo! Messenger - all new features - even more fun!
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???
README - metacpan.org
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.
Yes, I just saw the rt-notify-group-admin script in sbin folder but can I run it from rt-crontool ? thanks.
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???
README - metacpan.org
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!** *
The rt-users Archives
RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training@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!