- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 04:57 AM
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!
The below is the preview of the EMAIL
But the received email is not holding any field values as seen below
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 07:21 AM
Hi
sorry, my bad. Now the correct link: https://community.servicenow.com/community?id=community_article&sys_id=7116dc471b9f4d10cd3b33bc1d4bc...
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 05:30 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 06:29 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 06:56 AM
Thanks for that
Please provide me the link which I could look into.