Category: CRM and lead management

CRM: Two Sales Reps Claim the Same Lead

Read this guide in Polish

The simultaneous click “Take” allows you to assign one record to two people.

How to identify the source of the problem

Check whether the acquisition is performed by atomic UPDATE with the condition of ownership id IS NULL.

Compare record ID, current filters, roles and database query result with panel view.

Repair steps

Enter conditional assignment in one transaction and check the number of changed records.

How to Test Solution

Only one sales representative receives an effective assignment, and the other sees the information about the occupation.

Security and restrictions

Run tests on anonymized data and control server side permissions, not just on the interface.