Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

If the worknotes contains the word 'confidential' then only assigned to person should view comment

Nivetha23jay
Tera Contributor

Hi everyone,

I have one requirement where if the worknotes contains "confidential" then that assigned to person alone should able to see that comment not everyone, please help me to resolve it

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Nivetha23jay 

 

I am not sure what is business needs, I think in your previous post I said, that work notes are visible to all ITIL users.

*************************************************************************************************************
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]

****************************************************************************************************************

Okay sorry for that, since I'm working in a hrsd module were if a specific case's additional comments contains the word confidential then 'assigned to' person alone should able to see that record but no one else, I just wanted to check whether it is possible 

Jordan Vignoni
Tera Guru

While it is possible to create an access control based on a keyword in a string, it is not the best way.  You could add a new field to the table, and when that field is checked on the record, the access control only allows the "Assigned to" access to view the record.