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.

How to make author field editable for current Knowledge Base Members?

alok_071
Tera Contributor
 
6 REPLIES 6

I have created the write ACl for author field with following advanced script but it's not working.

answer = false;
if (gs.getUser().isMemberof(current.kb_knowledge_base)){

answer = true;

}

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @alok_071 

 

Write script like

 

gs.getUser().isMemberOf(current.assignment_group.toString()))

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

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