Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Where is it set that Resolution fields flash when ommitted.

Jan Post2
Tera Contributor

Hi,

 

OOTB, the fields resolution code (close_code) and resolution notes (close_notes) flash on the incident form when they have no content and you try to do a resolve action. Also the resolution notes field gets the focus.

 

From where is this happening? I would suspect a client script, but can't find it.

 

Regards

Jan

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Jan Post2 

 

LearnNGrowAtul_0-1706718586047.png

 

UI policy

 

LearnNGrowAtul_1-1706718673553.png

 

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

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

Hi Atul,

 

OOTB my dev instance has the following UI policies

JanPost2_0-1706864950497.png

And I set the client script you mentioned to inactive. Still the flash is there.

 

Regards

Jan

 

Hi @Jan Post2 

 

Out of the box, there are two places where the system makes the "Resolution code" and "Resolution notes" mandatory on incident resolution/closure:

  1. A Data Policy "Make close info mandatory when resolved or closed".
  2. A Client Script "(BP) Close Mandatory on Close or Resolve" that ensures that resolution code and resolution notes are mandatory onSubmit.
*************************************************************************************************************
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]

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