Process flow consisting of a chatter action "Post to Chatter" throws an error when deployed via change sets
Last updated 2020-11-04 ·Reference W-2327369 ·Reported By 66 users
In Review
Summary
Some customers have observed their process flow that was created/updated via a deployed change set throws the following error when the conditions for the flow are met:
“The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301XXXXXXXXXXX. Contact your administrator for help.”
The Process Flow in question can be as simple as the following:
Object – Opportunity
Criteria – Boolean Equals to True.
Action – Post to Chatter (Group)
This happens because we store the ID for the group in the Post To Chatter action metadata, this will be delivered to the destination org untouched and ultimately incorrectly.
So instead of looking for the API name of the group, the flow is looking for the chatter group ID which in this case is referencing the ID of the source org, eventually throwing the above error.
Repro
Source Org:
Create a Chatter Group:
1. Chatter>Group>Name
Ex: SF group
2. Create a Process that will post a message to a Chatter Group
- Setup > Create > Workflow & Approvals > Process Builder > New
- Choose the Opportunity object
- Choose "when a record is created or edited"
- Leave the Advanced checkbox uncheck
- Save
3. Define Criteria for this Action Group
- For the criteria: (same as the customer)
Checkbox Equals True
- Conditions: Choose "Any of the conditions are met (OR)"
- Leave the Advanced checkbox uncheck
- Save
4. Action
- Post to Chatter
- Select a Chatter Group
- Enter a message.
- Save
Open Opportunity record and set the checkbox (process criteria) to True. Open the Chatter Group specified on the Process
Message should be posted to Chatter Group
5. Create an Outbound Change set
- Setup>Deploy> Outbound Change Sets> Add> Add the Process created in steps 2 - 4 >Upload
Target Org:
6. Go to the Target Org and Deploy:
- Setup> Deploy> Inbound Change Sets> Deploy> Default> Save
7. Activate the Process Flow
- Setup> Create> Workflow & Approvals> Process Builder> Click on the process> Activate
8. Open an Oppty record>meet the criteria for the Process to fire and you will see an error as follows:
“The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301XXXXXXXXXXX. Contact your administrator for help.”
Workaround
- Open the flow/process and recreate the Post To Chatter action in order to pull in the new ID reference.
Reported By (66)

















Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.