You need to sign in to do that
Don't have an account?
nathanael.m
Limits.getScriptStatements() from with batch process
The Limits.getScriptStatements() method is always returning 0 within a batch process.
I'm assuming this isn't by design?
Thanks
Yes Script statement limits do not get counted with in a batch in any of these method of batch
start , execute or finish call .
Even though the limit exist in a batch process execution context? Doesn't make much sense that you can 'sometimes' check your status against the limit during execution...