Automatically Set the Values of One Variable Based On the Values Of Another

MikeJ89
Tera Contributor

Hello all. I'm looking to see if there's a way to automatically set the values of one variable based on the value selected for another variable within a catalog item request. For example, if a user starts filling out a catalog item request and chooses Option A for one of the questions asked, the next question will auto-populate with certain values so that the user doesn't have to pick them out from a list. Is this possible to do, and if so, what would I have to do to set it up?

7 REPLIES 7

Hi @MikeJ89 

 

For reference, the variable I need this for is a List Collector that is depending on a question that uses the Reference variable. Is that possible?

 

Atul: No this is not possible as of now in Auto Populate. You can populate max 1 value from this. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Deepak Shaerma
Kilo Sage

Hi @MikeJ89 

To set the values of one variable based on the value selected for another variable, you can follow these steps:

  1. Open the catalog item for which you want to set variable dependencies.
  2. In the Variables section, click on the variable for which you want to set a dependency.
  3. In the Variable Attributes section, scroll down to the Dependencies related list.
  4. Click on the New button to create a new dependency record.
  5. In the Triggering Variable field, select the variable that will trigger the dependency.
  6. In the Dependent Variable field, select the variable whose value will be updated based on the triggering variable.
  7. Configure the conditions for the dependency. For example, you can specify that the dependent variable should be updated when a specific value is selected for the triggering variable.
  8. Save the dependency record.

Thanks @Deepak Shaerma. Unfortunately, when I get to the Variable Attributes section, it doesn't give me an option for the Dependencies related list. Just a single line to enter text in. Am I in the right spot?