Only map first instance that matches criteria in for-each statement
Summary
Only map first instance that matches criteria in for-each statementContent
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?
Tagged:
1