- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-09-2022 09:31 PM
Hello,
I have a question about deleting the knowledge base.
From my research, it seems that I need to run a script in [Scripts - Background] to delete the knowledge base, but is there any other way to delete the knowledge base?
I would like to know if there is a simpler way to do this.
解決済! 解決策の投稿を見る。
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-09-2022 11:05 PM
Hello,
There is an OOB ACL as you can see so that is the reason why you see the delete option s read only.
That is why you have to use script only so I had pasted the script in my earlier message not sure if you saw it.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-09-2022 09:51 PM
hello.
You can use the below script to do it using either background script or schedule job.
var kbase = new GlideRecord('kb_knowledge_base');
kbase.addQuery('sys_id', 'SYSID OF KB TO DELETE HERE');
kbase.query();
if(kbase.next()) {
kbase.deleteRecord();
}
Just one question before deleting the knowledge base what about the articles which are in that knowledge base or is it like the Knowledge base does not have nay article.
Please mark answer correct/helpful based on Impact.

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-09-2022 10:02 PM
Hi,
If you war an Admin then you can delete knowledge base by OOB UI Actions:
Or You can open record and see Delete UI Action on form.
Don't you see these OOB options on your instance?
Thanks,
Anil Lande
Thanks
Anil Lande
Please mark answer correct/helpful based on Impact.