Hi guys,
Need advices on how to test and investigate when something happened in batch job ?
I'm running batch job for my custom RunBaseBatch, This batch job supposedly looking at my tables, and with the test run, I have 3 records un-processed, there are flag to identify it. While all 3 records updated (means it is retrieved and processed), the subsequent process result seems to be only the 1st one.
In that class, I have error handling, but no information appears of any error, also the 1 result coming trough also not really finished, but it also no error being informed. In this subsequent process, which create record in another custom table, I also have log table when something happened, but this too not working (no records in error log). If it is not from batch process, all this error handling is working properly. FYI, this RunBaseBatch class also able to run in ad-hoc manner, so I can run manually by a button.
While this is a custom process, which of course I need to debug my self, need advice what is the best approach and what steps I should go through in order to investigate this.
Thanks,