cancel
Showing results for 
Search instead for 
Did you mean: 

Looping call sends only last 400 records in response

former_member60331
Participant
0 Kudos

Hi Experts,

I am using a SOAP synchronous scenario to send full load of employee master data to the target system.

I am using compound employee API to fetch the data and I am using looping call to fetch all the records from SF system.

I have mentioned loop limit to 100 and page size of compound employee api is 400, however response contained only last 400 records.

Can someone please suggest the changes in the flow so that i can send all 40000 employee in the response.

Regards,

Akash

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Akash,

Store the data at end of looping process call( inside ur local integration process) as property and after each call make sure to append it to same. Once your call comes out of Lopping process call use content modifier and set it to body so that you will have full data.

Regards,

Sriprasad shivaram Bhat

Answers (1)

Answers (1)

Hi akashenoc,

Just to add to sriprasad.shivarambhat suggestion, if it can be avoided try to complete the processing in the local integration process and try not to accumulate. Only if you want to consolidate then you can follow what Sri has suggested, store it in a property and keep appending the body every time the SFSF call is made.

Hope this helps!

thanks and regards,

Praveen T