'Cycle' path must return to the 'For Each' element in

Hi 

I am writing a for each loop to iterate my notifications list and attached the image for reference but i am getting 'Cycle' path must return to the 'For Each' element in <action> this error. Dont know where i am missing it.

Can any one help me on it?



Hi laxmiprasanna,

The Cycle path should go from the For Each widget to the first widget in your loop. It is also the first flow arrow that comes out of the For Each widget when you select and left-click hold to create a flow arrow.

In your case, remove the Cycle flow arrow from the For Each to the End, remove the flow arrow from the For Each to the IF, then select and left-click hold from the For Each to the If widget. You've done it correctly if the flow arrow from the For Each to the IF widget has a word Cycle on it.

Kind regards,
Joseph Enriquez

Solution


Hi Laxmiprasanna,

Attached image may help you, for loop you are using cycle flow to end instead of action which required to loop.

thanks,

Manikandan K

Solution