Make Assignment Group field read-only Before Creating Incident After created INC Not read-only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2023 11:29 PM - edited 04-16-2023 01:19 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 01:42 AM
how are you testing this?
how are you creating new incident? it will work when you click on New button on incident list
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 02:55 AM
Yes, click on New button on incident list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 01:46 AM
Hi Ankur,
Not working for me . PFA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 02:00 AM
It seems question is asked by some other user and some other is responding.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 02:58 AM
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 !!