<div dir="ltr">Jesse,<br><br>The problem was the custom field was added in the commit stage of the action, but template rendering is completed in the prepare phase. Once I moved the custom field code to the prepare stage everything started working. Unfortunately I was using the ExtractCustomFieldValues extension, so I had to write my own code that used the prepare phase.<br>
<br>Thanks!<br><br>-Todd<br><br><div class="gmail_quote">On Mon, Sep 8, 2008 at 6:53 PM, Jesse Vincent <span dir="ltr"><<a href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div></div><div class="Wj3C7c"><br><div><div>On Sep 8, 2008, at 3:05 PM, Todd Chapman wrote:</div><br><blockquote type="cite"><div dir="ltr">I am having a problem trying to figure out how to have a scrip run before the Autoreply scrip and add a custom field value and use that custom field value in the Autoreply template.<br>
<br>I know that scrips are run in order of description. Should the custom field value (fetched using ->FirstCustomFieldValue) be visible in the Autoreply template? Is DB caching possibly the problem?<br> <br>This is for RT <a href="http://3.6.3." target="_blank">3.6.3.</a> Any help is appreciated.<br>
</div></blockquote></div><br></div></div><div>Before spending a lot of time beating your head against this, can you test on something more current? There has been a lot of cleanup in that codepath since then.</div><div><br>
</div><font color="#888888"><div>-j</div></font></div></blockquote></div><br></div>