A scrip that change the subject string

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

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@hotmail.com
To: rt-users@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


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@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