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.

clearValue based on change of another field

DebR
Kilo Explorer

Need a script to clear a field based on a change to another field. If the Software Maintenence [u_sa] field is changed from true to false, I want the Software Expiration Date [u_sa_expiration] field to be cleared. I realize this is pretty basic; I'm new to JavaScript and what I've tried hasn't worked.

5 REPLIES 5

DebR
Kilo Explorer

Thanks, it worked! I was making it more complicated than it needed to be.