DocuemtList Problem - When incoming doc is single

Hi ,

I am trying to loop over a document list and do some process for each document. This is working fine , If there are multiple itmes.
When the data contains only one Item, it is not going into loop.
Could anyone please help me out …

—DocumentList (Trying to loop over this doc list ,
Problem when a single item comes in here)

Thanks in advance


Tell us what is your current flow service loop steps doing?

So responses would be easier.


The input for my service is a document which contains a doc list inside. I have to loop over the inner doc list.

For each Item in DocumentList I have to perform some logic depending on a Flag in that Item and send that to DB.

Please search the forums on this topic. It has been covered many, many, many, many times.