Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Script to execute when Saving a modal form UI Builder

Meet Mewada
Tera Expert

Hi,

 

I have a case where i show a modal window which takes user inputs. When i click save, i want to perform execute a server side script. This has to be done in UI Builder as my modal form was build using the same.

 

Any tips on how to perform this?

 

Thanks in advance!

 

Best Regards,

Meet M

1 REPLY 1

Pranesh072
Mega Sage

You have to trigger a event and use that to trigger a data resource. 

  • Select Events > Add event mapping to add an event handler to the modal.

https://www.servicenow.com/docs/bundle/yokohama-application-development/page/administer/ui-builder/t...