[Rt-devel] Using Transaction custom fields from a Scrip

Jesse Vincent jesse at bestpractical.com
Fri Sep 12 16:28:53 EDT 2008

On Sep 12, 2008, at 1:52 PM, Jon Wood wrote:

> Hi,
> I'm currently developing a scrip which is meant to act based on a  
> custom
> field on the transaction, however it appears that at the point the  
> scrip
> is fired, the transaction's custom fields havn't been saved yet.
> It may be that I just need to find a different way to deal with this
> problem, but I was wondering if that is considered a bug, or just how
> things work.

It's a longstanding design issue. The "right" fix would be very, very  
invasive. I believe that if you move your new scrip to the  
TransactionBatch stage, things will work out for you.


> Cheers,
> Jon Wood
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

More information about the Rt-devel mailing list