We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Outbout email

ramkumara
Giga Contributor

Hi,
How can I write an ATF script to validate outbound email and determine whether a specific record was triggered? I tried all the options, but no luck.

I entered

ramkumara_0-1779117279852.png

An error message is : Could not find email matching conditions:

 

could anyone help me? where am i doing mistake?

4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @ramkumara 

 

refer KB: KB0863789 ATF "Validate Outbound Email Generated by Notification" step failing randomly 

Validate Outbound Email 

https://www.servicenow.com/community/itsm-forum/email-body-validation-in-atf/td-p/565928/page/2

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Shaqeel
Mega Sage

Hi @ramkumara 

 

You are using correct logic condition.

 

I think you need to add a Script for wait like Wait: 10000 ms (10 seconds).

or you can remove some condition like body.

 

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

thank you 

Did it worked?


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel