OIC - Cant map to list of items inside foreach
Summary
In a integration orchestration, list of items becames one element list after for-eachContent
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.
Tagged:
0