Hi,
Please find below the Custom action clean up code for Seting DueDate based on a
condition:
use strict;
use warnings;
my $date1=$self-TicketObj-FirstCustomFieldValue('CI Valid Till');
my $date2=$self-TicketObj-FirstCustomFieldValue('Date In Gabriel');
my($mm1,$dd1,$1) = split /\//,
hi,
i don't know if it can help, but i don't use the -ISO on setDue.
$self-TicketObj-SetDue($duedate); // when $duedate = 2009--11-23
00:00:00;
maybe this can help,
regards,
On 23/11/2009 11:20, TONY JOHN - ERS, HCL Tech wrote:
Hi,
Please find below the Custom action clean up code for
Tony,
We have a Custom Field called Need-By Date that we have the customer
fill out and we use that to set the Due Date of the ticket when they
create a ticket. It overrides the default due date timing set up for the
queue. This is the code we use:
#
# set new values for Due Date from CF