[rt-users] Perl API: Referring to possible values in combobox custom field by ID?
ruz at bestpractical.com
Wed Oct 19 04:59:30 EDT 2011
On Wed, Oct 19, 2011 at 12:54 PM, tobiasbp <tobiasbp at gmail.com> wrote:
> Hello list.
> I'm working on a script using the perl API. I'm running RT 3.8.8.
> I have a custom field of type combobox. Let's say the field has two
> possible values:
> 1: A
> 2: B
> I can easily check if the field has a value of "A" or "B". But, I
> would like to refer to the values by ID (1 = A, 2 = B). As the values
> may change in the future, but will still have the same meaning (from
> the script perspective).
> Any ideas?
> Tobias Balle-Petersen
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Washington DC, USA October 31 & November 1, 2011
> * Barcelona, Spain November 28 & 29, 2011
Best regards, Ruslan.
More information about the rt-users