Dynamic Filter on Custom field called in Service Portal Widget
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 02:18 AM
Hello guys, here is the context of my work:
IMPORTANT: my solution WORK for ITILs user in simple list widgets but not for non-ITILs (the users who needs it)
I need to make a portal where "snc_internal" users can VIEW/READ cases and incidents but Only the ones that are affiliate to his agency;
Constraint:note that agency (u_agency) is a custom field and i have to use it to filter
Every ticket have an account, and every of those company is affiliate to an agency (agency= us; account = client)
so the query on those ticket is this:
Account.agency is(dynamic) My agency:
this is my dynamic filter:
and this is the script include called in the filter:
IMPORTANT: this solution WORK for ITILs user in both back office and simple widgets but not for non-ITILs (the users who needs it) the query doesnt work.
I guess its because my dynamix filter call a glide record
Do you guys have any idea on how i can make it work for non ITIL? or maybe how i can filter on building/cost center/Department.
Thanks for your time I will really appreciate any kind of help
0 REPLIES 0