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
Akanksha JadhavAkanksha Jadhav 

Accessing Case and Assets records using Customer Community User.

Hello All,
I have the requirement where I want to share all Cases and Assets of all related accounts with newly created customer community user.
It should share all cases and assets records of its Parent to GrandParent accounts.
I am using AssetShare object, CaseShare object with apex trigger for this solution. Currently, I am facing below error :
FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXXX).’
If someone worked on this same task or error, please reply.


Is this issue sorted for you? I am getting same error. Please revert.

Best Regards,