<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hello,</div>
<div> </div>
<div>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.</div>
<div><br>
</div>
<div>Condition: On Resolved</div>
<div><br>
</div>
<div>Custom action preparation code:</div>
<div>if( ! $self->TicketObj-> FirstCustomFieldValue( 'FieldName' ) ) {</div>
<div>$self->TicketObj->SetStatus('open');</div>
<div>}else{</div>
<div>$self->TicketObj->AddCustomFieldValue(</div>
<div> Field => 'FieldName',</div>
<div> Value => 'true');</div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<div> </div>
<div>Now we have a problem with the reminders: When I close a reminder the scrip reopen it.</div>
<div><br>
</div>
<div>Is there a way to prevent this?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Tobi</div>
<br>
<p></p>
</div>
</body>
</html>