>From wiki: <a href="http://wiki.bestpractical.com/view/WriteCustomAction">http://wiki.bestpractical.com/view/WriteCustomAction</a><span class=" argument-content"><h2>How to be silent</h2>
<p>
Now you put SetXxxx calls all over the places in RT and suddenly note
that strange transactions appear in tickets. They have creator <a href="http://wiki.bestpractical.com/view/RT_System">RT_System</a> and
describe what you've done with your scrips. Sometimes it's better to be
silent and not mislead users. These transactions also go through the
steps described earlier and could trigger some conditions too. <u><b>Just use
the long form of SetXxx functions:</b></u>
</p>
<pre>$TicketObj->_Set(Field => 'Priority', Value => 90, RecordTransaction => 0);<br><br></pre></span>Could work this way!<br><br>Torsten<br><br><div class="gmail_quote">2010/6/19 Jason Maderios <span dir="ltr"><<a href="mailto:jmaderios@kpu.net">jmaderios@kpu.net</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Calibri">I tried that</font></div>
<div><font face="Calibri"></font> </div><font face="Calibri">
<div><br>my ( $st, $msg ) = $self->TicketObj->SetSubject ("\($cftype -
$cfphone\) $csubj", RecordTransaction => 0 );</div>
<div> </div>
<div>But I still get:</div>
<div> </div>
<div><span>Sat Jun 19 11:57:25 2010</span> <span>The RT System itself - Subject changed from (no value) to '(
DSL- 5551212) ' </span></div>
<div> </div>
<div>For some reason the transaction still shows up</div>
<div> </div>
<div></div></font> </div>
<div style="font: 10pt Tahoma;">
<div><br></div>
<div style="background: none repeat scroll 0% 0% rgb(245, 245, 245);">
<div><b>From:</b> <a title="mailto:torsten.brumm@googlemail.com
CTRL + Click to follow link" href="mailto:torsten.brumm@googlemail.com" target="_blank">Torsten Brumm</a> </div>
<div><b>Sent:</b> Saturday, June 19, 2010 11:07 AM</div>
<div><b>To:</b> <a title="jmaderios@kpu.net" href="mailto:jmaderios@kpu.net" target="_blank">Jason
Maderios</a> </div>
<div><b>Cc:</b> <a title="rt-users@lists.bestpractical.com" href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a>
</div>
<div><b>Subject:</b> Re: [rt-users] Setting LastUpdatedBy in a
scrip</div></div></div><div><div></div><div class="h5">
<div><br></div>I have no idea about your scrip, but in most cases you can use
RecordTransaction=0 (search the wiki for correct syntax)<br><br>Torsten<br><br>
<div class="gmail_quote">2010/6/19 Jason Maderios <span dir="ltr"><<a href="mailto:jmaderios@kpu.net" target="_blank">jmaderios@kpu.net</a>></span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Calibri">All,</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">I have scrips that update information in custom fields
on each transaction on a ticket.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">The scrips work great however they always set
LastUpdatedBy to RT_System. How can I set the LastUpdatedBy to the
actual user working the ticket at the end of the scrip?</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Regards,</font></div>
<div><font face="Calibri"></font> </div><font color="#888888">
<div><font face="Calibri">Jason
Maderios</font></div></font></div><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" target="_blank">http://rtbook.bestpractical.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>MFG<br><br>Torsten Brumm<br>
<br><a href="http://www.brumm.me" target="_blank">http://www.brumm.me</a><br><a href="http://www.elektrofeld.de" target="_blank">http://www.elektrofeld.de</a><br>
</div></div><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" target="_blank">http://rtbook.bestpractical.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>MFG<br><br>Torsten Brumm<br><br><a href="http://www.brumm.me">http://www.brumm.me</a><br>
<a href="http://www.elektrofeld.de">http://www.elektrofeld.de</a><br>