Workflows ocasionally doesen’t continue while execution shows "completed"

Sometimes my workflows, just stop executing the middle

Hi there,
I saw this happening around one out of 10 or 20 times, that my workflows execution are looking like they are complete it, but they just haven’t finished running.

What could be the problem?

Thanks for help. :slight_smile:

SCR-20230715-kqev

Sadly hard to know what is happening here without having more information. But my initial assumption would be, that the Node Split Rows does not output any items, and then the workflow stops running as it is supposed to.
Does it output anything?

1 Like

Hi Jan.

Thx for the answer. Most times it does output data, but occasionally it does not.

SCR-20230718-hsij

This wouldn’t be too much of a problem, but the execution does not show a “stopped”. It shows successful completed.

image

Yes, that is also expected and correct behavior. When there is no data, can be after all totally expected and fine in many cases and it should then simply stop and not Error. If you want it to error and stop, you would have to:

  • Select to always output data
  • Check with an IF-Node afterward if there is only one single empty item in the data
  • Make the workflow stop and error with the “Stop and Error” Node