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.

Email logs are not capturing in activity logs???????

Shantharao
Kilo Sage

Hi Everyone,

3 email logs are visible in the activity logs but one email is not capturing in email log even though the email log type is "Sent",

I am wondering about this weird issue, can anyone tell me the possibilities, why it is not visible in the activity log

 

When I compared 3 emails which are normal notifications with simple conditions, haven't used gs.eventQueue() 

The one email which is not capturing is used gs.eventQueue() method, does this cause the issue?

 

Thanks

 

2 REPLIES 2

asifnoor
Kilo Patron

Hi

Yes, that could be the issue. Because the email can be shown in activity logs if the notification is triggered from incident table as there is a mapping.

If the email is triggered from event, then the email activity will not know that notification is associated with incident. hence it cannot be shown.

Mark the comment as a correct answer and also helpful if this answers your question.

 

If this has answered your question, kindly accept my comment as a correct answer so that the question is moved to the solved list.