[rt-users] order of scrips

Lim, Justin JLim at netopia.com
Fri Jun 9 09:18:00 EDT 2006


I am trying to do 2 things on "ON CREATE"
First is extract custom fields then send an autoreply with the custom
fields in the content of the email.

When the scrip is setup for on create on both no matter what the
description name is it is still sending the autoresponse first...

 

-----Original Message-----
From: Todd Chapman [mailto:todd at chaka.net] 
Sent: Friday, June 09, 2006 1:55 AM
To: Lim, Justin
Cc: RT-Users at lists.bestpractical.com
Subject: Re: [rt-users] order of scrips

Scrips can be ordered in 3.6. I think it does it by sorting on name.

-Todd

On Fri, Jun 09, 2006 at 12:41:31AM -0400, Lim, Justin wrote:
> Can the order of scrip execution be changed ?
>  
> i have noticed that the autoreply email is sent first then the values 
> from the customfields are taken in so when i try to put the contents 
> of the customfields it does not display in the emails since the values

> are null due to the fact that the autoreply is sent first.
>  
> i have tried to put the extract customfields scrip to run on create 
> then autorespond to run on transition but that generates n-1 # of 
> emails where n = # of customfields.
>  
> is there a better way to handle this ?
>  
> Thanks
> desperately looking for help...

> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial support: 
> sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
> We're hiring! Come hack Perl for Best Practical: 
> http://bestpractical.com/about/jobs.html



More information about the rt-users mailing list