OIC write file inside loop
Content
Hi Experts,
I have a requirement to post transaction to fusion apps. For this, we did the following:
- Some processing ....
- Start a while loop with the condition that offset less than record count
- Inside the while loop call a REST API to get data with the offset and limit
- Loop through the REST API response result and write append to a csv file
- Increment offset
- After the loop, write another metadata text file. Zip both files and then upload to UCM.
However, I find that in the result zip file contains the metadata text file only. The csv written inside the loop does not exist.
Tagged:
0