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

Todd Chapman todd at chaka.net
Mon May 4 13:10:36 EDT 2009


Thanks Ruslan. Is there a reason for that?

On Mon, May 4, 2009 at 1:06 PM, Ruslan Zakirov <ruslan.zakirov at gmail.com> wrote:
> Message from the template is generated during Prepare step.
>
> On Mon, May 4, 2009 at 8:14 PM, Todd Chapman <todd at 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') 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 scrip to commit somehow before the
>> second runs?
>>
>> Thanks!
>>
>> -Todd
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Best regards, Ruslan.
>



More information about the rt-users mailing list