[rt-users] accessing role object from template

Woody - Wild Thing Safaris woody at wildthingsafaris.com
Sat May 21 03:21:05 EDT 2016


Hi all,

I've created a custom role "Transfer Operators" and i wanted to email 
all those people from a scrip/template, but i have found that the 
argument in ScripActions cannot take a word boundary - renaming the role 
to TransferOperators and the argument in ScripActions sends a mail.

It would seem that either Role Names need to be restricted to single 
words, or Notify.pm needs an update to cope with spaces in Role Names

My question is however, how can i access Role member info from a template

something like:

{ $Ticket->RoleObj("TransferOperators")->RealName }

w.

-- 

-----------------------

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz
http://wildthingsafaris.com




More information about the rt-users mailing list