<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>AW: [rt-users] CustomField transactions not being created</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>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.<BR>
<BR>
Next, have you checked the exec order of your scrips or is all done by a single scrip?<BR>
<BR>
Torsten<BR>
<BR>
-----Original Message-----<BR>
From: rt-users-bounces@lists.bestpractical.com <rt-users-bounces@lists.bestpractical.com><BR>
To: rt Users <rt-users@lists.bestpractical.com><BR>
Sent: Fri Apr 06 19:47:47 2007<BR>
Subject: [rt-users] CustomField transactions not being created<BR>
<BR>
Hi All,<BR>
<BR>
I'm running RT 3.6.3 and am baffled by a transaction issue. I have an<BR>
OnCreate scrip that extracts information from the e-mail and populates 2<BR>
custom fields with the info. Then it sets a 3rd custom field to a value<BR>
that I expect to trigger another scrip.<BR>
<BR>
My problem is that no transactions are being created when I set the values<BR>
of the custom fields, so the conditions that should trigger the other<BR>
scrips aren't happening.<BR>
<BR>
Looking at the Transactions table in the database, I see 5 transactions for<BR>
this ticket - 4 that create pseudo-groups and 1 that creates the<BR>
ticket. There aren't any that show that I modified the custom fields,<BR>
although they have the expected values. The ticket history only shows the<BR>
ticket creation, no changes to it. Is this because it's within an OnCreate<BR>
scrip? If I manually set one of the custom fields in an existing ticket<BR>
from within RT, the transactions are recorded and my scrips fire as expected.<BR>
<BR>
Does anyone know how I can get transactions to be created within the scrip<BR>
for custom fields?<BR>
<BR>
Thanks,<BR>
Gene<BR>
<BR>
<BR>
<BR>
--<BR>
Gene LeDuc, GSEC<BR>
Security Analyst<BR>
San Diego State University<BR>
<BR>
_______________________________________________<BR>
<A HREF="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</A><BR>
<BR>
Community help: <A HREF="http://wiki.bestpractical.com">http://wiki.bestpractical.com</A><BR>
Commercial support: sales@bestpractical.com<BR>
<BR>
<BR>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<BR>
Buy a copy at <A HREF="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</A><BR>
</FONT>
</P>
</BODY>
</HTML>