Link in email notification for list of retired articles not working if user's session time out

sayan3
Tera Contributor

Hello Experts,
We are using OOB 30days kb article expiring notification.

Link for list of expiring articles showing correct records while session is active/user logged in, if we open same link in incognito mode or post logout if we click on that link it asking user id and password post that its showing empty record.

we found "javascript colon" is not coming in the URL while session retired or if login while clicking on link.
Attached oob script and url

@jMarshal 

Please assist us on this.
Thanks 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@sayan3 

so are you saying the OOB email notification link has an issue? if yes then it's a platform bug

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

issue with valid to next month query as its in middle of the url for session time out its not working, showing empty records

jMarshal
Mega Sage
Mega Sage

Perhaps you are using an old version of the oob notification for expiring articles because I do not recognize that url and that is not how the oob feature which provides a notification for expiring knowledge articles currently works. The Xanadu (post-Madrid even?) oob notification is called "KM: Article Expiry Warning" and it contains a mailscript (km_article_expiry_warning), which generates the links to the KB articles for the body of the email (in table format) using the "KBKnowledgeSNC" script include.

Perhaps you have an override in the "KBKnowldge" script include, but oob it generates those links using this logic/method to build the url dynamically for each article and doesn't seem to be attempting to pass any variables through the url as you are doing (which is contributing to your issue, surely).

To me, it seems like the link you provide in your screenshot is a single link to a list that is built with an embedded query to determine which articles are expiring...whereas the oob method queries the kb article table directly and provides individual links to each KB that is in the table it builds, based on oob settings in the Knowledge properties & the article record itself.

 


I hope this helps, and sorry about calling you Shirley ðŸ˜‹ - iykyk