[Rt-devel] Scrips can't set/modify TimeTaken

Rolf Grossmann rg at progtech.net
Tue May 31 12:21:08 EDT 2005


Hi,

I've tried to write a scrip that sets a transaction's TimeTaken value 
from mail headers. However, I had to find out that "Transactions are 
immutable" (see sub _Set in Transaction_Overlay.pm. While I generally 
agree with that sentiment, a newly created Transaction (or at least the 
TimeTaken value) should be mutable until it is completely processed 
(i.e. all scrips are done). Now I'm wondering, has anyone run into the 
same problem before (didn't find anything in the archives)? What's the 
suggested solution?

Rolf



More information about the Rt-devel mailing list