• ap_campion
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies

 I tried to create a before trigger, before update trigger on event that would fetch a field from prospect/contact according to the whoid specified .

But when inserting recurring events through bulk . I get the following error:-

 

"UnexpectedException: Apex Event trigger cannot handle batch operations on recurring events."

 

 

Is there any way to avoid this error ?

 I tried to create a before trigger, before update trigger on event that would fetch a field from prospect/contact according to the whoid specified .

But when inserting recurring events through bulk . I get the following error:-

 

"UnexpectedException: Apex Event trigger cannot handle batch operations on recurring events."

 

 

Is there any way to avoid this error ?

In the apex language reference manual i read this:

"Note: A trigger invoked by an insert, delete or update, of a recurring event results in a runtime error when
the trigger is called in bulk from the Force.com API."

I need to do a mass update in Events and any of this events can be recurring and I have a trigger asociate to Event, what should I change or control to avoid this runtine error?


Thanks for All
  • July 29, 2008
  • Like
  • 0