Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Service catalog form Values are dependent on the Other field.

pavam
Tera Contributor

Step 1:

i am having a custom table lets say "Data " with 4 variables. Variable1 , Varaible2, Variable3 and Variable4.

All the values were loaded with excel .


Step 2:

I want to create a Service catalog form based on the "Data" table.
I want to create a 4 variables on the service catalog form based on the "Data" table.


Step3:
Create a variable 1 as a dropdown list

Step 4:
Create a variable 2, that should be dependent on the Variable 1.


Step 5:
Crete a variable 3, that should be dependent on the combination of the variable 1 + variable 2;

Step 6:
Crete a variable 4, that should be dependent on the combination of the variable 1 + variable 2 + Variable 3;

 

 

 

 i have created a script include and advanced reference qualifier.

 

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

I'm assuming it's not working.  Post the script using the insert code </> icon, and show your reference qualifier.  Another approach is to use Lookup Select Box type variables.  In this example I have recreated Category and Subcategory which is 'dependent' on Category like on the incident form.

BradBowman_0-1726140991646.png

BradBowman_1-1726141020891.png

BradBowman_2-1726141064532.png

BradBowman_4-1726141311961.png