Disabling certain fields on "Emergency change request"

sifynm
Tera Expert

                Please check my previous post which is mentioned at https://community.servicenow.com/thread/251626?q=Emergency%20change%20request and request your help in completing my task.

                  As mentioned by Mr. Sudharsan Vignesh, I was able to edit the "Interceptor:Change Request" - "Direct to Emergency Change" - update the "Target URL" from "change_request.do?sys_id=-1&sysparm_query=type=emergency" to "change_request.do?sys_id=-1&sysparm_query=type=emergency^priority=1" which serves the purpose and solves the problem, but my requirement is to set the "Priority" field value as "1-Critical", "Risk" value as "Very High" and Impact field value as "1-High" along with which no user should be able to change it and it should appear as "Type" field value "Emergency" which as checked in the "Form Design" is of Label Type "Choice type" > "Dropdown with none" but displays a value as "Emergency" when clicked on URL: Emergency: Unplanned changes necessary to restore service. These changes require CAB authorization o...

                Please find the related screenshots or images.

find_real_file.png

For now I am getting this exception on one of our dev instance.

find_real_file.png

                  Kindly help me completing my task.

Harish KM
Kilo Patron

Hi Nandan. You can make the fields read only with the help of ACL.


Regards
Harish

Dear Mr.Harishkumar,



                Is there any specific access control list that I need to edit?


Tell me when you need the fields to be read only?



You have to create a new ACL . For example. I am making priority field read only.


find_real_file.png


find_real_file.png


Another way would be to use UI policy or Client script. But this will make readonly only on form. But ACL will make readonly both on list and form as well.


Regards
Harish

Dear Mr. Harishkumar,



                I am just repeating what I said, set the "Priority" field value as "1-Critical", "Risk" value as "Very High" and Impact field value as "1-High" along with which no user should be able to change it when clicked on URL: Emergency: Unplanned changes necessary to restore service. These changes require CAB authorization only. This is my requirement.