Re: [rt-users] TransactionObj OldValue is not working for me

2009-03-24 Thread Gene LeDuc
Apply a liberal dose of $RT::Logger and see what turns up. I'd split your IF into 2 pieces and then stick a logger in the gap. Something like my $Trans = $self-TransactionObj;### because I'm a lazy typist if ($Trans-Type eq Status) { ### logger call to print value of -OldValue and

[rt-users] TransactionObj OldValue is not working for me

2009-03-23 Thread slamp slamp
I have the following in my resolve scrip that I borrowed from the site. I added the $self-TransactionObj-OldValue ne autoclose portion but it does not seem to be working. Can anyone help? Basically I don't want to get this notification if the status old value was set to autoclose. Condition: User

Re: [rt-users] TransactionObj OldValue is not working for me

2009-03-23 Thread slamp slamp
Actually I have defined autoclose as a Status which coincides with a cron script that closes tickets with status autoclose. I have a resolve scrip notification which is defined in my previous e-mail. I do not want the notification to go out if the previous status was autoclose. On Mon, Mar 23,