We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to trigger an email from we click on button( button is available in a widget)

SNCS
Giga Contributor

Dear Team,

 

How to send a report though email after we click the button on the portal widget,

Report has to trigger after we clicked on 'I am member of group' button(in a widget). We need a send a mail.

Any suggestions?

 

SNCS_1-1717757154864.png

 

Thank you.

 

1 REPLY 1

Tony Chatfield1
Kilo Patron

Hi, you can trigger a sysevent directly from a widget server script

/sp_widget_list.do?sysparm_query=scriptLIKEeventqueue&sysparm_view=

or you could call a script-include function from the server script and trigger the sysevent from the function.