Knowledge - calculating 'valid to' date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2014 08:00 AM
Hello,
I am beginning to look at business requirements for Knowledge, and one of the requirements is that the "valid to" date be calculated to 1 year (365 days), based on the "published date".
Is anyone doing something like this?
Are there reasons you wouldn't want to do this?
Does anyone have a java script that is doing this now, and would be willing to share with me?
Thank you!
Julie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2014 08:13 AM
Hi Julie,
At the University of Minnesota we created a new field called "Expiration". (u_expiration) It has time values such as 1 year, 3 months, 1 month, 10 days. When our articles are published, a business rule add's this period of time onto the published date and sets that as the 'Valid To' date. When we reach the valid to date, we put the article's workflow state back into "Review" for the creator of that article to decide whether to re-publish or retire the article.
If you need the code I can talk to our developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2014 10:49 AM
Thank you for your response! I've gotten a few responses that have given me different directions to go in! I appreciate your help!
Julie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2014 06:11 AM
Hello,
A month ago you sent me information on calculating an expiration date in knowledge articles.
I'm down to this being one of my few outstanding issues. I've stared at it for quite a while.
You mentioned that if I'd like the code, you could ask your developers for it.
I like the way you managed this, with multiple expirations.
Do you think you could ask for this for me?
Appreciate your help!
Julie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2014 06:15 AM
Hello Julie,
My associate Kari Sweeney provided a ZIP file in an above post with our code.
If you need assistance with that, Kari would be your go to person.
Hope that helps,
Good Luck.