There is a xyz table where a field called 'attendee' having field type is 'List' so I want only thos

Abhishek Kathe
Mega Guru

There is a 'xyz' table where a field called 'attendee' has field type is 'List' so I want the list of only those 'xyz' table records which are created by current logged-in user or 'attendee' has a currently logged-in user 

5 REPLIES 5

Kalyani Jangam1
Mega Sage
Mega Sage

Hi @Abhishek Kathe 

Use reference qualifier in glide_list variable like below

Screenshot 2023-11-20 at 3.30.06 PM.png

javascript:'sys_created_by='+gs.getUser().getName()+'^ORu_assigned_to='+gs.getUserID()

"u_assigned_to+ - please use your attendee field backend name.

Please try and Mark Helpful and Correct if it really helps you.

Not working

 

Hi @Abhishek Kathe 

'sys_created_by='+gs.getUser().getName()

try to check this first condition work or not
Both condition working on my end

Hey Kalyani,
The table which i have created has the following fields :
1) Meeting Name
2) Number
3) Add Rocks
4) Attendees
5) Favorite
6) Type
7) Created by
The problem which I am facing is - If i create a new meeting and if i am attendee of that meeting then only i am able to see that meeting in the list of meetings.

But i want - If i create a new meeting and i am not the attendee of that meeting still the record should be visible in the list of meetings.

In short i want to display all the meetings (in list view) which are created by me as I am current logged-in user of the ServiceNow instance.