The CreatorCon Call for Content is officially open! Get started here.

Why is the event not firing?

honamiUeo
Tera Contributor

■assumption

・What we want to do is send an email to the users checked in the user table

・Email property settings.

honamiUeo_0-1694677348829.png

 

 

・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.)

gs.eventQueue('sendEmail', current, 'sample@aaa.co.jp', 'firstname lastname');
 
・event registration
 
honamiUeo_1-1694677566447.png

 

・notification

 honamiUeo_2-1694677610519.png

 

・Checked.

Event parm 1 contains recipient
 
 
Can someone please help me?
 
1 ACCEPTED SOLUTION

DYCM
Mega Sage

Hello @honamiUeo ,

I think the issue is from the parameter1.png2.png

sysparam_checked in UI Action

sysparm_checked in Script Include

View solution in original post

23 REPLIES 23

Okay no problem. If my comments has helped you to debug, kindly mark them as helpful. 

Along with the typo, the real issue is still you need to pass the user object and also correct the for loop that i have suggested. 

DYCM
Mega Sage

Hello @honamiUeo ,

I think the issue is from the parameter1.png2.png

sysparam_checked in UI Action

sysparm_checked in Script Include

honamiUeo
Tera Contributor

@DYCM 

Thank you for your attention to detail.