Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

KM Article Expiry Warning - Email

Gokul Nath
Kilo Sage

Hi all,

The notification for KM Article Expiry Warning is not taking dollar values and it gives only the text includes

For example if I give ${number} this element is not showing up in the received notifications.

Any suggestions on this would be most helpful!

 

find_real_file.png

 

The below is the preview of the EMAIL

find_real_file.png

 

But the received email is not holding any field values as seen below

find_real_file.png

1 ACCEPTED SOLUTION
7 REPLIES 7

Maik Skoddow
Tera Patron
Tera Patron

Hi

could you please try the same with a plain text only format? My assumption is that any invisible formattings are interfering with $-names.

Kind regards
Maik

Hello @Maik Skoddow ,

Thanks for you response.

I tried out your suggestion , but still seems to not display the field values properly.

find_real_file.png

Also , I have some images to be embedded in the body of the email, so i would need HTML interface to achieve it.

Hi

I checked again your question, and you forgot to mention that this notification is triggered by an event. That's the reason why the preview is working, as the preview is record-based. For event-based triggered notifications, you have to use what the eventParm1 and eventParm2 parameters are providing.

I checked the platform codes and found in the script include "KBKnowledgeSNC" at line 421 the code for triggering the event:

gs.eventQueue("kb.article.expiry.warning", null, user, JSON.stringify(inputParam));

Unfortunately, the information you want to use are not passed to the event. 

Therefore I only can point you to an article with a different approach: https://community.servicenow.com/community?id=community_question&sys_id=fc8cdf191bf89510c552c8031d4b...

Kind regards
Maik

Thanks for that @Maik Skoddow , but guess you have pasted the link for this same thread.

Please provide me the link which I could look into.