- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 06:35 AM
Hi,
I've implemented a Before Query business rule to govern access to feedback records. The objective is to allow users to view only the feedback records they've created, except for those with the 'mac_departmentTL' role who should view all records.
This is what I have tried:
However, I've encountered an issue where users without the 'mac_departmentTL' role cannot see any records created by them.
Thank you for your help!
Sahar.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 06:46 AM
Hi @Sahar_Kaizer
In line number 6, can you please replace gs.getUserID() with gs.getUserName().
C |
If the provided solution meets your needs, kindly consider marking it as helpful and accepting it as the solution . This helps others who may have similar questions. |
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 06:46 AM
Hi @Sahar_Kaizer
In line number 6, can you please replace gs.getUserID() with gs.getUserName().
C |
If the provided solution meets your needs, kindly consider marking it as helpful and accepting it as the solution . This helps others who may have similar questions. |
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 06:50 AM
Thank you it worked!