RT 5.0.3
Hi, in RT 4 there was the method in RT::Queue “IsInactiveStatus”.
In RT 5.0.3 how can i check this value?
$self->TicketObj->Status eq '__Inactive__'
doesn’t function
Thanks
RT 5.0.3
Hi, in RT 4 there was the method in RT::Queue “IsInactiveStatus”.
In RT 5.0.3 how can i check this value?
$self->TicketObj->Status eq '__Inactive__'
doesn’t function
Thanks
“In RT 4.0, the @ActiveStatus
and @InactiveStatus
configurations which were previously available are gone. The logic defined by those options is now a subset of RT’s lifecycle features”
my $TicketObj = $self->TicketObj;
my $QueueObj = $TicketObj->QueueObj;
my $Status = $TicketObj->Status;
my $Lifecycle = RT::Lifecycle->Load( $QueueObj-> Lifecycle);
my $test = $Lifecycle->IsInactive($Status);