useOneAsMany is a very useful function to repeat header level-like data, as many time as needed at detail-level data, and still follow desired context change pattern. It is difficult to explain this function using words and sentences only, let’s understand
Handle Empty Context with mapWithDefault
mapWithDefault is useful to handle those cases where the source message field is expected, but might not be existed. Example in previous firstname lastname to fullname example, both firstname and lastname is expected to be concatenated.Before implement mapWithDefault:Case 1:Both firstname and
Simple Mapping to Combine Firstname and Lastname to Fullname
The objective of this post to demonstrated all the relevant common ESR objects required to establish a simple PI mapping. This simple PI mapping will map source message with 2 fields (firstname and lastnam) to target message (fullname).Here are brief