The CreatorCon Call for Content is officially open! Get started here.

Dynamic Filter on Custom field called in Service Portal Widget

SnowSnew
Tera Contributor

 

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: 

query.png

this is my dynamic filter:

dynamix.png

and this is the script include called in the filter:

 
 
Scriptinclude.png
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