How do we fixed multiple filter over the list view like All > Approver Id = javascript:gs.getUserID() > status=Pending for Approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2022 05:52 AM
Hi
How can we fixed multiple filter query over the list like (All > Approver Id = javascript:gs.getUserID() > status=Pending for Approval ), I tried
&sysparm_fixed_query=approver_id=javascript:gs.getUserID()&sysparm_fixed_query=status=Pending for Approval
but its not working for multiple condition.
actually we do not want to show all the record to Approver which are approved we only want to show pending for approval record.
I also tried before query Business Rule with check of this code, debugger not going inside if condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2022 05:57 AM
Hi,
like this
give correct choice value for Pending for Approval
&sysparm_fixed_query=approver_id=javascript:gs.getUserID()^status=Pending for Approval
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2022 01:34 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2022 11:26 PM
Hi Ankur,
Thank you very much, its working for me.
Thanks and Regard,
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 02:39 AM
@pradeep
not sure if you have another account from where you posted this question.
Please mark my response as correct and close the thread.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader