Loop End not recognising Loop Start (Encountered Loop End without compatible head)

Hi,

I have a workflow that utilises Try/Catch within a loop to help relay errors to the users, however, I’ve encountered an error in the workflow with the loop end - ‘Encountered Loop End without compatible head’.

I believe this is due to the fact that the Loop End does not recognise the Table Row to Variable Loop Start node that I have in my workflow - I’ve checked the scope (nodes outlined in black) and you can clearly see that the loop start node is not linked to the loop end (screenshot below).

I’ve investigated and as such, I added a test loop end node at a different point of the workflow (highlighted in red below - NOTE, this node is in the incorrect place and doesn’t meet my needs)

As you can see below, when I checked the scope of this loop end, I no longer get the error and the Loop Start node plus all of the upstream and downstream nodes are captured within the scope.

Has anyone seen a similar issue previously? Is there anything obvious in my workflow that looks incorrect?

Any advice would be greatly appreciated as this particular case is driving me crazy :frowning:

Thanks in advance.

Pete

I would assume you can’t have two loop ends with only one loop start. You should wrap your try catch around the loop rather then inside.
br

1 Like

@Daniel_Weikert Thanks for your reply.

I’ve rechecked my 1st screenshot and it perhaps was not very clear.

Below you can see the current state of the workflow.

I have a Chunk Loop Start with a compatible End loop BEFORE the loop I am experiencing issues with.

I then have the loop I am experiencing issues with - Note, the lower loop end in my original screenshot was misleading as this was only added temporarily as a test.

Thanks,
tp

I would still try to wrap the loop start as well as the loop end into the try catch block to make sure this is cosidered and executed as one loop.
br

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.