- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 12:52 AM
■assumption
・What we want to do is send an email to the users checked in the user table
・Email property settings.
・I wrote this code in the script include
(In fact, we will store the address obtained from the ui action)
(I put sys_id Third argument and it didn't work.)
・notification
・Checked.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 05:35 AM
Hello @honamiUeo ,
I think the issue is from the parameter
sysparam_checked in UI Action
sysparm_checked in Script Include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:00 AM
so you are triggering event from UI action?
Did you see event logs?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:19 AM
Thank you for thinking with me.
This event is triggered by a UI action.
There is no log of this event firing in the event log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:36 AM - edited 09-14-2023 01:37 AM
so from UI action you are doing GlideAjax
within the script include function you are using gs.eventQueue()
please share that script include function script
Is that script include client callable and getting called or not?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 02:04 AM