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.

Server-Side UI Action Confirmation Popup

rchadek
Kilo Contributor

I have a UI Action Form Button to "Copy" the current record. Everything is executed server-side and it works great.

However, when they click the button, I want to be able to open up a confirmation dialog box (i.e. "Are you sure? - OK / Cancel") but from what I'm reading, the "confirm" function only applies to client-side UI Actions.

What is the best way to go about this?

1 ACCEPTED SOLUTION

russell_miller
Kilo Guru

Hi Ryan,



The example here should point you in the right direction:



Client & Server Code in One UI Action - ServiceNow Guru



Hope that helps


View solution in original post

2 REPLIES 2

russell_miller
Kilo Guru

Hi Ryan,



The example here should point you in the right direction:



Client & Server Code in One UI Action - ServiceNow Guru



Hope that helps


Worked like a charm. Thanks!