- 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 05:59 PM
Sorry for the confusing explanation.
>so were you saying earlier that event is getting triggered but email is not sent because that's >what your question said.
→Yes, it is.
>now that you are saying event is getting processed why email is not getting triggered?
→I just don't understand why.
>is that user having notification preference enabled?
→I have notifications enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 07:27 PM
Sorry, I will close this once I have resolved the main issue of the event not firing.
The cause of the event not firing was a typo on my part. Thank you very much for your help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 01:49 AM
Hi,
As per yoru client script, you arepassing the list ofuser sys_ids to SI. But in your SI, you are triggering the event, with the current object.
You might have to gliderecord the user table, and pass the user object in this line. Then the event will trigger.
Hi,
Since you are calling the SI from client script, i am not sure current object will be availble in server side. In SI, Here you need to get the user record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 02:08 AM
Nice to meet you and thank you for your support.
SI describes the following process.
Is there any flaw in this approach?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 02:23 AM
As i said earlier, you cannot pass current object. you need to pass user object there, which is gr.
Secondly, before firignt he event, add a log and check if you are gettign this log or not.
gs.info("Entered here "+gr.first_name);