Fire Event action in Flow Designer not working as expected

gjz
Mega Sage

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.

gjz_2-1741041884138.png

 

I have an email notification that is set to fire on event and Event parm1 is used to send the email to the manager.

gjz_0-1741041516841.png

 

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.

gjz_1-1741041704439.png

 

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.  

 

gjz_3-1741042003453.png

 

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.

gjz_4-1741042176777.png

 

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.

 

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@gjz 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Viraj Hudlikar
Giga Sage

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.