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

Ken Crocker kfcrocker at lbl.gov
Mon May 4 12:34:54 EDT 2009


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 "TransactionBatch" it resolved my problem. Hope this helps.


Kenn
LBNL

On 5/4/2009 9:14 AM, Todd Chapman 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
>
>   




More information about the rt-users mailing list