Record Locking Flashcards

From the Record Locking Cheat Sheet

1
Q

What does Salesforce lock when you perform an update on any record. What is the risk of lock contention?

A

Updated record and sharing records are locked.

Updating locks target record and may result in the creation and/or deletion of one or more sharing records in a private sharing model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does Salesforce lock when you perform a delete on any record. What is the risk of lock contention?

A

Record being deleted, sharing records are locked.

Deleting locks the record being
deleted and one or more sharing
records in a private sharing
model.

Risk of lock contention is low

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When updates (or deletes) are done on an account record, what is locked and what is the risk of lock contention?

A

Group table is locked, and the risk of lock contention is high.

Lock occurs if updating the owner
field of, or deleting, an Account
that has associated community or
portal roles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When inserts (or deletes) are done on an accountTeamMember and CaseTeamMember record, what is locked and what is the risk of lock contention?

A

Associated Account, Case, or Opportunity is locked and the risk of lock contention is high.

AccountTeamMember inserts,
updates and deletes can result in
the creation and deletion of child
implicit shares on Cases, Contacts
and Opportunities but associated
object records are not locked.
CaseTeamMember and
OpportunityTeamMember
inserts & deletes can result in the
creation or deletion of a parent
implicit account share, however
existing parent implicit shares are
not locked.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When inserts (or deletes) are done on a CampaignMember record, what is locked and what is the risk of lock contention?

A

Associated Campaign, Contact or Lead is locked.

High risk of lock contention.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When inserts, updates or deletes are done on a Case record, what is locked and what is the risk of lock contention?

A

Account and Contacts are locked

High risk of lock contention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When inserts or updates are done on a Contact record, what is locked and what is the risk of lock contention?

A

Parent Account is locked

High risk of lock contention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When inserts, updates or deletes are done on an Opportunity record, what is locked and what is the risk of lock contention?

A

Parent Account is locked

High risk of lock contention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which objects would typically lock the Group table when updates, inserts or deletes are performed on them?

A

Account
Territory
User
UserRole

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which ObjectShares would lock the AccountShare records when inserts/updates or deletes are made?

A

CaseShare
ContactShare
OpportunityShare

How well did you know this?
1
Not at all
2
3
4
5
Perfectly