Hi, I have a global scrip which, on create, sets the ticket owner in the clean up code part.
my $QueueName = $self->TicketObj->QueueObj->Name; my $owner = "hanshunger"; $owner = "hanssatt" if $QueueName eq "Food Requests"; $self->TicketObj->SetOwner( $owner); 1; custom condition and preparation code have just return 1; in it For the queue "Food Requests" I have a local scrip which checks the value of a CF and returns either 1 or undef, if it returns 1 the assigned local template creates approval requests. If I set the global scrip, which changes the owner, to stage "disabled" it works just fine but when I set it to "TransactionCreate" the approval requests are created twice. Would anyone know how to get around this problem? Best Regards, Uwe Kolsch InforSense Ltd Colet Court 100 Hammersmith Road London W6 7JP Skype: ukolsch.inforsense Phone: +44 (0)20 82378549 Email: [EMAIL PROTECTED] www.inforsense.com InforSense Disclaimer This email is confidential and intended solely for the use of the individual to whom it is addressed, and not intended to be further distributed without explicit prior approval of the sender. Any views or opinions presented are solely those of the author and do not necessarily represent those of InforSense Limited unless explicitly indicated. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
