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">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 class="Apple-tab-span" style="white-space:pre"> </span># Find the custom field "myCustom"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>my $myCustom = $ticket->FirstCustomFieldValue("myCustom");</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </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>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></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>
</div>