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

Mike Wood
Giga Expert

Hey Evan, 

  Not sure if you have more than one Knowledge base.  Based on what I am seeing I presume you only have one and will defer to the above post. 

However if you have more than One Knowledge base , I noticed in your screen capture the Knowledge base has not been selected . So the "Valid To" definition may change once you select the applicable Knowledge Base. (If applicable to your set up) 

  Unclear on how your Valid To date can populate until you select the Knowledge base as that is where the value is defined. 

 

Hope this was helpful. 

Mike

Hello Mike,

Once I selected the Knowledge base, the 'valid to' field still stayed the same. Muhammad was able to find the problem. It was the being overwritten from dictionary. You can see above that I marked his solution correct.

Thank you

Lisa West1
Tera Contributor

For your requirement: 

"Requirement  : - I want to change it & keep it 3 months from the date of KB creation."

 

Before making changes to OOB funcionality have you tried adding updating the article Validity field on each Knowledge base?  Put the number 90 in this filed and it will set the default date out 90 days.

I just did this and it worked well without any script changes.