Hi guys,
As I'm only beginner, I would like to ask when we create a batch job processes which will process datasets (many records), and when we process each record then in the middle of it has error, how are we usually handling it to log the error but then also still able to continue its next records ?
I put my code in Try..Catch() block of code, so when it is error in the middle, it will catch the error and inside there is a procedure to insert to some log table, but currently when it happens, then it will stop the process and will not continue to next records.
Any simple existing process / class that I can follow along? or is there resource (blog) that have a good explanation about this that I can easily learn from it. Again I'm only beginner so if it too complex I can easily lost, or if it is too short, I won't know what to do or where to start or how.
Thanks in advance.