I was recently trying to create a set<id> myset
, and then perform around 600 .add('...id...')
calls, and finally select some records based on myset
values.
When trying to execute it it was always showing, without giving me any reason.
Execution failed
I noticed that the maxim number of ids I was allowed to add was around 250-300.
1) Is there a known limit in terms of the execution time in in Asynchronous Apex ? (I know that in synchronous Apex is around 10 seconds, but never the less adding 600 items to a list shouldn't take anywhere close to 10 seconds).
2) How long does a .add()
call take?