Make KB category mandatory if knowledge base has categories attached

Luke James
Tera Contributor

Hi All, 

 

I have a requirement on knowledge base article to make the category field mandatory if the knowledge base selected on the knowledge article has at least one kb category attached to it. Anyone done this before? Or know how to do it? 

 

Kind Regards, 

 

Luke

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

@Luke James  Same question has been asked on below thread and I have already provided a solution, kindly close this thread as well. 

 

https://www.servicenow.com/community/developer-forum/check-if-knowledge-base-has-categories/m-p/2868... 

 

Thanks,

Harsh

View solution in original post

2 REPLIES 2

Luke James
Tera Contributor

Anybody have any idea?

 

Thanks, 

 

Luke

Harsh Vardhan
Giga Patron

@Luke James  Same question has been asked on below thread and I have already provided a solution, kindly close this thread as well. 

 

https://www.servicenow.com/community/developer-forum/check-if-knowledge-base-has-categories/m-p/2868... 

 

Thanks,

Harsh