assigned to field not becoming mandatory

suresh kaliappa
Tera Expert

Hi all,

I created 1 custom client script to make assigned to field mandatory in dev instance. In dev instance it is working fine but i migrated the same code to QA without any changes. But same code not working in QA instance. The assigned to field not becoming mandatory.   so can someone please suggest what might be the issue?

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@suresh kaliappa 

any other UI policy is making it non-mandatory in QA?

what debugging did you do?

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

yashkamde
Giga Sage

Hello @suresh kaliappa ,

 

were there any issue in Update set while Preview?

Also try manually recreate the same script directly in QA, if it works perfectly. Same code, same settings !

 

If my response helped mark as helpful and accept the solution.

Tanushree Maiti
Tera Patron

Hi @suresh kaliappa 

 

Check if  your QA instance has any existing Data Policy /UI Policy running on the assigned_to field.

If yes, it can override your Client Script as you know UI Policies usually run after Client Scripts.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti