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 - Cant map to list of items inside foreach

edited Sep 9, 2019 1:27PM in Integration 13 comments

Summary

In a integration orchestration, list of items becames one element list after for-each

Content

Hi,

How can I map the current element of a Foreach to each item of a list of items that must be returned by the Endpoint of the current integration?

I have a list of elements returned by a REST Endpoin before the ForEach but after the loop ForEach it returns only one element in the list.

I perform a calculation of business days between two dates calling a JavaScript Function that returns the duration in days.

The result of the JS function should be updated in a specific field of each element of the list, but after ForEach the list becomes a one only element.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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