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

Ruslan Zakirov ruslan.zakirov at gmail.com
Mon May 4 13:19:04 EDT 2009


I think it's done to generate list of recipients.

On Mon, May 4, 2009 at 9:10 PM, Todd Chapman <todd at chaka.net> wrote:
> 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.
>>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list