Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Logged in User is same as Created for Write ACL

Shankar Manohar
Mega Guru

I am writing the write ACL.

1) user with a specific role - Completed

2) Check if the logged in User is same as created by - Need the condition.

  Please assist.

Thanks

Shan

1 ACCEPTED SOLUTION

SanjivMeher
Mega Patron
Mega Patron

current.opened_by == gs.getUser.getID();



Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

4 REPLIES 4

SanjivMeher
Mega Patron
Mega Patron

current.opened_by == gs.getUser.getID();



Please mark this response as correct or helpful if it assisted you with your question.

Harsh Vardhan
Giga Patron

Hi Shanka,



select the field in condtion and use javascript:gs.getUserName()



created by is javascript:gs.getUserName()


bernyalvarado
Mega Sage

Depending on the table, it could also be used the column sys_created_by to do the comparison.



Thanks,


Berny


Thanks Sanjev, Harsha and Berny. Each of your solution worked.



In my case, its sys_created_by as Berny suggested.



Thanks for quick response