"For each item in a list..." workflow action fails if no items

I’m sure this wasn’t the case previously, but I noticed one of my workflows failed and it was because there were no items in the list I was trying to loop through.

Should the behaviour not be to continue on to any additional steps in the workflow if there are no items in the list?

Thanks!

Hey @lukebranford - this should still be working fine, can you share the URL to the workflow and we can take a closer look?

Thanks

@darragh thanks for the reply! I’ll reach out via support :slight_smile:

Ah, just looked at this in a bit more detail and I see the issue, actually on my end! It’s triggering a webhook to Xano API, but because there are no items, it throws an error. I’ll put in an “only continue if…” step.

Sorry for the false report, thanks again.

1 Like