Make Assignment Group field read-only Before Creating Incident After created INC Not read-only

Suresh_32
Tera Expert

Before creating the incident, how to make the Assignment Group field read-only. After created an incident, the Assignment Group field should Not be read-only (editable)  for ITIL users.

How to achieve this requirement ?

9 REPLIES 9

@Suresh_32 

how are you testing this?

how are you creating new incident? it will work when you click on New button on incident list

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes, click on New button on incident list.

Hi Ankur,

Not working for me . PFA 

Suresh36_0-1681807519109.png

 

@Suresh36  @Suresh_32 

It seems question is asked by some other user and some other is responding.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Long Duong
Kilo Sage

Hi @Suresh36 

- About the Client Scipt:
Could you kindly double-checked the method name, it should be "g_form.setReadOnly()" instead of " g_form.setReadonly()"

 

- About the ACL,

answer = true;

if (current.isNewRecord()){
answer = false;
}


Please check each way, that is when checking ACL, deactivate client script and vice versa.

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!