Articles in this section

Lock or Unlock Current Record Using Workflow Rules

Updated:

You can automatically lock or unlock pipeline records in BoldSales using workflow rules for the Pipelines module. This helps prevent or allow edits to records based on defined triggers and conditions.
This guide explains how to create the workflow rule, optionally set conditions, and configure actions to lock or unlock the current record.

Note for non-admin users: If you don’t have access to configure or manage Workflow rules and webhook, contact your BoldSales administrator to request the required permission.
Note for administrators: For managing permissions, refer to Managing Setup and Data Management Permissions.

Use cases

Deal closure control

Automatically lock a pipeline record when the deal stage is marked as Closed Won to prevent accidental edits after completion.

Time-based updates

Unlock records after a defined period if further action is required (for example, a follow-up after inactivity).

Create a workflow rule

Access workflow rules

  1. Go to Setup from the left sidebar menu.
  2. Navigate to Process Management > Workflow Rules, or Automation > Workflow Rules.
    Alternatively, use the search bar and type Workflow Rules.
Access workflow rules from setup
  1. Click Click to create workflow rule button.
  2. Click the Description of image at the top left to edit the workflow rule name and add a description (optional).

Set triggers

Note: The Lock current record or Unlock current record action is available only when the trigger module is Pipelines. If you select any other trigger module, this action will not be available.

  1. Under Trigger module, select Pipelines and select that specific pipeline from the menu.
  2. Choose a Trigger type, such as:
    • Record created
    • Record edited
    • Record created/edited
    • Date/time
    • Note added/linked
    • Note edited
    • Note deleted
    • Approval approved
    • Approval rejected

When you select Record edited, Record created/edited, Note added/linked, Note edited, Note deleted, Approval approved, or Approval rejected as the trigger type, the Occurrence field becomes available. From the dropdown, choose one of the following options:

  • Only the first time: The workflow is triggered only the first time the record meets the specified conditions.
  • Every time: The workflow is triggered every time the record meets the specified conditions.

Configure conditions (optional)

Conditions allow the workflow to execute only when specific criteria are met.

  1. Click Add Condition.
  2. Choose the field, operator, and value.
  3. Add additional conditions if required.
  4. Click Click Next to proceed when done.

Note: If no conditions are added, the workflow runs whenever the selected trigger occurs.

Define actions

After setting the trigger and conditions, configure the action the workflow should perform.

Instant actions vs. Delayed actions behavior

Instant actions execute immediately when the workflow is triggered.
Delayed actions execute after a specified time.

Important:
Instant and delayed actions are mutually exclusive for the same action type.

If you select an action under Instant actions, it won’t be available under Delayed actions, and vice versa.

Note: Delayed actions are not available for Date/time triggers or when occurrence is set to Every time.

For more information on instant and delayed actions, visit Instant Actions and Delayed Actions.

Lock or unlock the current record

Use these workflow actions to automatically lock or unlock a pipeline record based on your business process.

  • Lock current record prevents users from editing a record and can restrict additional actions based on the pipeline’s Lock Settings.
  • Unlock current record removes the lock and restores access to the record according to the user’s permissions.

Configure the action

  1. Under Instant Actions (or Delayed Actions, to run the action after a delay), select either Lock current record or Unlock current record from the dropdown menu.
  2. Enter a reason in the corresponding field:
    • Reason for locking is mandatory when configuring Lock current record.
    • Reason for unlocking can be provided when configuring Unlock current record.
  3. Review the workflow configuration and ensure the workflow is Active.
  4. Click Create to save the workflow.

After saving and activating the workflow rule, BoldSales automatically applies the configured lock or unlock action when the defined workflow criteria are satisfied, ensuring records are managed consistently according to your business requirements.

When the workflow is triggered, the selected action is applied automatically. Users can view lock details, including the reason, who applied the lock (user or automation), and the timestamp, from the record details page or by hovering over the lock icon in the pipeline listing page.

Note: When a record is locked, editing is always restricted. Additional actions, such as deleting records, managing tags, and sending emails, may also be restricted depending on the pipeline’s Lock Settings. Users, teams, or permission sets configured as exceptions can bypass these restrictions and perform the allowed actions on locked records.

For detailed information about locked records, visit: Configure Lock Settings.

The image below shows how to lock the current record using workflow.

Lock current record using workflow

The image below shows how to unlock the current record using workflow.

Unlock current record using workflow

Frequently asked questions (FAQs)

Who can perform actions on a locked record?

This depends on the Who is restricted from editing locked records setting configured in the pipeline. Administrators can allow specific permission sets, users, or teams to perform restricted actions on locked records.

Can workflows lock records when manual locking is disabled?

Yes. Disabling manual locking only prevents users from manually locking records. Workflow rules can still lock records.

Can I send emails from a locked record?

You can send emails from a locked record only if Send Email is not selected under Restricted actions in the pipeline’s lock settings. If Send Email is restricted, email actions are blocked while the record is locked.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied