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
andrem2bandrem2b 

Share Case to Community User

hi,

I want to confirm if the following use case is plausible :

Our client wants to set up a helpdesk app on a community.

Main flow will be :

- community user creates a Case ( using custom code, not standard page)

- Case is reassigned to a predefined queue ( using Case Assignment Rules )

- after the Case ownership is changed we need to re-share the case with the user that created it.

 

So far we are able to create the case and change the ownership, when we reach the step of sharing back the record we get an INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY exception .

 

The CaseShare record is created on a @future method, otherwise we aren't able to user the CaseShare Object.

 

thanks, Andrea

SamuelDeRyckeSamuelDeRycke
Customer community users are limited to sharing sets and accessing what's related to the account they belong to.