- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2022 09:39 AM
We have two reference variables and two variables are referring to different tables which has relation between those tables. for the second variable defined condition in advance reference qualifier to depend on first variable. And now our requirement is to add some more filters to this existing condition in reference qualifier to avoid showing retired records from the second variable.
this is the existing Advance reference qualifier which makes based one selecting first variable- javascript:'variable1='+current.variables.variable1;
have to merge this state!=retired^statusNOT INobsolete,retired
This is the query copied from list view for reference:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 03:03 AM
Hi
Try this in advanced reference qualifier.
javascript:"variable1="+current.variables.variable1+"^state!=retired^statusNOT INobsolete,retired";
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 03:03 AM
Hi
Try this in advanced reference qualifier.
javascript:"variable1="+current.variables.variable1+"^state!=retired^statusNOT INobsolete,retired";
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 04:03 AM
Hi,
this should work fine
javascript:'variable1='+current.variables.variable1 + '^state!=retired^statusNOT INobsolete,retired';
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader