Need to auto populate knowledge base based on the case type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 06:06 AM - edited ‎02-29-2024 06:30 AM
I need to auto populate knowledge base on the KCS Article when I hit create knowledge UI action in the case form based on the case type. Example: Product Defect, technical Issue case types etc. Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 06:09 AM
@Muffin You can put an Switch/If block in the script field of Create Knowledge UI Action and based on the current record case type set the knowledge base on the knowledge article to be created.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 06:11 AM
Hi @Muffin ,
You need to configure ( map ) knowledge base & case type first.
After that you can update the "Create Knowledge" logic for adding knowledge based on case type.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2024 05:28 AM
Thanks @AshishKM I have mapped knowledge base and case type via csm table map. What do I need to next. Could you please help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2024 06:56 AM
Check the UI Action code, there must be some code inserting the KB in kb_knowledge table.
Example from Incident Mgmt module. , check the line 29, setting the kb base. find the same in your instance and update using the current object.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution