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
J.D. DooleyJ.D. Dooley 

Can I automatically share records with salesforce connection using headless flow, workflow and/or process builder?

automatically share records with salesforce connection using headless flow, workflow and/or process builder?
Sachin P Sam 1Sachin P Sam 1
Hi J.D. Dooley ,

Yes it is possible to Share record using automated flows.
 For that you want to know that Object has the corresponding share object,with the format CustomObject__Share. This can be used  for Sharing.

A. ParentId: – The Id of the record being shared. 
B. UserOrGroupId: – The Id of the User to whom you are granting access.
C. AccessLevel: – The level of access that the specified User or Group has been granted.
D. RowCause ( Sharing Reasons : can be created in object ): – The reason why the user or group is being granted access.

Please feel to ask in case of any queries.

Regards,
Sachin P Sam