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.

How to autoclick the button after GlideModel popups

mrunalnikhi
Tera Contributor

I am trying to build a client script in which Glide Modal is populating with two buttons, 'yes' or 'no'. I want to set bydefault 'yes' and autoclick that button through client script. how to do that?

1 REPLY 1

Slava Savitsky
Giga Sage

What are you trying to achieve? Not on the technical level, but on the business level. What business problem are you trying to solve by "autoclicking" a button in a GlideModal window? What is the point in displaying a button to the user if you are going to "autoclick" it?