function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
markross__cmarkross__c 

Create or update Chatter posts?

Has anyone had any luck using either the desktop or cloud Flow Designers to create or update Chatter post records? I can't find any documentation or posts on it, and I keep getting errors like this:

 

Encountered unhandled fault when running process TestChatter/30170000000CaX0 exception by user/organization: 00D700000008zHZ/{4}

interaction.sfdc.adapter.rules.SalesforceRuleBrokenException: UPSERT --- UPSERT FAILED ---  ERRORS :  (FIELD_INTEGRITY_EXCEPTION) Related Record ID: id value of incorrect type: 0017000000PTIu8AAH ---  for SFDC record with ID : null, 

caused by element : Data update.Chatter_Update

caused by: interaction.sfdc.adapter.rules.SalesforceRuleBrokenException: UPSERT --- UPSERT FAILED ---  ERRORS :  (FIELD_INTEGRITY_EXCEPTION) Related Record ID: id value of incorrect type: 0017000000PTIu8AAH ---  for SFDC record with ID : null, 

Salesforce Error ID: 22356481-7983 (-2063781244)

 

RajaramRajaram

Chatter posts are like any other record in salesforce whcih you can "create". Make sure you set the required fields. For chatter posts make sure you are not sending nulls for the following:

Body

Title

ParentID