- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 06:00 AM - edited 11-16-2023 06:03 AM
Hi All,
Currently i'm building custom app. I have created custom Action in flow designer to trigger event that will eventually expected to trigger notification.
Event created and Processed:
Followed this post to create custom action.
I am using the following API gs.eventQueue() to create event and passing below details:
Current Record,
Param 1- requested for email(tried sending sysid, email, name, userid)
Param2 -empty.
Flow is getting executed and event is also getting created. Event status gets changed to processed but mail is not triggered.
I have verified on the notification template where who will receive Param1 is also checked.
Any suggestion/help on this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2023 12:59 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 07:06 AM
things to check
1) the user to whom email is being sent is active and not locked out
2) that user has notification preference enabled on user profile
check these links for troubleshooting
Email Notification was not triggered to users even after the event got processed
Troubleshooting email notification failures in ServiceNow
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:12 AM - edited 11-17-2023 09:13 AM
Hi @Ankur Bawiskar ,
Appreciate your swift response and suggestion. It helped me to debug.
Also I found the issue and got it fixed. I had not enabled the send to creator check box and hence was not sending email to me. Otherwise I found that same code was working for other users.
Now I checked that box and it is working fine for everyone now.
Once again thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2023 12:59 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader