List collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I have a query in catalog item which is having 2 list collector variable type, and it is referencing to question_choice where it is having same set of choices for the 2 variables.
As per my requirement whenever i choose the choices from variable 1 like Paste and Copy as choices listed in it , the same choices should be excluded from the variable 2 and same goes vice-versa.
Please help me how i can achieve it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
share the variable config screenshots for both
in 2nd variable you can add this in advanced ref qualifier
javascript: 'sys_idNOT IN' + current.variables.variable1Name;
Also in variable attributes add this
ref_qual_elements=variable1Name
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Ankur Bawiskar ,
I don't have the option for advanced reference qualifier only it is showing reference qualifier in the variable configuration .
Sharing the screen shot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
32m ago
add this in reference qualifier field
javascript: 'sys_idNOT IN' + current.variables.variable1Name + '^question=efc29fa93bbe4f5001afae8a04e45ae6';
Ensure you add this in variable attributes of 2nd variable
ref_qual_elements=variable1Name
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9m ago
@Ankur Bawiskar should i add the reference qualifier in both the variables reference qualifier and attributes also as mentioned by you ?