1 件の回答
Hello sfdeveloper9,If you entered in the batch then you can't exit start without running database.queryLocator query. If you want to this then run batch(Incontroller/ schedular) on condition bases.
If this answers your question then hit Like and mark it as solution!if(!some condition){
//run your batch in your controller or schedular
}