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

INSUFFICIENT PRIVILEGES on Recall action in apex

How to "Recall' a record from approval process? I am using setAction('Removed') but it gives me INSUFFICIENT PRIVILEGES error. Interestingly, it works fine if I Approve or Reject. Salesforce says only system administrators can set it to Removed but my logic is running in System Mode.