The CreatorCon Call for Content is officially open! Get started here.

KB article expiry warning email

ND7
Kilo Sage

Dear Experts,

 

I am trying to set an email notification. 

Send an Email if the KB article is going to retire in the next 7 days. Even though I have three KB articles expiring in 7 days I email did not trigger.  

Please help! 

Thank you.. 

Is my condition correct? 

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

I just wanted to check-in on this and see if my reply above helped recap everything and guide you Correctly.

If so, please mark my above reply as Correct.

Thanks! 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

17 REPLIES 17

Prasad Pagar
Mega Sage

Hi,

Did you check if event (kb.article.expiry.warning) got triggered in event logs?

find_real_file.png

Thank you
Prasad

Allen Andreas
Administrator
Administrator

Hi,

That event 'kb.article.expiry.warning' that is in your notification screenshot is fired from the scheduled job: 'Notification for Article Expiry Warning', which is only set to run monthly.

find_real_file.png

So you'd want to consider creating a new event for that and use a separate scheduled job to check within 7 days.

Create event: https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/platform-events/tas...

Scheduled job script: https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/new_to_servicenow/app_store_l...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thank you So much!  Very helpful, I am learning a lot from this community. Always so helpful.

I will create an event and schedule a job and see how that will go and let you know. 

Thank you Again. 

Hi,

Sounds good. The goal here...is for you to learn it, right?

We could always just give you the code and call it a day.

My method above is to help you understand what is going on now, why it's not working, and what to do to fix it...so that you fully understand 🙂

Please mark reply above as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!