The objective is to convert 2 different recordsets(SINGER and SONG) under same message, to single nested recordset (SONG nested under SINGER).two_flat_recordset_to_one_nested_recordset_before_after

The message type:
two_flat_recordset_to_one_nested_recordset_MT

The mapping:
For node SINGER, SINGERID and FULLNAME, is direct one-to-one mapping.
For node SONG and SONGNAME, please see below. The idea is for each SINGER, compare all SONG, if the SONG’s SINGERID is match, then map to target. Due to the list of SONG need to be compared as many as the SINGER count (6), so need to use function createMultipleContextCopies to create multiple copies of SONG list.
two_flat_recordset_to_one_nested_recordset_song_songname

The queues:
two_flat_recordset_to_one_nested_recordset_queue

Keep on learning!

Convert Two Flat Recordset to One Nested Recordset Using createMultipleContextCopies

One thought on “Convert Two Flat Recordset to One Nested Recordset Using createMultipleContextCopies

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.