- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2025 04:58 AM
My requirement is that for a list collector field which is referring to task_sla table, depending on the task number(INC, PRB etc.) I select in another reference field I want only those SLA's to appear in the list collector field for the user to select that are are associated to that task number and whose 'has_breached = true and stage = breached'.
So for the list collector I am using the following reference qualifier which works in portal :
javascript: 'task=' +current.variables.u_sla_exp + '^has_breached=true^stage=breached'
But in UI view of the catalog, list collector doesn't show any value automatically unless I click on 'run filter' then the values displays.
I want that depending on the task number selected I should see the list collector values.
I tried creating the script include and then calling it from the reference qualifier but it didn't work.
Any help is appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2025 05:36 AM
did you add the variable attributes in the list collector
ref_qual_elements=u_sla_exp
share your variable configuration, ideally no extra config is required and it should work in both native + portal
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
‎02-04-2025 05:36 AM
did you add the variable attributes in the list collector
ref_qual_elements=u_sla_exp
share your variable configuration, ideally no extra config is required and it should work in both native + portal
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