I have two DocuementList of different names but with same Schema (let us consider name DocL1,DocL2.)
Now when I am looping over one DocumentList ,Inside that loop I can see DocL1 as doc that is correct BUT at same time DocL2 also showing doc instead of Document list .
Please suggest what is going wrong or anything I am missing .
We have faced similar type of issue earlier where both document doc1 & doc2 are referring to same reference path and changes to one document was reflecting to other as well.
You can check if you have any direct mapping from doc1 to doc2 at document level.
Exactly @Baharul
I was facing same issue .
I extracted that document to local document with different name and it solved the problem .
Thanks all for reply