[rt-users] Setting LastUpdatedBy in a scrip

Jason Maderios jmaderios at kpu.net
Sat Jun 19 16:02:33 EDT 2010

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 at 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)


2010/6/19 Jason Maderios <jmaderios at kpu.net>


  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?


  Jason Maderios

  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
  Buy a copy at http://rtbook.bestpractical.com


Torsten Brumm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100619/b411100c/attachment.htm>

More information about the rt-users mailing list