Facing issues with loops while using predictor function..

Hi,
 I was trying to take input from each file and feed it to the predictor function using loop function.While i was trying to feed the data from file reader to predictor function along with the model,i see this error message--" Unable to merge flow object stacks: Conflicting FlowObjects: <Loop Context (Head 2:40, Tail 2:43)> - iteration 9 vs. <Loop Context (Head 2:85, Tail unassigned)> - iteration 0 (loops/scopes not properly nested?)" .Please find the attachment.Could you please help in re-solving this issue?Thanks in advance.

Regards,
Sai.

Hi Sai, 

Thanks for the report.  Something weird is happening here, I wasn't able to reproduce the problem.  Do you have an example workflow that you can upload for us to look at? 

Regards,

Aaron

 

Looking at the png snapshot and the error logs, it appears you have a second loop running just off the screenshot which is running concurrently with this loop.

I say this as the errors mentions about two different head and tail node references.

This is the likely cause.

Simon.