Approval Processes: Unlock Records in Lightning

When a record is submitted into an approval process, it gets locked. Sometimes it’s desirable to unlock the record manually.

In Salesforce Classic, you do that via a button that shows up here:

This button is not currently available in Lightning Experience, but it’s easy to add a quick action button to a record page layout that unlocks locked records.

The quick action button will run the following Unlock Record flow, which includes two new Flow Actions: Unlock Record and Get Record Lock Status.

Get Record Lock status returns a boolean value that tells whether a provided record is locked. Unlock Record unlocks it.


Before Installing

Besides installing the package below, it’s very important to make sure this setting is turned on:


Install Unmanaged 1.0

For Developers

View Source Code

1 reply
  1. Charlotte Bergan
    Charlotte Bergan says:

    Hey Alex, I installed this and the Flow doesn’t look the same. Is there a newer version of the package? And will I be able to create an action button with it? (Currently Flow doesn’t show up as an option even though it’s Active)


Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply