Expiry KB articles list link not working while session is expired/logout

Not applicable

Hello Experts,
We are using OOB 30days kb article expiring notification.
Link for list of expiring articles showing correct while session is active/logged in, if we open same link in incognito mode or post logout if we click on link it asking user id and password post that its showing empty record.

not working link:https://xxx.service-now.com/nav_to.do?uri=%2Fkb_knowledge_list.do%3Fsysparm_query%3Dworkflow_stateIN...

working link: "https://xxx.service-now.com/kb_knowledge_list.do?sysparm_query=workflow_stateINpublished%5Evalid_toO...

we found "javascript colon" is not coming in the URL while session retired or if login while clicking on link.
we are using OOB script .

script

var url= '/kb_knowledge_list.do?sysparm_query=workflow_stateINpublished%5Evalid_toONNext%20month@javascript:gs.beginningOfNextMonth()@javascript:gs.endOfNextMonth()%5Eauthor=' + recepient + reviserQuery +'%5EORkb_knowledge_base.owner='+ recepient +'%5EORkb_knowledge_base.kb_managersLIKE'+ recepient + ownershipGroupQuery;


Please provide guidance here.

Thanks in advance,


3 REPLIES 3

richaaggarw
Tera Contributor

Did you find a solution to this?

I am not having an issue with this function. Unfortunately, I don't have access to the script so you can compare.

In our case, I am seeing reminders of expiring articles at 30 days, 15 days, 7 days, 3 days, the date of expiration and one reminder that an article has expired. After that, I see a list of expired articles in a dashboard.

If you'd like, I can create a list of widget filters that you can use. It's easy to do.

Thanks for responding so fast!

I just found the solution. We need to create a query_range ACL for snc_read as per the article.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2762025