[rt-users] TransactionBatch - AddCustomFieldValue

Sergio Charpinel Jr. sergiocharpinel at gmail.com
Fri Apr 16 13:12:12 EDT 2010

Yes, that was happening in TransactionCreate.

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).
I dont know why this is happening.

2010/4/16 Raed El-Hames <rfh at vialtus.com>

> Are you creating the ticket from the web interface and that custom field
> exist in the form;
> 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 ??
> Is that what is happening??
> If its , I would suggest you change your scrip condition to Userdefined and
> look for Custom Field create or change
> something similar to
> http://wiki.bestpractical.com/view/OnCustomFieldValueChange
> Regards;
> Roy
> Sergio Charpinel Jr. wrote:
>> Hi,
>> I'm trying to change a CustomField value in OnCreate event.
>> 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.
>> So, I'm trying to use TransactionBatch stage, but the field is not
>> changed. And the script is get executed.
>> What am I doing wrong??
>> Thanks for any help.
>> --
>> Sergio Roberto Charpinel Jr.

Sergio Roberto Charpinel Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100416/e07bff0e/attachment.htm>

More information about the rt-users mailing list