Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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.