• Ankit Singh
  • NEWBIE
  • 30 Points
  • Member since 2018

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Quick question: I have a before update trigger on the Lead object and would like to know what happens in this scenario:

1. Bulk data import of leads (let's say 1000) cause it to fire.  It'll fire 5 times if the batch size is 200.
2. During the processing of one of the batches of 200 above, a web service pushes a Lead into the system, firing the same trigger.

Will the trigger in 2 wait for one of the batches of 200 to finish before executing or will it run while the (same) trigger in 1 is halfway through processing a batch of leads?
 
Quick question: I have a before update trigger on the Lead object and would like to know what happens in this scenario:

1. Bulk data import of leads (let's say 1000) cause it to fire.  It'll fire 5 times if the batch size is 200.
2. During the processing of one of the batches of 200 above, a web service pushes a Lead into the system, firing the same trigger.

Will the trigger in 2 wait for one of the batches of 200 to finish before executing or will it run while the (same) trigger in 1 is halfway through processing a batch of leads?