Yes, that was happening in TransactionCreate.<div><br></div><div>So, I found people with similar problems that solved this using TransactionBatch, because the scrip is executed later. But, when I change status to resolved, the CustomField does not get changed (in TransactionCreate it was twice).</div>
<div>I dont know why this is happening.</div><div><br><div class="gmail_quote">2010/4/16 Raed El-Hames <span dir="ltr"><<a href="mailto:rfh@vialtus.com">rfh@vialtus.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Are you creating the ticket from the web interface and that custom field exist in the form;<br>
Most likely the script is changing it to the value you want, then its changing again to the value given in the form while processing the form ??<br>
Is that what is happening??<br>
If its , I would suggest you change your scrip condition to Userdefined and look for Custom Field create or change<br>
something similar to <a href="http://wiki.bestpractical.com/view/OnCustomFieldValueChange" target="_blank">http://wiki.bestpractical.com/view/OnCustomFieldValueChange</a><br>
<br>
Regards;<br>
Roy<div><div></div><div class="h5"><br>
<br>
Sergio Charpinel Jr. wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm trying to change a CustomField value in OnCreate event.<br>
I cant use TransactionCreate stage, because when I resolve the ticket via Web Interface, it changes again my custom field value to what it was.<br>
<br>
So, I'm trying to use TransactionBatch stage, but the field is not changed. And the script is get executed.<br>
<br>
What am I doing wrong?? <br>
Thanks for any help.<br>
<br>
-- <br>
Sergio Roberto Charpinel Jr.<br>
</blockquote>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Roberto Charpinel Jr.<br>
</div>