Exceptional Handling with Repository APIs
Hi Team,
We are in a process of converting Connect File Implementations to Repository APIs.
Currently Implementation is as below:
- Loop through a list and then open a file only at the first index of the list
- For the subsequent iterations , we keep on updating the same file by calling the connect File method in APPEND file mode
- For Exceptional Handling if at the time of appending the record to the file we get Step status Fail we update Failure Status for that record in main table so that it can be picked and tried in next run
While moving to Repository API
- There is no provision to open the file and append a record one by one therefore we are creating a String-Buffer-Append Object and using the same we create the file once
How can we handle the Exceptional Handling with Repository apis
***Edited by Moderator Marije to add Capability tags***
To see attachments, please log in.