- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 09:14 AM - edited 05-17-2024 09:16 AM
Hi Team,
I want to send email notification to current logged in user from script action. If we achieve this using BR in this way it is easy. My scenario is to send from script action. Attached is the script action.
How this can be achieved? Any help will be much appreciated.
Thanks,
Tara Singh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 11:33 AM
Hi @Tarasingh26 ,
You can use gs.getUserID(); for String_Parm1.
and one more thing you have to pass object aswell, so you have to gliderecord to table on which you are creating notification and pass that object in the event queue,
syntax of calling an event,
gs.eventQueue('event_name', gliderecord_object, 'string_parm1', 'string_param2', 'string_queue')
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 11:33 AM
Hi @Tarasingh26 ,
You can use gs.getUserID(); for String_Parm1.
and one more thing you have to pass object aswell, so you have to gliderecord to table on which you are creating notification and pass that object in the event queue,
syntax of calling an event,
gs.eventQueue('event_name', gliderecord_object, 'string_parm1', 'string_param2', 'string_queue')
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang