‎2008 Jul 07 11:20 AM
Hi,
We have inbound and outbound interfaces.
Please suggest error handling techniques which can be used in inbound/outbound interfaces.
eg: If there is a inbound interface running and uploading file. Now if program terminates in between due to any reason, then how will be come to know that how many records are already uploaded so that when that interface is run again, it should not reload those records..
This is one such example.
Regards,
Ashish Gupta
‎2008 Jul 07 11:28 AM
I am not writing essays here on general error handling, but for your specific inbound creation example I suggest following logic:
- check for existing object via unique key
- if found, skip further processing and continue with next object
- if not found, create new object
- COMMIT WORK
- continue with next object
You can run this as often as desired until everything has been created.
‎2008 Jul 07 11:28 AM
I am not writing essays here on general error handling, but for your specific inbound creation example I suggest following logic:
- check for existing object via unique key
- if found, skip further processing and continue with next object
- if not found, create new object
- COMMIT WORK
- continue with next object
You can run this as often as desired until everything has been created.