
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:09 PM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:14 PM
current.opened_by == gs.getUser.getID();
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:14 PM
current.opened_by == gs.getUser.getID();
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:19 PM
Hi Shanka,
select the field in condtion and use javascript:gs.getUserName()
created by is javascript:gs.getUserName()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 12:21 PM
Depending on the table, it could also be used the column sys_created_by to do the comparison.
Thanks,
Berny

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 01:55 PM
Thanks Sanjev, Harsha and Berny. Each of your solution worked.
In my case, its sys_created_by as Berny suggested.
Thanks for quick response