KnowledgeArticle/CollaborationGroupRecord SOQL queries do not run in Flows
Last updated 2022-02-10 ·Reference W-2454354 ·Reported By 7 users
Summary
When using a Record Lookup or Fast Lookup element and querying knowledge articles or the CollaborationGroupRecord object, you will get the following error
An unhandled fault has occurred in this flow.
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information.
Additionally, you will see something similar to this in the debug logs
common.exception.ApiException: Implementation restriction: When querying or searching the KnowledgeArticleVersion object, you must filter using the following syntax: Id = [single ID], Id IN [list of ID's] or PublishStatus = [status]. In addition PublishStatus is only permitted in a top-level AND condition
Or
Implementation restriction: CollaborationGroupRecord requires a filter by a single Id, CollaborationGroupId or RecordId using the equals operator​
Repro
1- Create a flow with a Record Lookup or Fast Lookup element with a criteria similar to the following
ArticleNumber equals 000001006
Language equals en_US
PublishStatus equals Online
Or
CollaborationGroupId = '0F924000000PG6m' (sample Id)
An error occurs when you run the flow
Workaround
None at this time.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.