- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 11:30 PM
I have one advanced reference qualifier condition for a field now I want to add active users to that existing condition. how can I add?
Thanks!
existing condition : javascript:new global.ReferenceQualifierService().getCaseRequestedByRefQual()
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 03:23 AM
HI @Gaurav_S0107
Option 1 :
You can do like this
Option 2 :
In script include u can return query like this also,
For better understanding, I'm attaching a demo screenshot. You can review it for further clarification. However u can add other conditions like this way
If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.
Thanks,
Subhashis Ratna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 11:38 PM
Hi @Gaurav_S0107 ,
Try with below condition :
javascript:new global.ReferenceQualifierService().getCaseRequestedByRefQual()+"^active=true";
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 11:43 PM
javascript: new global.ReferenceQualifierService().getCaseRequestedByRefQual() + '^active=true'
Please Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 11:48 PM
Hello @Gaurav_S0107
Can you try like below if solution provided by other's does not work :
Add below line of code in reference qualifier :
javascript :
var query = new global.ReferenceQualifierService().getCaseRequestedByRefQual();
query = query + '^active=true';
query;
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 03:23 AM
HI @Gaurav_S0107
Option 1 :
You can do like this
Option 2 :
In script include u can return query like this also,
For better understanding, I'm attaching a demo screenshot. You can review it for further clarification. However u can add other conditions like this way
If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.
Thanks,
Subhashis Ratna