- 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 02:25 AM
Also check if you are getting the user records passed to the SI or not. May be check the output of this variable
gs.info("Entered here "+record_list.length);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 02:27 AM
If you did not get the records in SI, then in your UI action, convert to string and try again.
g_list.getChecked().toString()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 04:17 AM
Thank you for teaching me so much.
I inserted the gs.info where you instructed, but it does not show up in the App log.
However, the event log shows that the event itself was executed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 04:47 AM
Hi,
As you can see one event got processe and other did not. And that could be because, you are
using <= in the for loop.
Change the for loop like this
for(i=0;i<record_list.length;i++) {
Mark the comment as a correct answer and other comments as helpful if it has solved the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 07:59 PM
Thank you.
The error in the event log has been resolved.
The main issue, the cause of the event not firing, was my own typo.
Thank you very much for your help.
I look forward to working with you again when the opportunity arises.