[rt-users] Help with Old Status value

Raed El-Hames rfh at vialtus.com
Thu Jun 18 13:32:19 EDT 2009


Ken;

In the nicest possible way you got this wrong by a mile, what are you 
trying to do, ist a scrip action ? do you want to reset the Status as 
soon as its changed to something else? or at a later transaction ie new 
update or modify etc?

Roy

 

Ken Crocker wrote:
> To List,
>
> I'm trying to get the old value of the ticket status so I can re-set it. 
> So far, I have this:
>
> my $trans = $self->TransactionObj;
> my $oldvalue = $trans->Field('Status');
> $oldvalue->Load($trans->OldValue );
>
> and it's not working. Can anyone help? Thanks.
>
> Kenn
> LBNL
> _______________________________________________
> 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
>   



More information about the rt-users mailing list