Hi,
We are using an After Save User Event script on an Opportunity record to call the Schedule script, but when there are multiple users trying to create an opportunity we are having issues.
Example for the issue:
[LIST]
[*]Opportunity A & B are saved at the same time, in this case one of them executes and the other should go in to the scheduled script queue.
[*]But only one opportunity was triggered and the other never went into the scheduled script queue.
[/LIST] Requirement:
[LIST]
[*]The requirement is to call the scheduled script on save of the each opportunity record, but when there are multiple opportunities saved at the same time the trigger for them should be moved into the scheduled script queue.
[*]We will be importing opportunities using a .csv
[/LIST] Note:
[LIST]
[*]We are using multiple Deployments for the Schedule Script.
[*]Deployment ID is not used for calling the script.
[/LIST]
Any help is much appreciated...