[rt-users] Problems with a Scrip

Torsten Brumm torsten.brumm at kuehne-nagel.com
Tue Jul 18 05:04:07 EDT 2006

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]");


$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?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060718/557ac8f3/attachment.htm>

More information about the rt-users mailing list