I have a batch apex that I made few changes. The functionality of the batch apex is to pull assets of a specific record type, and updates a specific field to true based on a criteria.
To test my changes, I entered the following code in execute anonymous window and clicked on execute button.
Date currentDate = System.today(); AssetBatch asb = new AssetBatch(currentDate); database.execute(asb, 200);
when I run the above code from execute anonymous window, I see that only the start() method was executed and returned the assets of the SOQL. However, the execute() method did not run at all. I have a System.debug in the very first line of the execute() method and I am not seeing any references of the execute() method in debug log.
Can someone tell me what am I doing incorrectly?
Thanks in advance.