The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Notification not working (event got stuck in ready state)

sunil maddheshi
Tera Guru

Hey Everyone,

 

I am trying to trigger a notification through background script using event, but email is not triggering, when i checked the event log i can see event has triggered but not sure why it is in ready state every time when i try to trigger. Please see the screenshot. ThankseventStuckinReadyState.png 

3 REPLIES 3

Runjay Patel
Giga Sage

Hi @sunil maddheshi ,

 

Seems duplicate one, i have answered it here: https://www.servicenow.com/community/developer-forum/notification-not-working/td-p/3135855

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Vinod21
Tera Contributor

Hi Sunil,

If you are performing this in PDI then its expected.
Read this https://developer.servicenow.com/blog.do?p=/post/sending-emails-from-pdis/
Please mark my answer if it answers your query.

Thanks,

Vinod

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @sunil maddheshi 

 

If you are trying on PDI, then it will work. The reason is that Email has been restricted in PDI due to some security issues by SN. If you still want to do it, you can configure email servers in PDI via Gmail, and then it will work for you.

*************************************************************************************************************
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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