How to map variables to an document list

I have a document list , and it is supposed to have only one element. Can I directly map a variable to the variable of the document list. What I don’t want is to create a document having same structure as the document list and then append to it. That means I need to change quite some of my code.

You can use indexes inside the map.

If you just want to map a variable to the document list by using the index. or else you may loop through the document list and assign one by one.

what is your requirement? do you want to map the same variable to the document list element?

I fully do not understand your question. Can you give some examples sharing the document list structure and what is your expected output.

Hi,
You don’t even have to loop thru the source document list, just map the variable from the source document list to the variable in the target document list. Simple and clean.

HTH,
David