Hi everyone,<br><br>I'm new on scrips writing.<br>I'm looking for a way to send a notification to the owner of a ticket if he forgot to fill a specific custom field.<br>I'd like to keep the ticket opened as long as there is no value to this custom field.<br>
<br>I can detect if the custom field is empty or not.<br>--------------------------------------<br>if (<br>($self->TransactionObj->Type eq "Status" &&<br> $self->TransactionObj->NewValue eq "resolved") &&<br>
!$self->TicketObj->FirstCustomFieldValue('My custom field') ) {<br> return 1;<br>}<br>return 0;<br>--------------------------------------<br><br>I can easily re-open a ticket if this condition is true. I can also send a mail to the owner with the Notify module. But I'm not able to find a simple way to do both of this actions.<br>
<br>Do someone have an idea?<br>Thank you.<br>Michel<br><br>