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.

Issue with code editor

Imran2822
Tera Contributor

Imran2822_0-1764475486078.png

Why am I not able to edit my script section? In Business rule and other places also. what are the reason? anyone can please help me

2 REPLIES 2

GlideFather
Tera Patron

Hi @Imran2822,

 

is your instance in Zurich version?

 

If so, then check this following role contained under the group.

 

Role "snc_required_script_writer_permission":

https://yourinstance.service-now.com/nav_to.do?uri=sys_user_role.do?sys_id=af99d5310be312105bf96e1ef777b2b4

GlideFather_1-1764544640503.png

 

Group "Conditional Script Writer":

https://yourinstance.service-now.com/nav_to.do?uri=sys_user_group.do?sys_id=5ee74940b70022108d4406dd1e11a918

GlideFather_0-1764544616748.png

 

It's recommended to assign roles to groups and then add people to that groups, but I shared the role as well for better understanding.

 

To validate this, please first impersonate any of the group (if applicable) to see any difference. Eventually assign to desired audience.

 

More details: Scripting Governance Tool 

 

Let me know if that helped

_____
This reply is 100 % GlideFather and 0 % AI

Brad Bowman
Kilo Patron
Kilo Patron

If this is a Zurich instance, make sure the user is a member of the "Conditional Script Writer" group, which explicitly grants the "snc_required_script_writer_permission" role.  I experienced this issue when I upgraded my PDI to Zurich, then it had resolved itself the next day when I logged in again.