In this example shows that you are passing JSON through postman and in which all records are converted in LinkedHashmap and In which key id hash value as arraylist so here foreach loop gives ArrayLists one by one object......
2. The For Each scope splits a collection into
elements and processes them iteratively through
the processors embedded in the scope, then
returns the original message to the flow