no output data (pub.list:appendToDocumentList ) after a loop

I am using loop and inside a loop filtering input list data and collecting correct recoreds using pub.list:appendToDocumentList to a new variable
in the pipelineoutput I see all the data I filtered , but in the step next to loop i am using map no data in output dcoument , can you please help .

Please post your steps so we might see what is wrong.

buddy, create a temp document where you have to map all your collected values into it and finally this document should be map to pub.list:appendToDocumentList…