Hide a specific work notes if it contains a specific keyword fro non-admin users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 01:36 AM
I want to hide a particular worknote if it contains a specific keyword for non-admin users, I don't want to hide the whole worknotes section but a particular comment. I'm not sure whether this feature even exists or not.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 01:06 PM
@Mehant Kumar1 No such OOTB feature exist, however you can create a query business rule on Journal Entry (sys_journal_field) table and check user role in it, if the user is non admin user and if the name of the table matches with the name field and value field on the record contains your specific keyword than add a query condition to skip that record. Ideally this way the record should not appear for a non admin user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 04:59 AM
Thanks @Sandeep Rajput
I can't think of a query to skip that particular record. Could you tell what the code will look like for that?