Allow Process Builder & Flow to Unlock Records - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
1,870  Points
Idea has been posted. Give it an upvote or downvote.

Allow Process Builder & Flow to Unlock Records

Process Automation

Currently there's no way to edit a Lock record without either: 

1. Having a modify all perms on the object (ewww)
2. Writing Apex Code with "Without Sharing" (slightly less eww, but not declarative)

We can lock records with Process Builder & Flow now by calling a dummy approval process that just auto-approves anything submitted and locking the record.

We can't unlock the record.

I would like to be able to use process builder and flow to Unlock a record, make an edit, and lock the record again based on criteria. For example: I have a Object that gets locked after approval as part of our sales process. Once the sale goes through, we need the status to update as part of the delivery process. This happens when a related record gets created during the delivery process. When that record gets created, I want to automatically unlock my record, update the custom status field, then lock the record again.

The user isn't directly involved in modifying the locked record, it happens as part of their daily delivery needs.

Merge Idea · Flag

  • Upvotes
  • Downvotes



from AppExchange


No results found.

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.