Automatically Set the Values of One Variable Based On the Values Of Another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2023 06:12 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2024 10:46 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2024 10:05 PM
Hi @MikeJ89
To set the values of one variable based on the value selected for another variable, you can follow these steps:
- Open the catalog item for which you want to set variable dependencies.
- In the Variables section, click on the variable for which you want to set a dependency.
- In the Variable Attributes section, scroll down to the Dependencies related list.
- Click on the New button to create a new dependency record.
- In the Triggering Variable field, select the variable that will trigger the dependency.
- In the Dependent Variable field, select the variable whose value will be updated based on the triggering variable.
- 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.
- Save the dependency record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2024 01:46 PM
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?