How to draft and validate date on valid to for knowledge article

vamshi2
Tera Contributor

Hi team 

 

I need to populate date which is 1 year advance from current date on "valid to" field on knowledge article as well as I need to restrict user for selection of date should not more than year for valid to field 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Have you tried using the validity field on knowledge base level?

 

MarkRoethof_0-1716139856673.png

 

When using this, when you create a new Knowledge article and select the Knowledge base, onChange the valid to is filled. Using my example, it would be today + 365 days.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

7 REPLIES 7

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Have you tried using the validity field on knowledge base level?

 

MarkRoethof_0-1716139856673.png

 

When using this, when you create a new Knowledge article and select the Knowledge base, onChange the valid to is filled. Using my example, it would be today + 365 days.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi @Mark Roethof 

 

Have you tried using the validity field on knowledge base level?

 

yes i have tried and can achieve one requirement but onchange of valid to have to do validation so it is not useful

Can you explain why that is not useful for you? What swathisarang98 shared (and what you did try) is also onChange. How is this different?

 

Or else please explain your requirement better.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn