email delivery is not working in test Insance

Srinivas77
Tera Contributor

Created "send email" action in the flow for the Request . The email is triggered and can see in email log in Dev instance. I moved the update set to Test and the email is not seen in email log for the request submitted. Checked the flow execution the email is sent successfully and there is no issue found in the flow. But i do not see the email in the email log. Checked the requested for user profile and compared to dev and test everything is fine. Please let me know why the Test instance behaving differently and what is the solution to fix the issue.

2 REPLIES 2

glideFather
Tera Patron

ahoy @Srinivas77,

 

email logs are considered data that are not moving with update sets, the same way as incidents, users, etc. 

 

It is desired behaviour, imagine that in test environment your are testing and with that you create data that you don't want to have later in the prod env... 

 

If you want to move these data you need ti export them (via XML), but why do you need to move an email log? wouldn't it be easier to trigger the flow directly in test and it will create you a new email log....


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---

CheduluriMahesh
Kilo Expert
If the Flow Execution shows the Send Email action as successful, open that particular action result in the flow context. ServiceNow usually creates an email record for the generated email, and you can view the related email record directly from the Send Email action output.

Check the Send Email action details in the flow execution and look for the generated email/sys_id reference. If the email record exists there, it may help determine whether the email was created but not visible in the email log due to instance-specific configurations, email filters, or outbound email settings in the Test instance.

Comparing the email record generated from the action in Dev and Test should help identify where the behavior differs.