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.

why showFieldMsg shows twice text below field in Service Operations Workspace

vijaya Adagane
Tera Contributor

In Service Operations Workspace, if I use showFieldMsg then it is showing message twice below the field.

In Native UI, it is working fine.

Not working on Service Operations Workspace, what is the reason, how to fix.

vijayaAdagane_0-1737561765124.png

I have wrote OnChange client script on this field

vijayaAdagane_1-1737561858329.png

Can anyone got this situation, what could be the solution?

1 REPLY 1

Brian Lancaster
Kilo Patron

You should put a hide field message right before the if statement. This way is someone goes right from selecting one option to another it will clear the field message and then add the appropriate one back.