Salesforce Decode
Salesforcedecode
Apex questionsQuestion 91 of 179
ApexIntermediatesecuritycrudinvocable

Implement CRUD checks before dynamic object DML from invocable Apex

Scenario

Generic invocable accepts object API name and field map from Flow. Community Flow accidentally updates objects guest users cannot access when runAs wrong.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.