Well for mapping fields inside documentlist to fields inside other documentlist you need to use LOOP.
In properties tab of loop put source documentlist in “in-array” and target documentlist in “out-array” and perform field to field mapping.
I am afraid to say but there’s no way that you can directly map document list to document list if both have a different structure. You have to do a element to element mapping for each and every element (variable) that you are trying to map. You’ll have to loop over the document list as Puneet Saxena mentioned.
which is not the case i guess…
so u cant just loop doc/doclist/doclist…becouse there is no heirarchy here…
(maybe the way shaik explained in the first case is not clear enough for me to understand the structure of document…but anyhow let me know what u guys think)
Well, in Shaik’s Case if he has 3 doc list inside document at source side and same structure (not the fields or document or doclist) at target.
He has to put loop for individual doclist and give correct “in-array” and “out-array” , so as to accomplish field to field mapping. E.g.
LOOP [inarray : source_doc\doclist1, outarray : target_doc\doclist1 ]
---------MAP [field to field mapping]
LOOP [inarray : source_doc\doclist2, outarray : target_doc\doclist2 ]
---------MAP [field to field mapping]
.
.
.Same way for all the doclist inside parent document.
If , Doclist are nested, then nested loop will be used e.g.
LOOP [ inarray : source_doc\doclist1 , outarray : target_doc\doclist1]
-----MAP [field to field mapping]
-----LOOP [ inarray :source_doc\doc1\doclist2 , outarray : target_doc\docl1\doclist2
----------MAP [ field to field mapping]
.
.
.
.
.Same way for all the nested doclist.
Note: a documentlist (if mentioned in an in-array or an our-array) becomes document inside LOOP.