[rt-users] Scrip condition not for Reminders
Tobias W.
registrirung at hotmail.de
Fri Nov 11 03:01:02 EST 2016
Hello,
We use a RT scrip to check on close if a Custom filed is empty. If the Custom field is empty, the script reopens the ticket.
Condition: On Resolved
Custom action preparation code:
if( ! $self->TicketObj-> FirstCustomFieldValue( 'FieldName' ) ) {
$self->TicketObj->SetStatus('open');
}else{
$self->TicketObj->AddCustomFieldValue(
Field => 'FieldName',
Value => 'true');
}
Now we have a problem with the reminders: When I close a reminder the scrip reopen it.
Is there a way to prevent this?
Thank you,
Tobi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20161111/763e6166/attachment.htm>
More information about the rt-users
mailing list