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.

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
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.

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

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

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/