[rt-users] a scrip that change the subject string

陈 然 grantchen426 at hotmail.com
Mon Apr 16 21:48:17 EDT 2007


Hi,list

I use the RT 3.4.5 and I set up a scrip to add "xxx"  in front of all the 
subject my customer put in during ticket creation.
Below is my scrip:
Custom condition:  return 1; 
Custom action preparation code:  return 1; 
Custom action cleanup code:  $self->TicketObj->SetSubject 
('xxx'.{$self->TicketObj->Subject});

After I put it into effect,the ticket subject turned out to be as follow:
xxxHASH(0xa1f3a98)

I searched the wiki but didn't find a answer.
Can anyone point me in the right direction?

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  




More information about the rt-users mailing list