Reference qualifier in Variable Set, based on variable on the order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 06:56 AM
Good morning, how are you? I have a variable in my order guide called 'variable,' and there is a variable set with a variable called 'variable_two,' which is of type reference. In an advanced reference qualifier for 'variable_two,' I need to pass the value of the 'variable.' I know that if both variables were outside the variable set, I could pass it in the reference qualifier of 'variable_two' by using javascript: new scriptInclude().function(current.variables.variable), but this doesn't seem to work when 'variable' is outside the variable set and 'variable_two' is inside the variable set. Could you please help me pass the value of 'variable' to the advanced reference qualifier of 'variable_two'? Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 07:08 AM
you will have to cascade that variable to your catalog item, value entered in order guide variable will be copied to variable in each catalog item
Then you can do this easily
check this link
Order guide variable value in reference qualifier item under it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 09:48 AM
Thank you very much for your response, and thank you for your time. I may have forgotten some detail. My variable called 'variable' is in my order guide, and my variable called 'variable_two' is in a multi-row variable set. Based on your response and the link, I understood that I should place the variable 'variable' in both my order guide and my variable set. However, when I try to add a variable with the same name in my variable set, a duplication error occurs. Could you provide more details on this? I don’t have much knowledge, especially not much knowledge about Multi-row Variable Sets.