cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to fetch the correct data from the data store in SAP CPI

vineetha12
Participant
0 Kudos

Hi Everyone,

I have created two Iflows,

->First Iflow - Fetches the files from the sftp adapter and checks if there is an error in the files, if there are any errors it stores the error details in the Data Store.

-> Second Iflow - Fetches the errors details stored in the Data Store and sends it via the mail.

The problem is, whenever the Iflow fetches the file from sftp server the error details are getting stored in the data store, but the second iflow for the first time it is sending an empty mail even though we have the data.

And when the iflow is fetching the file for the second time, now the previously stored error details from the data store are being fetched and send vial email.

As you can see in the above picture there are details in the data store created at 18pm IST, but when I tried to fetch those details I was getting an empty mail.

And When the first Iflow fetched the other file, the detials are stored in the datastore created at 20pm IST, No this time when I fetch the data from dat store I was getting the previously stored errors i.e at (18pm IST) not the current once's created at (20pm IST).

Can any one please help me with the issue?

Best Regards,

Vineetha.

View Entire Topic
0 Kudos

what if you make second flow fetch data in recursive way validating timeline and payload size?

vineetha12
Participant
0 Kudos

Hi mayurbelur.mohan

Could you please elaborate how to do it ?