You need to sign in to do that
Don't have an account?
Gary W
How can I create my own case feed item upon related record creation?
I have a custom object called Escalations related to my Cases. If I create a new escalation via a custom 'create a record' action on my case, it creates a feed item which looks like this:
If I create the escalation using a flow, using the create records element, the feed item is not automatically created.
I have tried manually creating the feed item in the same flow which creates the escalation. I'm creating new record on the feedItem object. The values I'm using are:
Can anyone point me in the right direction on how to create a feed item which shows up on the case feed like in the screenshot above?
If I create the escalation using a flow, using the create records element, the feed item is not automatically created.
I have tried manually creating the feed item in the same flow which creates the escalation. I'm creating new record on the feedItem object. The values I'm using are:
- ParentId = Escalation ID
- Feed Item Type = CreateRecordEvent
- Visibility = AllUsers
Can anyone point me in the right direction on how to create a feed item which shows up on the case feed like in the screenshot above?
What I ended up doing was actually using the quick action on the case object in my flow. The action is a 'Create a Record' action type, and 'Create Feed Item' is checked. I was then able to use this action by referencing it in the Action component in the flow to create my related escalation record, instead of using the create records element in the flow. This creates the related record, and created a fleed item linking to it.
I wish it was possible to just create my own feed items directly though, as there's more flexibility in flows, however this workaround works fine.