You need to sign in to do that
Don't have an account?
JTec
Bulk triggers in recurring event
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
"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
The trigger is something like this, and then we will do mass update Events with a toll called rj4salesforce.
Thank for replay so fast.
I'm hitting the same problem too. I have an insert trigger on Event that sets values on a few custom fields. When I do a bulk update of Events (which technically shouldn't even cause the trigger to run, since it's a "before insert" trigger), I get the error "Apex Event trigger cannot handle batch operations on recurring events."
Is there any update (no pun intended...) on this problem?
How did Kalai_r post get marked as the accepted solution.
I'm having the same problem were I have a new trigger on the Events that updates a custom field. So now I need a way to update all the existing records.
With other objects (including tasks) I could do a "mass update" on a junk field, which would fire the trigger and cause all the records to update.
Any help on how to overcome this would be greatly appreciated.
I had similar problem when doing mass update of tasks via DataLoader.
The solution I found was to change batch size to 1 in DL settings. The update was quite long but successfull.
Regards,
K
Same situation here :-( ... a mere existence of a trigger even a before insert trigger throws this error on bulk update of events ... any of the salesforce guys plz comment if this is ever going to be fixed or not ?
I am also getting the same error for event trigger. Is there any way to avoid this error?