Change Management

shatakshi10
Tera Contributor

After the change has left the 'New' state make the following fields read-only on the change task if the user does not have the 'change_manager' or 'admin' roles
- Affected CI
- Priority
- Due Date
- Change Request
- Assignment Group
- Assigned To

12 REPLIES 12

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @shatakshi10 

 

You can do via 

BR or ACL

 

https://www.servicenow.com/community/developer-forum/make-field-read-only-to-everyone-and-editable-f...

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

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

Ramesh Poola
Tera Guru

Hi Shatakshi,

You can use Onload client script or UI polices to make these fields mandatory. To check the role you can create client a callable script include and you can check or you can use the display business rule.

 

Please refer this article for how to check role : https://www.servicenow.com/community/developer-forum/best-way-to-check-if-specific-user-has-a-role-i...


Best Regards,
Ramesh

I am also checking for the state condition, If state is new then it need to restrict.

You can try like this 

RameshPoola_0-1729594270221.png