function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Removing unwanted Feed items

I have a custom object Requests__c and each time the request status changes, i have a process builder that creates a custom related object called Request_Activity__c. The purpose of which is to capture the activity on the request (and generate reports, metrics, etc).

Whenever the Request Activity is created, a Feed item is created on the Request. I do not want a feed item for Request Activities, however I cannot turn off related feed tracking because i need it for notes and other related items.

To solve this, I created a Flow, that deletes the Request Activity Feed Item record, by selecting the Feed Item by the parent Id (Request Activity). Unfortunately it only runs for me. I cannot get it to run for other users. I get the error "FeedItem requires a filter by Id." How can I resolve this?
SwethaSwetha (Salesforce Developers) 
HI Ethanone,
Please see below articles that explain approaches to fix the error for all the profiles
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
None of those worked for me. Two of them suggest using the "__Feed" Object, so for example Request__Feed, but when I do so I get no results. I only get results when querying FeedItem. The "__Feed" Object is a view from FeedItem, but it only shows items directly related to the Request Object and what I'm looking to remove is a related object feed entry (a CreateRecordEvent type).  What I would need is a Request_Activity__Feed object, but one does not exist.