How to hide all worknotes added on Incident from users not member of fulfillment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 05:10 AM
I have to hide all the worknotes updated on Incident from the users not part of assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 05:27 AM - edited 01-17-2024 05:31 AM
Hello @IAmIshan ,
Open a incident -> Go to the Note Note tab -> Click on Filter Activity icon -> Uncheck the Checkbox which you want to hide the worknotes.
Your all worknotes will be hide.
If this will helps you to resolve your problem then mark as helpful as well as accept as solution.
Thanks and Regards,
Sayali Gurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 05:54 AM
Hi @Sayali Gurav - I want to do it for all users who are not part of assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 06:00 AM
Navigate to Access Control Rules:
- Go to the Application Navigator.
- Open "System Security" > "Access Control" > "Rules".
Create a New Access Control Rule:
- Click on "New" to create a new access control rule.
Define the Rule Conditions:
- Set the "Operation" to "Read".
- Specify the target table as "Incident" or the relevant table.
- Define a condition that checks if the user is not a member of the fulfillment group.
- Example: `FulfillmentGroup is not in [user().groups]`
Define the Script:
- In the "Script" field, enter the script to deny read access to the worknotes for users not in the fulfillment group.
- Example: `current.work_notes.canRead() && gs.hasRole('fulfillment_group')`
Save the Access Control Rule:
- Save the access control rule.
Impersonate any user who is not part of assignment group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 05:28 AM
Hi @IAmIshan
You mean, you dont want to show the already entered worknotes or you want to hide this field.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************