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
sumanth reddy 15sumanth reddy 15 

I need to run the flow as a perticular User using Apex

hi Guys, 
I had a Visual Workflow which needs to run without Considering the permissions.   I need to Run the Visual Workflow from Apex as a Particular User with the Higher Permissions. 
Synario: Create one GroupMember record on the Public Group through Apex.
Error Message: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id.

Please help me Regarding this....................

   
RudrarajuRudraraju
Hi Sumanth,
I think you are updating wrong object record in to the lookup field