Hi,
is there a way o set the pending reminder date for a process ticket from a dynamic field that the customer set?
if there is no such freature what is the file(path to pm) that handle the change state of the ticket tru transition?
Thanks
Set ticket to pending reminder and date from dynamic field
Moderator: crythias
-
- Znuny newbie
- Posts: 14
- Joined: 20 Jan 2017, 16:20
- Znuny Version: 50000
- Real Name: Matei Sebastian Alin
-
- Znuny newbie
- Posts: 14
- Joined: 20 Jan 2017, 16:20
- Znuny Version: 50000
- Real Name: Matei Sebastian Alin
Re: Set ticket to pending reminder and date from dynamic field
I find a way to do this!
When setting the pending reminder state on the ticket set a PendingTimeDiff to a int value.
then in TicketSetState.pm i've added:
my $chc = $Param{Ticket}->{DynamicField_ITSMDueDate};
if (defined $chc)
{
$PendingTimeString = $Param{Ticket}->{DynamicField_ITSMDueDate};
}
When setting the pending reminder state on the ticket set a PendingTimeDiff to a int value.
then in TicketSetState.pm i've added:
my $chc = $Param{Ticket}->{DynamicField_ITSMDueDate};
if (defined $chc)
{
$PendingTimeString = $Param{Ticket}->{DynamicField_ITSMDueDate};
}