[rt-users] Why are extracted custom fields not available in Autoreply template

2009-05-04 Thread Todd Chapman
All, I have a scrip that runs first and extracts custom fields on ticket created. The Autoreply scrip runs second, but if I use $Ticket-FirstCustomFieldValue('foo') in the Autoreply template I don't get the value that was extracted in the first scrip. What am I missing? Do I need to get the first

Re: [rt-users] Why are extracted custom fields not available in Autoreply template

2009-05-04 Thread Ken Crocker
Todd, I've run into that same problem. For some reason, when RT executes transactions, the RT base transactions seemed to override any scrip based changes that had a stage of TransactionCreate. When I turned on TransactionBatch in my SiteConfig and set the Stage for the scrips to

Re: [rt-users] Why are extracted custom fields not available in Autoreply template

2009-05-04 Thread Ruslan Zakirov
Message from the template is generated during Prepare step. On Mon, May 4, 2009 at 8:14 PM, Todd Chapman t...@chaka.net wrote: All, I have a scrip that runs first and extracts custom fields on ticket created. The Autoreply scrip runs second, but if I use $Ticket-FirstCustomFieldValue('foo')

Re: [rt-users] Why are extracted custom fields not available in Autoreply template

2009-05-04 Thread Todd Chapman
Thanks Ruslan. Is there a reason for that? On Mon, May 4, 2009 at 1:06 PM, Ruslan Zakirov ruslan.zaki...@gmail.com wrote: Message from the template is generated during Prepare step. On Mon, May 4, 2009 at 8:14 PM, Todd Chapman t...@chaka.net wrote: All, I have a scrip that runs first and

Re: [rt-users] Why are extracted custom fields not available in Autoreply template

2009-05-04 Thread Ruslan Zakirov
I think it's done to generate list of recipients. On Mon, May 4, 2009 at 9:10 PM, Todd Chapman t...@chaka.net wrote: Thanks Ruslan. Is there a reason for that? On Mon, May 4, 2009 at 1:06 PM, Ruslan Zakirov ruslan.zaki...@gmail.com wrote: Message from the template is generated during