On 9/14/2012 1:40 PM, Kevin Falcone wrote:
On Mon, Sep 10, 2012 at 04:57:33PM -0400, Jeff Blaine wrote:
Upon modification of one of our custom fields (text area),
we want to parse the data, perform a translation on the
original data, and store the results in the custom field.
With loads of RT::Logger debugging in place, everything appears
to be working fine except for the for the fact that the Scrip
is being called twice, and it's performing the change ... then
UNDOING IT:
I suspect you're running into the processing order of updates on the
Basics page. You can try making the Scrip TransactionBatch and see if
that resolves it.
For the record, that seems to have worked.
Thanks Kevin
Jeff
Keep in mind that TransactionCreate scrips don't see all the updates
done on that page at once, it sees them piecemeal.
-kevin
--------
Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training
We're hiring! http://bestpractical.com/jobs