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
Eddie_TractionEddie_Traction 

Flow lookup profile CRUD for objects?

Using flow I would like to lookup the profile access to a specifc object. I've got the userId passed into the flow, problem is I can't find the object access in the profile lookup. Overall goal is to determine if user can delete records and handle the error properly instead of using a FAULT.

 

I feel like flow should be able to do this? hopefully I'm missing something simple.

 

Thanks,

Eddie_TractionEddie_Traction

Thought I figured it out using the UserRecordAccess lookup. But now I'm getting an error

 

A fault has occured please contact the system administrator.

Fault Message:; nested exception is: 
common.exception.ApiException: RecordId field must be selected
(There was a problem executing your command.) > RETRIEVE