- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2015 07:59 AM
I have a send button , by clicking the send button an email should be sent to some people. I've already set up an email notification , an event, and a business rule. But my question is that how do I trigger the event with my UI action button ( send)?
Solved! Go to Solution.
- 18,664 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2015 09:28 AM
Only if you are using the parameters as recipients should you choose to check these.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2015 09:28 AM
Only if you are using the parameters as recipients should you choose to check these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2016 05:13 AM
Thanks Chris. I found your article very helpful.
Thanks for your help.
Regards,
Shamma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2017 09:53 AM
HI Christopher,
I have a developer helping me on this but we're stuck. I've had him read this post but he's stuck and new to ServiceNow. I'm new to scripting and this concept all together so I'm not much help to him.
Below I have pasted the Script he has on the UI Action. It's not working. Could you possibly see where we went wrong?
Long story short, We need a button on our core_company form , that button is supposed to trigger a notification when we click it and we're looking for the easiest way to get it done.
Any tips?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2017 10:22 AM
Carl, that's way over-complicated.
You should be able to do this by just having the UI Action plainly call gs.eventQueue. Only thing I need to know is who you plan to email (besides test@test.com)
Got cycles this afternoon if you need to call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2017 10:31 AM
Thanks Robert.
We have a field on our Vendor (core_Company) form called "Vendor Emails" It's a string with comma separated email addresses.
the actual field name is "u_vndr_email"
Here's what it looks like in the scheduled job that emails the same notification
var _emailList = gr.vendor.u_vndr_email;
_email = _emailList.toString().split(';');