<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scott,<br>
<br>
Try the Transaction Table.<br>
<br>
Kenn<br>
LBNL<br>
<br>
On 8/31/2009 1:58 PM, Lander, Scott wrote:
<blockquote
cite="mid:39A20BAEB14A6344A0646DD5C8F98D4B0637DF7EEA@RCLTEXCMS02.resource.hearstcorp.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.3157" name="GENERATOR">
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009">Ken,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009"> CustomFieldValues does
have the current values, and documents when they were inserted or
modified, but, NOT the actual changes - IE, no "Old Value / New
Value". For instance, for one of the lines in question, the table
has:</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009">+-----+-------------+----------------------------------------------------------+-----------------------------+-----------+---------+---------------------+---------------+---------------------+<br>
| id | CustomField |
Name |
Description | SortOrder | Creator | Created
| LastUpdatedBy | LastUpdated |<br>
+-----+-------------+----------------------------------------------------------+-----------------------------+-----------+---------+---------------------+---------------+---------------------+<br>
</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009">| 321 | 30 |
CPU
| | 4 | 101 | 2009-08-05
14:44:16 | 101 | 2009-08-24 19:56:54 | </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="335005320-31082009">What I need to find out is
what the Name used to be! It shouldn't be CPU, at one time (last
week) it was something more like "NAS Storage".</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="335005320-31082009"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="335005320-31082009"></span></font> </div>
<div dir="ltr" align="left"><br>
</div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> </div>
Scott,<br>
<br>
That's because the ObjectCustomFieldValues Table is for changes to a
value for an OBJECT. To see the history for the Custom Fields
themselves, try CustomFieldValues.<br>
<br>
<br>
Kenn<br>
LBNL<br>
<br>
On 8/31/2009 1:45 PM, Lander, Scott wrote:
<blockquote
cite="mid:39A20BAEB14A6344A0646DD5C8F98D4B0637DF7EE5@RCLTEXCMS02.resource.hearstcorp.com"
type="cite">
<pre wrap="">Gene,
Thanks, but - as near as I can tell, ObjectCustomFieldValues has references from type RT::Ticket only. IE, everything in it refers to a ticket change, not a global custom field change.
Scott
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Scott, look in the ObjectCustomFieldValues table. There are pointers into it from the OldReference and NewReference
fields in the Transactions table. I'm using 3.6.3, but I'm guessing that the same will be true in 3.8.4.
Gene
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Lander, Scott wrote:
</pre>
<blockquote type="cite">
<pre wrap="">We accidentally changed some values in a Custom Field, and they need to
be set back. I can retrieve the values from our backup, but, the
question came up of if RT keeps the history for them. Poking thru the
database, I see it keeps the history for tickets (table Transactions),
and that it keeps most of the data for Custom Fields in the table
CustomFieldValues. It keeps Creator, Creation Date, Last Updated By
and Last Update Date. But, so far, I haven't found anywhere it keeps
what was changed. IE, category old value, new value, like you find
in the Transactions table.
This would seem to be very useful information to have - especially in
the case of a system audit.
Am I just missing something?
This in on RT 3.8.4, btw.
</pre>
</blockquote>
<pre wrap=""><!---->
------------------------------------------------------------------------------------
This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:cadmin@hearstsc.com">cadmin@hearstsc.com</a>) immediately by email and delete the original message.
------------------------------------------------------------------------------------
_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a>
</pre>
</blockquote>
<pre>------------------------------------------------------------------------------------
This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (<a class="moz-txt-link-abbreviated" href="mailto:cadmin@hearstsc.com">cadmin@hearstsc.com</a>) immediately by email and delete the original message.
------------------------------------------------------------------------------------
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
</body>
</html>