How do find out how many cases are associated with a Knowledge Article in Salesforce?

How do find out how many cases are associated with a Knowledge Article in Salesforce?

CaseArticle is the junction object for Case and Knowledge objects. When an article is attached to the Case, there will be an entry in the CaseArticle object. So, using this object, we can find out how many cases are associated with a Knowledge Article in Salesforce.
 
Sample SOQL:
SELECT CaseId, KnowledgeArticleId FROM CaseArticle WHERE KnowledgeArticleId  = ‘kA0f2000000RLPRCA4’

Leave a Reply