[rt-users] Scrip silent update problem

Jason Maderios jmaderios at kpu.net
Wed May 26 13:49:49 EDT 2010


All,

I have a scrip that updates the subj line.  I do not want this change noted in history.

I am using RecordTransaction 0 in other scrips and they are working fine.  Just not in this one.  

Any thoughts?

--- Truncated Custom Action cleanup code --
my $csubj = $self->TicketObj->Subject;
$csubj =~ s/^\(.*\)//;

my ( $st, $msg ) = $self->TicketObj->SetSubject ("\($cftype - $cfphone\) $csubj", RecordTransaction => 0);

unless ( $st ) {
    $RT::Logger->error("Coudln't change Subj: $msg");
    return 0;
}
--- Truncated --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100526/395d8960/attachment.htm>


More information about the rt-users mailing list