[rt-users] Detecting "new" ticket in a template

Schultz, Eric ESchultz at corp.untd.com
Thu Apr 27 12:13:39 EDT 2006


Whoops, neglected to see that you wanted to do something in the
template.  Sorry.

> Right, and this brings us back to having 3 scrips and 3 
> templates again 
> ....  :(
> 
> That's why I am trying to figure out how to do it in the template.
> 
> Thanks,
> Sam
> 
> Joshua Colson wrote:
> > On Thu, 2006-04-27 at 08:57 -0700, Schultz, Eric wrote:
> >
> >   
> >> I believe you want this in your Custom Condition section:
> >>
> >> # Process only if this is a new ticket.
> >> return 1 if ($self->TransactionObj->Type eq 'Create');
> >>
> >>     
> >
> > Isn't that just what the 'On Create' standard condition does?



More information about the rt-users mailing list