We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Filtering the Request (My Tickets) to only the caller and any open work orders in their location

Rhonda9
Tera Expert

Hello,

I am trying to modify the MY Tickets Widget filter to only show open work orders that belong to the opened_by  and the opened_by location.    So if a user creates a work order , I want them to see their own work orders including any open work order in there specific location.     I have not been able to accomplish this. I need assistance please . 

 

 I have attached a screenshot.

This is what I have and its showing me all open work orders from the user in the caller field of the work order. I need to see all work orders from the user's location too.

active=true^caller= javascript:gs.getUser()

 

Thanking you in advance

8 REPLIES 8

@Rhonda9 

 

add this filter, i am adding image because it gets formatted to a wrong version on the site

 

ManmohanK_0-1687289141793.png

 

 

This is what I have now and I am seeing work orders that belong to user and work orders where the location is blank. 

Rhonda9_0-1687289843274.png

 

@Rhonda9 

 

That's because logged in user's location is blank. Update the logged in user's location

Or login with a user who has location value present on its profile

I impersonated Walter Martin who is at Kleberg ES.   The first 3 or his work orders but these are also showing up.  The users does have a location on their profile but it's not Kleberg.