On Tue, May 12, 2015 at 8:06 PM, Bill Cole <
[email protected]> wrote:

> Based on what you posted, I would expect there to be 2 different scrips,
> one for each message. Your solution will probably involve selecting one of
> them to keep and disabling the other.
>
>  but it is not familiar
>> to me,
>> the condition is "User defined" but i can't understand the Perl code,
>>
>> can you help please ?
>>
>> ----
>> my $txn = $self->TransactionObj;
>> return 0 unless $txn->Field eq "Owner";
>> return 0 if $txn->NewValue == $txn->Creator;
>> return 1;
>> ----
>>
>
> That means the scrip action (sending an email notification using the
> selected template) will trigger only on transactions that (1) change the
> ticket's "Owner" field and (2) set the new value of "Owner" to a value that
> is not equal to the "Creator" field of the transaction. In other words: the
> scrip triggers when a user gives a ticket to someone else.
>

​Thank you :)
​​

--
Rabin

Reply via email to