Fire Event action in Flow Designer not working as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 02:55 PM
In my onboarding flow, I need to send an email to the new employee's manager. The manager is one of the variables that is on the catalog item form, it is not the person who submitted the request. It is a reference variable referencing the sys_user table.
I have an email notification that is set to fire on event and Event parm1 is used to send the email to the manager.
In the flow, I'm using the Fire Event action.
Parameter 1 has the Sys ID of the manager catalog variable, Parameter 2 is a JSON object that is used by the email body.
What I have found is, even though the event is triggered and I can find an entry in the event log, an email isn't generated and I don't know why.
As you can see from the email log, the email that should have been sent after 14:13:50 wasn't ever created and sent.
I tried changing Parameter 1 to 1-Get Catalog Variables > supervisor_manager, but I got an error message and the flow failed. I had to change it to 1-Get Catalog Variables > supervisor_manager > Sys ID.
The documentation isn't helpful and I haven't found any recent videos using the OOTB flow action, I don't understand why the action doesn't work.
This flow was converted from a workflow using the same event and email notification, it worked fine in a workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 08:15 PM
event is processed so everything is fine i.e. flow etc.
Are you sure that user is active, not locked out and has notification preference enabled?
Are you sure no error is there in email script since you are passing JSON object and probably parsing it in email script?
If email script is breaking then email won't be sent out.
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
03-04-2025 03:01 AM
Hello @gjz
Since you have that event in processed state take it head to notification and try to preview notification by selecting same incident and see if Notification is showing up as expected or not from here you will come to know is there something breaking in notification or not.
Next as already advised by Ankur see that email sent to user is active or not if its inactive its behavior of platform to avoid sending email.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.