I tried that
my ( $st, $msg ) = $self->TicketObj->SetSubject ("\($cftype - $cfphone\) $csubj", RecordTransaction => 0 ); But I still get: Sat Jun 19 11:57:25 2010 The RT System itself - Subject changed from (no value) to '( DSL- 5551212) ' For some reason the transaction still shows up From: Torsten Brumm Sent: Saturday, June 19, 2010 11:07 AM To: Jason Maderios Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Setting LastUpdatedBy in a scrip I have no idea about your scrip, but in most cases you can use RecordTransaction=0 (search the wiki for correct syntax) Torsten 2010/6/19 Jason Maderios <jmader...@kpu.net> All, I have scrips that update information in custom fields on each transaction on a ticket. 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? Regards, Jason Maderios Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com