We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Invalid update error message

Joshua Chen MTL
Mega Sage

hello team, any one can dirict me toward the config :
- number field becomes red when invalid update?

i checked ui policy and client script, no luck

JoshuaChenFX_0-1750105258578.png

 

.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/
1 ACCEPTED SOLUTION

i can see the message on the screenshot my friend lol! 🙄

i am looking for the config. i just found the BR that does it, but couldn't figure out what makes it red.

EDIT: The color comes from the gs.addErrorMessage() method in the script. it is red by default and gs.addInfoMessage() is blue by default 

JoshuaChenFX_0-1750106421468.png

 

.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @Joshua Chen MTL 

The error is due to a conflict with agent availability, which is conflicting with this task, causing the numbers to turn red.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

i can see the message on the screenshot my friend lol! 🙄

i am looking for the config. i just found the BR that does it, but couldn't figure out what makes it red.

EDIT: The color comes from the gs.addErrorMessage() method in the script. it is red by default and gs.addInfoMessage() is blue by default 

JoshuaChenFX_0-1750106421468.png

 

.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/