SAP / apibusinesshub-integration-recipes

Accelerate integration projects using SAP Cloud Platform Integration with crowdsourced best practices, curated by experts, designed for developers.
Apache License 2.0
104 stars 81 forks source link

Error with SAP Ariba Integration Toolkit - SAP Ariba Integration File Upload Events - Buying #86

Open dirugadr opened 1 year ago

dirugadr commented 1 year ago

Hello, We are facing an issue with this iFlow every time we have more than one file to upload to ARIBA. The first one goes well, but the second failed with this error: Throwable caught: Task CombinedDataPull already running. || No stack available (HTTP 503) I've noticed that the SFTP sender adapter is configured to get just one file per poll, but our CPI tenant has two runtime nodes, so two parallel processes are fired every time. (you can verify this behavior at https://help.sap.com/docs/cloud-integration/sap-cloud-integration/configure-sftp-sender-adapter, "Max. Messages per Poll" parameter)

Is there something we can do to solve this issue? Thank you in advance.

Adrián

daryldman commented 10 months ago

The process can accept the files zipped as well- have you tried that approach- that way you wont have multiple files being attempted at the same time?

Alternatively, you would have to update the iFlow to catch the error and pause to retry on the 2nd file to accommodate the multi-threaded requirement.