Skip to content

Unlock Apex not working for non-Admins #8

Description

@gingerbyte

The Unlock portion of this does not appear to work for users that don't otherwise have the ability to manually lock/unlock. I have confirmed a System Admin triggering the change is able to lock / unlock without issue.

I've tried every workaround I can think of to get it to work (time-based WFR initiating a change to force the record to be evaluated as the Admin running the TB WFR, delayed Process Builder Action etc.) and can't get past: "An Apex error occurred: System.DmlException: Delete failed. First exception on row 0 with id 04Z3F000000AK01; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: [] "

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions