Please see the script I posted on the other post you submitted - https://www.servicenow.com/community/developer-forum/restrict-knowledge-article-valid-to-field/td-p/...


If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni