- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 05:55 PM
Hi All,
This seems to be simple but for some reason the condition that I am setting up is not accepting the javascript:gs.getUserID(). I am trying to provide a report to the current logged on user that is assigned to him with the following conditions:
- Type is Deployment Set
- Phase is Promoted
- Assigned to is javascript:gs.getUserID()
When I put the javascript, it does not stick and it is saying no matches found. There is no save button. Below is a screenshot. Help!
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 07:27 PM
Hi @dona2 ,
You need to use is dynamic me filter to achieve this.
this filter will get the records for the logged in user irrespective of whoever has logged in.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 10:40 PM
I don't have a field of that name in my instance, however if the field is a referenced from the sys_user table then yes you should be able to use the is dynamic "me" option.
So in the first column choose the field "Business authoriser", then second column should be "is (dynamic)" and the final column is "me"
If that doesn't work I'd need to know more about the Business authorisor field and how it gets it values

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 07:27 PM
Hi @dona2 ,
You need to use is dynamic me filter to achieve this.
this filter will get the records for the logged in user irrespective of whoever has logged in.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 10:40 PM
try to dot walk to sysId and then use it
Business authorizer.SysId [IS] javascript: gs.getUserID()
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 11:24 PM
Thank you. The dot walk also worked. I tried something similar
Business authorizer.UserId [IS] javascript: gs.getUserID() and got same result as
Business authorizer [IS] dynamic Me. I ended up using the second solution because it is easier to understand configuration and the breadcrumbs of the filter spells out the name of the user. Using the javascript will not show the name but the sys id of the user, which i still need to verify the user table to know who that person is.
Noth solutions work. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 10:50 PM
Hi @dona2 ,
Did you got the solution for this if not please let me know.
Regards,
Kalyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 11:25 PM
Yes I did Kalyan. Thank you