Hi all. This is my first question in this group.
Use Case: Im trying to sync Case Feed between 2 salesforce orgs.
Description: Because we did not want to send all case feeds across another org, I had put a condition in mulesoft so that if the Body contains '@' mentioned (Example: @ Org2), then it would mean that this particular case feeds needs to be sent across to Org 2's related case record. This is also the same for Org2 to Org1 @ mentions. This was so that we could have internal chats as well in the Case.
However, new requirement came up so that we need to sync any feed updates so that we have as much info as possible on the case. So, there goes the '@' mention condition. However, im running into a blocker because the "Integration user" posts to the feed as well and this will result in a loop. I can mitigate this by querying who made the post first and then exclude the ones made by "Integration User" (I got this idea from this group as well).
However, my main problem is with the feed attachments. How do i manage this? I do have created a separate flow to transfer images from Org1 to Org2 (Using Content Document Links, Content Versions,etc). But how do i do this via the Feed attachment?
Also, Im trying to avoid Case feed and use the Case Comments because, users wont be able to add images here.
Any thoughts here please?
Please find the below detailed help articles which might be useful.
Share Records Using Salesforce to Salesforce
Additional article for reference.