Article validity not working for new Knowledge Articles

Evan Duran
Kilo Guru

When I create a new article in Knowledge the 'valid to' date autopopulates exactly 1 year from day of creation. This does not correlate with my article validity or any article validity in my Knowledge Base. What can I do so the article validity day I enter matches the 'valid to' date when I create new articles?

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

valid to is a field in kb_knowledge table whereas, article validity is a field in kb_knowledge_base table.

To check default value for any column, just open any existing record and right click on the field label for which you want to check the default value, and select Configure Dictionary.

See the below images for reference.

Valid to Dictionary

find_real_file.png

Valid to Default Value

find_real_file.png

View solution in original post

12 REPLIES 12

Community Alums
Not applicable

Hi @Evan Duran ,

You must check the articles in the asked Knowledge Base and check the field properly!!

Default article validity when creating a knowledge article

The default value of the Valid to field is derived from the Article Validity field configured for the knowledge base (see Create a knowledge base). The Valid to date starts from the date the article was created until the number of days specified in the Article Validity field. If the Article Validity field is blank, the default date in the Valid to field for the knowledge article is set to January 1, 2100.

Default article validity when editing a knowledge article

If the article versioning feature is enabled, the default value of the Valid to date in the updated article version is automatically set as described in the following table.

Valid to date in the updated article version
Article Validity value in the associated knowledge base Valid to default value Notes
Blank Earlier version Valid to date value If the Article Validity field in the knowledge base associated with the article is blank, the Valid to date value from the earlier version of the article is retained.
Is not blank Article updated date + article validity If the Article Validity field in the knowledge base associated with the article is not blank, the Valid to date is automatically updated to start from the date the article was updated until the number of days specified in the Article Validity field.

If you move a knowledge article to another knowledge base, the default value of the Valid to date in the updated article is automatically set as described in the following table.

Valid to date when moving a knowledge article to another knowledge base
Article Validity value in the updated knowledge base Valid to default value Notes
Blank Earlier Valid to date value If the Article Validity field in the selected knowledge base is blank, the earlier Valid to date value is retained for the knowledge article.
Is not blank Article updated date + article validity If the Article Validity field in the selected knowledge base isn't blank, the Valid to date is automatically updated to start from the date the article was updated until the number of days specified in the Article Validity field.
Note: If the dictionary value of the Valid to field is modified, this dictionary value overrides the default value of the Valid to field calculated according to the Article Validity field.

Email notifications for expiring knowledge articles

On the first day of each month, the application sends an email notification to a list of authorized recipients to remind them about articles that are about to expire in the next month. The recipient can then extend the Valid to date to continue using the article. For more information, see Knowledge Management email notifications.

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

You can see in my second screenshot I have '1095' days entered for my article validity. I believe the dictionary value might be overriding this? How can I access dictionary value and remove it so it goes off my article validity I've entered instead?

Muhammad Khan
Mega Sage
Mega Sage

Hi Evan,

 

Do check the default value for this valid to  field to make sure it is calling script include which will add those days from Article validity.

 

Hopefully, you will find something there.

It seems my script is how it's suppose to be after comparing to other forums here. I heard it could maybe be the dictionary value which overrides this? I'm not sure how to access dictionary value.

find_real_file.png