<br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 3:35 PM, Paul Tomblin <span dir="ltr"><<a href="mailto:ptomblin@xcski.com">ptomblin@xcski.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a ScripAction that activates when a ticket is resovled.  If I set a custom field and resolve the ticket on the web site (<a href="http://localhost:8080/Ticket/Modify.html?id=1" target="_blank">http://localhost:8080/Ticket/Modify.html?id=1</a>), I'm trying to pull out the new custom field value in the Scrip using <div>

<br></div><div><div><span style="white-space:pre-wrap"> </span># Find the custom field "myCustom"</div><div><span style="white-space:pre-wrap">     </span>my $myCustom =  $ticket->FirstCustomFieldValue("myCustom");</div>

<div><span style="white-space:pre-wrap">  </span>$RT::Logger->debug("custom field = ". $myCustom);</div><div><br></div><div>but it never gets the value.  Is there somewhere else I need to look for that custom field?  Is it in the TransactionObj instead?  Am I going to have to use TransactionBatch for this?</div>
<span class="HOEnZb" style="white-space:pre-wrap"><font color="#888888">
<div><br></div></font></span></div></blockquote><div>If anybody cares about this, yes, I had to use TransactionBatch.</div><div> </div></div>-- <br><a href="http://www.linkedin.com/in/paultomblin">http://www.linkedin.com/in/paultomblin</a><br>
<a href="http://careers.stackoverflow.com/ptomblin">http://careers.stackoverflow.com/ptomblin</a><br><br>