So i've done some debug in TakeAction.pm and it seems that
custom_fields is empty because I never see the ACTIONCF2 log
any leads at to debugging $queue->TicketCustomFields; ?
# Canonicalize custom fields
my $custom_fields = $queue->TicketCustomFields;
$RT::Logger->info( "ACTIONC
So I never enter this while loop. If I run a script outside of RT it works
my $custom_fields = $queue->TicketCustomFields;
while ( my $cf = $custom_fields->Next ) {
$RT::Logger->error( "HORRAY" );
my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{".
$cf->Nam
On Thu, Jul 22, 2010 at 11:50:31PM -0400, anthony acquanita wrote:
>So I never enter this while loop. If I run a script outside of RT it works
How do you know it is the same current user?
Compare $queue->CurrentUser->UserObj->Id to be sure
Generally this fails when a user doesn't have SeeQueu