+ Start a Discussion
luckymeluckyme 

Poll: Apex batch: should finish() be always called?

Currently the finish() method is not called if the query returns no records. I think this is wrong. I think finish() should always be called regardless whether the query returns any records or not. What do you think?
ErikOSnet0ErikOSnet0
Thumbs up
TehNrdTehNrd
Makes sense but I would take this discussion to the Ideas exchange.