Lock and Unlock Custom Activities
1. Feature Overview
After you post a custom activity on a lead, you can lock the activity to prevent users from updating or deleting it. This is useful for activities that contain computed values, such as incentives, loans, or interest rates, or critical customer data, such as passport or Aadhaar copies. When required, you can unlock these locked activities.
Note: This setting locks and unlocks individual custom activities posted on a lead, and NOT the entire activity type. For example, as shown in the GIF below, you can lock only the “Document Collection” custom activity posted on the lead Leah, not all “Document Collection” custom activities posted in your account.

2. Prerequisite
You must be an account Admin to configure this feature.
3. How it Works
- When you create or update a custom activity, on the Create/Update Custom Activity Type pop-up, enable the Lock Activity setting and select the user roles whose activity edit access you want to revoke.
- Then, pass the Lock an Activity API to lock the custom activity type on which you enabled the Lock Activity setting.
- You can also call a Lapp using an automation to lock this custom activity.
- To unlock an activity, disable the Lock Activity setting, and pass the Unlock a Custom Activity API.
4. Lock a Custom Activity
To lock a custom activity that’s posted on a lead –
- Navigate to My Profile>Settings>Leads>Custom Activities & Scores.
- Alongside the custom activity you want to lock, click the edit icon.
- The steps below also apply when creating a new custom activity.
- On the Update Custom Activity Type pop-up, enable the Lock Activity checkbox.
- Then, select the user roles for which you want to lock the activity. Users in these roles can’t edit or delete the activity after it is locked.
- Once you’re done, click Next, then click Save on the final screen.
- Then, pass the Lock a Custom Activity API. After the API call succeeds, the selected user roles can’t edit or delete this custom activity posted on a lead.

5. Unlock a Custom Activity
To unlock a custom activity posted on a lead –
- Navigate to My Profile>Settings>Leads>Custom Activities & Scores.
- Alongside the custom activity you want to unlock, click the edit icon.
- On the Update Custom Activity Type pop-up, disable the Lock Activity checkbox.
- Once you’re done, click Next, and click Save on the final screen.
- Then, pass the Unlock a Custom Activity API. After the API call succeeds, the selected user roles will be able to edit this custom activity posted on a lead.

Any Questions?
Did you find this article helpful? Please let us know any feedback you may have in the comments section below. We’d love to hear from you and help you out!
Subscribe
0 Comments
Newest
