[rt-users] Order of custom field updates

Woody - Wild Thing Safaris woody at wildthingsafaris.com
Thu Dec 4 00:03:03 EST 2014

Hi folks,

I have a scrip that runs onCustomFieldChange, and it creates another
ticket using data from other custom fields.


Payment amount  - value
Payment currency - select
Payment destination  - select
Payment type - select

A scrip triggers on change of Payment type, but when the new ticket is
created, amount and currency are defined, but destination is not set so
i get something like

Incoming Payment of xxxxx GBP - .

instead of

Incoming Payment of xxxx GBP - Current account

I have checked the id number of the custom fields thinking maybe they
update in id order, but Payment Type is the lowest, and Payment
Destination is not the highest. Payment type is the last in the list
that's displayed, so I'm not sure how the order of field updates is decided.

Can anyone suggest a solution or provide any info on how the order of
field updates is defined and how i can change it (presumably by changing
field names or deleting and re-adding?)


Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 657 799 468
Skype: woody1tz

More information about the rt-users mailing list