logo

NJP

Use of Look up select box variable on service catalog

Import · Sep 20, 2019 · article

Use of Look up select box variable on service catalog

image

Requirement:

  1. On service catalog form we need to show value of three fields from Budget Center in single variable.
  2. Using normal reference variable type it was not possible to show multiple values in single variables.
  3. To accomplish this requirement we have used look select box variable.

image

Using this variable we have shown the values of Name,Budget-Owner,LTD in ‘Budget center/LTD/Budget Owner’ variable.

Type Specifications of lookup select box:

  • Lookup from table: Selected budget center table from which values are required.
  • Lookup value field: the field on the lookup table whose value is used as the variable's value (we have used sys_id).
  • Lookup label field(s) : a comma-separated list of fields( Name,Budget-Owner,LTD ) on the lookup table whose values are used to display the selections in the select box.

image

View original source

https://www.servicenow.com/community/developer-articles/use-of-look-up-select-box-variable-on-service-catalog/ta-p/2330117