Hello everybody,<br><br>Scrip question:<br><br>I'm trying to create a "CustomAction" to have communication between <br>owner and admincc through the commentaries of tickets. It interests to me <br>to do that any commentary that does one of both receives the other.
<br><br><br># Create new scrip<br>Configuration -> Global -> Scrips -> New Script<br><br>Description: On Comment Notify AdminCCs or Owner with template Admin Comment <br>Condition: On Comment<br>Action: User Defined
<br>Template: Admin Comment (custom template )<br>Stage: TransactionCreate <br><br><br>User Defined conditions and actions<br>-----------------------------------<br>Custom condition:<br><br># load id_actor<br>my $id_actor = $TransactionObj->CreatorObj->Id;
<br>    <br># is owner, send comment to AdminCC<br>if( $id_actor == $self->TicketObj->OwnerObj->Id ) {<br>    return 1;    <br>    <br># is AdminCC, send comment to Owner<br>} elsif ($TicketObj->IsWatcher( Type => 'AdminCC' ) ) {
<br>    return 1;    <br><br># is ????, nothing to do <br>} else {<br>    return undef;    <br>} <br><br><br>Custom action preparation code:<br># empty??<br><br>Custom action cleanup code:<br># empty??<br><br><br>Custom Field and Scrip Question:
<br>How to detect the new value of custom field, if this changed.<br><br><br>Thanks,<br><br>