Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Sending email using event

Alon Grod
Tera Expert

Hi,

I have a schedule job that suppose to send an email notification using event registry when some condition is met, but I dont see any email getting send (I checked using logs and I can see that the condition is met). What am I doing wrong?

WhatsApp Image 2023-12-20 at 13.13.38.jpeg


WhatsApp Image 2023-12-20 at 13.27.03.jpeg

2 REPLIES 2

Sohail Khilji
Kilo Patron

@Alon Grod ,

 

fine that your triggering the notification from script but your not passing the necessary attributes for an event to fire notification. 

 

basic syntax : 

https://developer.servicenow.com/dev.do#!/learn/learning-plans/tokyo/new_to_servicenow/app_store_lea...

 

also make sure to specify in event what is triggering the event (name of schedule job).

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

@Sohail Khilji but if i dont have or dont need to pass any parameters? what should be the syntax then?