You can follow records to see updates in your feed, including field changes, posts, tasks, and comments. The field changes that you see in your feed depend on the fields that were enabled for feed tracking. You can follow a maximum combined total of 500 people, topics, and records.
You can follow a record by clicking on the Follow button. It is also possible to auto-follow the records that you create by navigating to My Feeds under your settings and marking the checkbox called Automatically follow records I create.
To stop following a record on the record page, click again the same button (button's label changes to Unfollow).
In Lightning Experience, what you see after clicking the Follow button depends on whether streams are enabled. If there are available streams in the org, it will display you the stream choices. You can add the record to an existing or a new stream. Chatter streams are custom feeds that you create by combining multiple related feeds into one feed. You can find streams in Lightning Experience on the Chatter page.
You can see all the records that you added to a stream by navigating to the Streams home page.
Even though it is a way to see all of them together, it doesn't show enough information about the records. On the other hand, it displays only the records from a stream, it doesn't display all the records that you follow. Lets assume that you are not using streams and you just follow records.
Where Are The Records That I Follow?
It is a great feature for sure, but after following many records, you forget what you follow. There should be a way to see a list of records that you follow. So that you can decide to unfollow or keep following them according to their details.
In Salesforce Classic, there is a part called "Following" on User Profile page. Even though it doesn't display enough information, at least you can see all the records that you follow.
However, Following list doesn't exist in Salesforce Lightning. In Lightning Experience, only the people who you follow and who are following you appear on your profile.
When you follow a record, Salesforce stores this information in a table/object called Entity Subscription. This object has only a few fields. ParentId is the record Id that a user follows, SubscriberId is the user's Id and CreatedDate is the date/time that the user started following the record.
Okay, so at least there is an object that stores all of this information. However, it doesn't store enough information from those records (for example the status and the subject of a case) and also it is not an object that is available on the UI. So, you cannot create a list view.
Using Flow to Create a Followed Records List
Since Flow can query almost any object, it possible to build a Screen Flow that displays the records that the user follows.
Let's create a Screen Flow that displays the followed Case records.
As mentioned above, Entity Subscription stores the record's and user's Ids. Therefore, we need to retrieve the Case records whose Ids are present in those Entity Subscription records.
We would like to run a query like this:
Select CaseNumber, Subject, Status from Case Where Id IN (Select ParentId From EntitySubscription)
1- Create a Screen Flow. If you don't know what Screen Flow is or want to learn more about it, you can read this post.
2- Add a Get Records element to find the Entity Subscription records.
3- We found the records that the user is following. Some of these Entity Subscription records are holding the Case Ids. Add a Transform element to convert the record collection to a text collection of Case Ids.
4- Add a Get Records element to get the Case records that are in the text collection that the Transform element generated. Use the in operator here.
5- Add a Screen element with a Data Table to display the followed records.
6- At the end, your flow should look like this.
After activating the flow, you can put it to any Lightning Page. Like any other list view, users can click on the Case Number to navigate to the record and they can unfollow the record if they want to.
Note that the Case Number column is a hyperlink formula field that displays the Case Number but opens the record. Here is the formula:
HYPERLINK('/'&Id, CaseNumber)
Thanks.