I am trying to understand or come up with a solution for the issue we currently having in our Org. We have a situation that our Marketing users are adding the existing contacts to the Campaign which like 35K records are getting added to a campaign which locks the records for few mins that other users cannot add those contacts to the Cases that they are creating, which basically creates deadlocks on the records.
The users are using the reports and adding the Contacts from the report to Add to Campaign button on the report which is causing the issue
Is there a way to restrict the users to run these only after hours or have a way so that they can schedule this contacts to be added to Camapign after hours like in the night.
Implement the schedulable interface (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm) but I am not sure if this is the way to go.Any suggestion or help is greatly appreciated.
The users are using the reports and adding the Contacts from the report to Add to Campaign button on the report