David,
Try this:
Description: On Correspond Update Due
Condition: On Correspond
Action: User Defined
Template: Global: Blank
Stage: TransactionBatch
Custom Action Prep Code:
my $trans = $self->TransactionObj;
my $ticket = $self->TicketObj;
my $Due = new RT::Date( $self->CurrentUser );
# Add 5 days to Due Date
$Due->SetToNow();
$Due->AddDays( 5 );
$ticket->SetDue( $Due->ISO );
return 1;
Custom Action Cleanup Code:
return 1;
Hope this helps.
Kenn
LBNL
On Thu, Feb 3, 2011 at 8:17 AM, David Gibbs wrote:
> Folks:
>
> Can anyone recommend a Scrip or extensions that will allow me to
> automatically advance the due date on a ticket when it's replied to?
>
> I would like to advance the due date to 5 days from the time it's replied
> to automatically.
>
> Thanks!
>
> david
>
> --
> IBM i on Power Systems - For when you can't afford to be out of business
>
>