Mapping DocList to DocList/SucDocList

Hi All,

I have a requirement like, i want to loop through the input documentList and map the values to the SubDocList of the MainDocList.

Example:

Input:
DocList
var1
var2
var3

Output:
MainDocList
SubDocList
var1
var2
var3

Mapping to a tempDocList i am able to acheive it, but i am looking for an efficient way of doing it by avoiding populating the tempDocList.

Is there any way that I can acheive this ? :rolleyes:

Thanks for your help
pradeep

Is there any transformations of the var1,var2… between the input and the ouput ?

if no, just map the DocList to your SubDocList in a MAP step… :confused: