Skip to main content

Is there a way to build a flow to notify someone when they have been mentioned in a chatter but have not liked or commented on the post? We are having internal issues of people not actioning what has been asked so it would be good to have it keep notifying them until the post is liked or they comment back.

If not we may have to use Tasks instead

#flow
1 个回答
  1. 2022年7月18日 06:05

    Hi Peta ,

     

    Posts related to likes can be judged by the following SOQL.

    I think you can be notified using a scheduled Apex batch.

    I'm new to flows, so I can't explain using them.

     

    select Id,Body,createddate, (select Id from FeedLikes) from FeedItem

     

    Hi Peta , Posts related to likes can be judged by the following SOQL.I think you can be notified using a scheduled Apex batch.I'm new to flows, so I can't explain using them.

     

    FeedLike

     

    Indicates that a user has liked a feed item. This object is available in API version 21.0 and later.

    FeedLike records represent likes on posts and not likes on comments. Likes on comments can’t be queried via the API. A FeedLike is a child object of an associated FeedItem, FeedTrackedChange, or object feed, such as AccountFeed.

     

    Chatter Objects