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

陈 然 grantchen426 at hotmail.com
Tue Apr 17 02:39:16 EDT 2007


Sorry,I've solved the problem with the following scrip:
Custom condition:  return 1; 
Custom action preparation code:  return 1; 
Custom action cleanup code:  $self->TicketObj->SetSubject 
('xxx'.$self->TicketObj->Subject);


>From: 陈 然 <grantchen426 at hotmail.com>
>To: rt-users at lists.bestpractical.com
>Subject: [rt-users] a scrip that change the subject string
>Date: Tue, 17 Apr 2007 09:48:17 +0800
>
>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
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Community help: http://wiki.bestpractical.com
>Commercial support: sales at bestpractical.com
>
>
>Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
>Buy a copy at http://rtbook.bestpractical.com

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  




More information about the rt-users mailing list