[rt-users] Custom action to use OwnerPager rather than OwnerEmail

Ruslan Zakirov ruslan.zakirov at gmail.com
Sat Jul 30 17:20:00 EDT 2005


On 7/30/05, Darrell Burkey <president at case.org.au> wrote:
> For some time I've been trying to figure out what I assume should be
> fairly simple without any luck. I'd sure appreciate some help.
> 
> I just need a custom action that sends a notification to the email
> address of an email to sms gateway address that we store in the
> OwnerPager field of a users account info.
I've subclassed Action::Notify for you, imho this should work.
Place this file into lib/RT/Action/ dir.
Then add record for 'NotifyViaPager' into table ScripActions, take
Notify records as example. Leave Argument field empty, it doesn't make
sense for attached action.


> 
> It's basically just like a NotifyOwner action but we want the
> notification to go to the value in the OwnerPager field rather than
> their standard email address.
> 
> Thanks in advance.
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Darrell Burkey
> 0408 622 647
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 


-- 
Best regards, Ruslan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NotifyViaPager.pm
Type: application/x-perl
Size: 5395 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050731/5159af77/attachment.bin>


More information about the rt-users mailing list