[rt-users] Modifying the IfPriotiyExceeds ScripCondition

Bolivar Geraldo bgeraldo at sockeye.com
Tue Aug 6 12:25:13 EDT 2002


I would like to modify the IfPriotiyExceeds ScripCondition so that it
also checks if the Ticket transaction performed was a Comment or
Correspondence.  The following is the conditional statement from actual
code:

if ($self->TicketObj->Priority > $self->Argument)  {
        return(1);
    }
    else {
        return(undef);
    }

I'm pretty sure all I need to do is add "OR" statement, but how to
I test the type of Ticket transaction?

Thanks for any help.

--
Bolivar Geraldo (Junior)
NOC Analyst







More information about the rt-users mailing list