We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Reference Qualifier based on the other field value

florian29
Tera Contributor

Hi Team,

How to limit the values for a reference field based on the other field value.

The first variable is of type select_box and is used to set the category.

The second variable is a reference field, which should only show the records where the category agrees.

Both variables refer to the same table.

I tried to use the following reference qual. for the second variable

javascript: 'u_category = '+current.variables.software_leistungsfeld

but it doesn't work.

Can some help me?

5 REPLIES 5

Not applicable

For anyone looking at this the above Reference Qualifier has a space in it before and after the '=' which would not work. The code should look like this: javascript: 'u_category='+current.variables.software_leistungsfeld;