[rt-users] scrip...

Jesse Vincent jesse at bestpractical.com
Fri Sep 28 17:26:15 EDT 2001


You'd want a similar row in the ScripConditions table to "Create"
but calling a Condition called "IsNotResolved" which looked something like 
this:


sub IsApplicable {
    my $self = shift;
    if ($self->TicketObj->Status() ne 'resolved') {
        return(1);
    } 
    else {
        return(undef);
    }
}


On Fri, Sep 28, 2001 at 05:16:03PM -0400, Ayan R. Kayal wrote:
> Any thoughts on how to write a scrip that fires when a ticket is created,
> but only if the ticket isn't marked resolved upon creation?
> 
> O-                         ~ARK
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list