function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Olexander YakovenkoOlexander Yakovenko 

Hello everyone, I have an error. I run executeBatch() to delete Tasks but I catch an error as UNSUPPORTED_APEX_TRIGGER_OPERATON: Apex Task trigger cannot handle batch operations on recurring tasks. I tried to delete List of the Tasks but the error again.

I can not delete List of a Tasks and Batch can not delete the Tasks but when I tried to delete a Task it is OK. So I need your help please!
Best Answer chosen by Olexander Yakovenko
Ravi Dutt SharmaRavi Dutt Sharma
Hi Olexander,

Make batch size of batch class as 1. This should resolve your issue.

All Answers

Ravi Dutt SharmaRavi Dutt Sharma
Hi Olexander,

Make batch size of batch class as 1. This should resolve your issue.
This was selected as the best answer
Olexander YakovenkoOlexander Yakovenko
Hi Ravi. I tried. It did not help 
Ravi Dutt SharmaRavi Dutt Sharma
Can you please post you code here. Thanks.
Olexander YakovenkoOlexander Yakovenko
Thanks for help me.