Lookup select box

concept australia Updated Sep 10, 2026 4 min read lookup-select-box.md
Raw file servicenow.com

The lookup select box variable creates a choice list using data queried from a table or from a choice list. Its functionality is similar to the lookup multiple choice variable, which creates radio buttons from the same sources.

You can also configure this variable, and the lookup multiple choice variable, to source its values from a choice list instead of a table. This is useful when the values you want to offer are already maintained as choices on a field on another table, rather than as records in a table.

By default, choices are ordered by their label. You can control the order in which values appear by using the ref_ac_order_by variable attribute to sort by a specific column first.

For attributes supported by this variable, see variable attributes.

To create the lookup select box, enter the following values when creating the variable:

  • Lookup from table: Incident [incident]
  • Lookup value field: Sys ID
  • Lookup label field: number, category, priority
  • Reference qual: caller_id=javascript:gs.getUserID()^active=true

Use choice list values as the lookup source

Instead of sourcing values from a table, you can configure the lookup select box or lookup multiple choice variable to source its values from a choice list. Complete the following fields to source values from a choice list:

  • In the Lookup source field, select Choices. The default value is Table.
  • Optionally, in the Choices depend on field, select another question on the same catalog item. The choice list then filters to the choices that are valid for the current value of that question.

Note:

  • This option is available for the lookup select box and lookup multiple choice variable types. It is supported in the Service Portal, mobile, and Virtual Agent channels.
  • Table with large data causes performance issues when loading the page. Use reference qualifiers to reduce data or use the reference type variable.
  • You can't add more than 10,000 choices.
  • Reference qualifiers aren't honored when the lookup source is set to choice.

Question [item_option_new] fields

Field Description Type
Lookup source (lookup_source) Determines where the variable's choice values come from. Set to Table to query a table, or Choices to source values from the sys_choice table. Only shown for the lookup select box and lookup multiple choice variable types. Choice (default: Table)
Choices depend on (lookup_dependent_question) Optional. References another question on the same catalog item. When set, the choice list filters to the choices that are valid for the current value of that question. Only shown when Lookup source is set to Choices. Reference (to Question [item_option_new])

Parent Topic:Types of service catalog variables

Related topics

Attachment

Break

Check box

Container start, container split, and container end

Date, Date and time, and Duration

Email

HTML

IP Address

Label

List collector

Lookup multiple choice

Custom and Custom with label

Masked

Multi-line text

Multiple choice

Numeric scale

Reference

Requested for

Rich Text Label

Select box

Single-line text

UI page

URL

Wide single-line text

Yes/No

Variable support in various channels

Search documentation
Search document titles and file paths on the australia branch