Hi RT Users,

 

i have a problem with a scrip, which was running the last weeks perfectly:

 

Custom condition:

 

$RT::Logger->info("TB: (Condition Start)");

if ( ($self->TransactionObj->Type eq "CustomField" ||

      $self->TransactionObj->Type eq "Create" ) &&

      ($self->TicketObj->FirstCustomFieldValue('ETA') ||

       $self->TicketObj->FirstCustomFieldValue('ETA')) ) {

$RT::Logger->info("TB: (Condition OK)");

    return 1;

}

$RT::Logger->info("TB: (Condition NOK)");

return 0;

 

Custom action preparation code:

 

$RT::Logger->info("TB: (Prep Code) SetETA Start");

return 1;

 

Custom action cleanup code:

 

$RT::Logger->info("TB: Cleanup Code");

my $cf_value = $self->TicketObj->FirstCustomFieldValue('ETA');

$RT::Logger->info("TB: ETA is: [$cf_value]");

$self->TicketObj->SetStarts($cf_value);

$RT::Logger->info("TB: Starts is set");

return 1;

 

I’m checking at Create Time for the value of a special CF (which is set by ExtractCustomFiled Values) and if the Values changes, the content is set to Starts Date.

 

This was running many week but since this Sunday no more… Have someone an idea whats wrong with that? Or do someone have a better idea for a CF Check?

 

Thanks


Torsten

_______________________________________________
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


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to