AW: [rt-users] CustomField transactions not being created

Ham MI-ID, Torsten Brumm torsten.brumm at Kuehne-Nagel.com
Fri Apr 6 20:10:19 EDT 2007


How do you extract the values into the cf's? Do you use the extractcustomfieldsvalues from dirk pape? If so, check that youi have enabled the record transaction inside the template, this gives you a hint.

Next, have you checked the exec order of your scrips or is all done by a single scrip?

Torsten

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com <rt-users-bounces at lists.bestpractical.com>
To: rt Users <rt-users at lists.bestpractical.com>
Sent: Fri Apr 06 19:47:47 2007
Subject: [rt-users] CustomField transactions not being created

Hi All,

I'm running RT 3.6.3 and am baffled by a transaction issue.  I have an 
OnCreate scrip that extracts information from the e-mail and populates 2 
custom fields with the info.  Then it sets a 3rd custom field to a value 
that I expect to trigger another scrip.

My problem is that no transactions are being created when I set the values 
of the custom fields, so the conditions that should trigger the other 
scrips aren't happening.

Looking at the Transactions table in the database, I see 5 transactions for 
this ticket - 4 that create pseudo-groups and 1 that creates the 
ticket.  There aren't any that show that I modified the custom fields, 
although they have the expected values.  The ticket history only shows the 
ticket creation, no changes to it.  Is this because it's within an OnCreate 
scrip?  If I manually set one of the custom fields in an existing ticket 
from within RT, the transactions are recorded and my scrips fire as expected.

Does anyone know how I can get transactions to be created within the scrip 
for custom fields?

Thanks,
Gene



-- 
Gene LeDuc, GSEC
Security Analyst
San Diego State University 

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070407/29df30ef/attachment.htm>


More information about the rt-users mailing list