Scrip order

I am trying to do 2 things when a ticket is created.

first is to extract some of the content and input it into custom fields
then sends an auto response with the contents of the custom fields.

I have renamed the templates and script names in alphabetical order but
the auto response is still being sent before the custom fields are
extracted so the auto response is sending out blank fields.

is there any other way of doing this ?

Thanks

sorry for the many emails…

i have followed the steps from

%20order;#45172

and set the extraction scrip as user defined do something in
transaction batch mode using the

if ($self->TransactionObj->Type eq ‘Create’)
{ return(1); }
else
{ return(undef); }

then the autoreply stage in transaction batch.

when i look at the history of the ticket i see that it is going in the
correct order but it is returning blanks for the custom fields that i
called in my template.

my old setup was
on create extract cf’s in transaction batch then autoreply on user
defined when one of the cf’s matched “something”

this worked so that the autoreply could call the cf’s but it kept
sending out the autoreply on every transaction

is there a way to define a user define to make it only work 1 time like
a counter ?From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Lim,
Justin
Sent: Monday, June 12, 2006 10:35 AM
To: RT-Users@lists.bestpractical.com
Subject: [rt-users] scrip order

I am trying to do 2 things when a ticket is created.

first is to extract some of the content and input it into custom fields
then sends an auto response with the contents of the custom fields.

I have renamed the templates and script names in alphabetical order but
the auto response is still being sent before the custom fields are
extracted so the auto response is sending out blank fields.

is there any other way of doing this ?

Thanks