Scrip condition not for Reminders

Tobias W. <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <DB4PR03MB6222E361B0AFE20DB546301A4BB0@DB4PR03MB622.eurprd03.prod.outlook.com>
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

---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - January 9-11 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.