[rt-users] RecordTransaction => 0 not working ?

Kevin Falcone falcone at bestpractical.com
Wed Jun 17 15:40:54 EDT 2009


On Jun 17, 2009, at 3:36 PM, David wrote:

> Hi,
>
> I've searched about this but was not able to find another user with
> the same problem.
>
> I have been referring to use case scenarios found in the Wiki such as:
> http://wiki.bestpractical.com/view/WriteCustomAction
>
> I am unable to disable transaction records when adding a reference
> such as the one below:
>
> $self->TicketObj->AddLink( Type => 'RefersTo', Target => $ticket_id,
> RecordTransaction => 0);

Double check the documentation for AddLink.  There is no  
RecordTransaction
argument but there is another option for suppressing transactions

-kevin

>
> Where $ticket_id is a ticket number retrieved before.
>
> The reference is added properly between the two tickets but the
> transaction will still show in the ticket:
> Wed Jun 17 00:00:00 2009   RT_System - Reference to ticket #XXXXXXX  
> added
>
> However, it seems like I am unable to get this to work.. Is it
> something particular to linking transaction (such as RefersTo,
> ReferredToBy, Children, Parent) ? It could make sense since the action
> has an influence on two tickets rather than just one.
>
> I am running RT 3.8.2 at this time and planning to upgrade to 3.8.4  
> shortly.
>
> Does someone have a clue ?
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>




More information about the rt-users mailing list