dynamically populate a field based on previous selected values

Ilamaaran
Kilo Contributor

Hi 

 

I am a newbie service-now developer here creating my first service catalog item form. My form contains 3 select boxes and each select box field has values like "Low" "Medium" "High". Depending on what the users select as response in each of these select boxes, I need to do a calculation and display what category the request needs to be raised or if the request is not required.

 

How can I achieve this? I have created the form but am yet to write the functionality to achieve the above request. What is the best approach? My plan was to create a table of matrix based on the different values selected in those three select boxes and another column in the table that defines the outcome. I can refer to the combination and outcome and display the result in my form. Will this be a better approach? Again, I am not sure how to implement this. Any advice is greatly appreciated.

 

find_real_file.png

7 REPLIES 7

Coleton
Kilo Guru

I would go to the filter navigator and type: Data Lookup Definitions and create a new record for Catalog Data Lookup Rule

find_real_file.png

Then fill out the required fields and choose the catalog item you've built. You can then define what the value will be for the 'Tier Classification' field based off the dropdowns selected.

Let me know if this answers your question by marking it correct, or feel free to reply if this does not help.

Hi Coleton,

 

I don't see a Data Lookup option in the navigator. Does this require any extra access apart from standard developer permissions?

Edit: Create UI policies to handle the values. The Data Lookup Definitions won't help in this scenario, I retract my initial suggestion.

Edit: Create UI policies to handle the value changes. The Data Lookup Definitions won't help in this scenario, I retract my initial suggestion. Sorry about that.