Appending to Record List without refrence


I have a document list. I am calling the appendToDocumentList flow service to append to this document list from a temporary document. Now this happens in a loop so the temporary variable will be overwritten each time. As the appending is just a reference it would mess up my whole list. Is there any function which would enable me to copy (no reference) the temporary document to the end of the list ??

Appreciate your help.

Actually in your loop while appending to a original documentlist from temporary document (just drop the temporary document)and keep on looping.This will work and builds the documentlist.check with stepping in the loop.

Please make sure (pipeline variables fromitem,toList are also dropped).