Hi Experts,
I have to make an API call and store the data until the HTTP response is 404-not found. I can achieve this using a looping process call. Once I get a 404 response, I need to collect all the data from the data store and send it to SFTP.
As 404-not found is an exception I am catching the exception using exception subprocess call with a groovy script and calling another local integration process to collect the data from DataStore and delete it upon collection. But it is not working.
After the SELECT step, I am not getting the complete Payload while processing it. I am getting the following payload only
<?xml version="1.0" encoding="UTF-8"?><messages></messages>
Is there a limitation for WRITE and SELECT operations in the same IFlow. Do I have to use SELECT explicitly in another flow ?
Let me know if I have to follow any other approach to achieve the requirement. My IFlow looks as below:

Any pointer will be highly appreciated.
Thanks and Regards,
Pavan G.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
The following steps have resolved my issue:
Regards,
Pavan G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
Request you to check transaction handling of the integration process.
For more information please refer below blog.
hope this helps.
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi tirumareddy.praveen
Posted on
Thanks for the response, I got some insights about transaction handling and simplified my integration flow as well.
I writing the data for the successful response from HTTP i.e 200- status OK. When there is a failure HTTP response i.e 404-not found. SELECT has to fetch the data written for all the successful cases.
I maintained Required for JDBC for the Local Integration Process and kept Not required in the Main Integration process. But, no luck.
After the SELECT step, I am not getting the complete Payload while processing it. I am getting the following payload only
<?xml version="1.0" encoding="UTF-8"?><messages></messages>
Is there any limitation of SELECT data store operation or transaction handling in exception subprocess?
Please let me know if I am missing anything.

Regards,
Pavan G
Hi Pavan,
Check and change the below if you haven't done.
1. Use Get instead of Select datastore
2. set visibility to Global for both DS.
3. You have to read with the same entry id as you have written data using write.
Regards,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.