You need to sign in to do that
Don't have an account?

Batch Apex issue
I am using Batch Apex and found the following behavior: if execute() method is never called (the query returns no records), the finish() method is not called at all. I think this is wrong. The finish() method should always be called. What do you guys think?

I agree. I need the finish method to be called, even if no records are processed