Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Only map first instance that matches criteria in for-each statement

edited Apr 30, 2018 7:00AM in Integration 3 comments

Summary

Only map first instance that matches criteria in for-each statement

Content

Hi,

 

In a mapping in ICS we are looping through a repeating element in the source to map a value when a certain set of criteria is met. The challenge is that in the repeating element the criteria might be met more than once. In that case the source value is mapped several times (concatenated in the target field).

So far we have not been able to identify a way to set up the conditional mapping in the ICS mapping so that we can define that only the first instance that meets the criteria is to be mapped (see screenshot of current mapping below). Any thoughts on how this can be solved?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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