You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC write file inside loop

Received Response
22
Views
2
Comments
edited Sep 4, 2020 12:36PM in Integration 2 comments

Content

Hi Experts,

I have a requirement to post transaction to fusion apps. For this, we did the following:

  1. Some processing ....
  2. Start a while loop with the condition that offset less than record count
  3. Inside the while loop call a REST API to get data with the offset and limit
  4. Loop through the REST API response result and write append to a csv file
  5. Increment offset
  6. 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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!