Add user criteria to Knowledge Base programmatically

Tuan Anh
Kilo Contributor

Is it achievable to automatically add an user criteria to a knowledge base (for example through business rule/after inserting etc). Can we achieve this programmatically using API or anything? I also want to know where the criterias added to a Knowledge Base is stored in the database and whether it is good practice to access and manipulate them. Thank you in advance!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi,

you can use script to create it from script

I don't think any API exists to create that

this table holds the mapping of user criteria with KB base -> kb_uc_can_read_mtom

Regards
Ankur

View solution in original post

5 REPLIES 5

Anil Lande
Kilo Patron

Hi,

You can add user criteria through script as well. If you want to use it in scoped application then you need to check below link:

https://developer.servicenow.com/print_page.do?release=paris&category=null&identifier=c_UserCriteria...

 

Thanks,

Anil Lande