HA! I’m not surprised, being a perl newbie. First, I’ve set the
condition to check if the user is “resolving” the ticket (working).
Then, I’m examining a CF to see if it has a value, which is working. If
the CF has no value then I want to re-set the Ticket Status back to what
it was. The simple thing would be to make the CF “Mandatory”. However, I
can’t do that as my users rarely know what to put into the CF until they
are about to resolve it. So, I need to check the CF at that point and if
no value, not let them “resolve” the ticket. Any ideas?
LBNLOn 6/18/2009 10:32 AM, Raed El-Hames wrote:
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?
Ken Crocker wrote:
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’);
and it’s not working. Can anyone help? Thanks.
Community help: http://wiki.bestpractical.com
Commercial support: email@example.com
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com