For Each With Filter

Hello Experts,

Could you please provide some code snippets for forEach with condition?

I am trying t have a scenario where the mapping logic is applicable where the condition is satisfied?

Kind Regards

IIUC, ForEach mapping was brought in to simplify array mapping. This will be more helpful if you are dealing with complex docs containing arrays and EDI segments.

Let us know what you are trying to achieve, we can simply/optimize the mapping service.