Looper issues: Loop list is empty

Hi there,

Another issue I am having with loopers;

I am currently using a query in my table to show only machines that are “active”.

My app then uses its aggregation as a looping list. However most of the time the app is showing me an error “loop list is empty” most of the times I try to execute. However, after about 3 restarts of the app, the loopers successfully execute their tasks, but then it shows the same error for about 3 restarts again.

I tested the query on the table and all works fine.

Have any of you encountered a similar issue? And if yes, how did you manage to fix it?

Thank you and regards,

Jean Claude Mercieca

Hello @Jean1,

We would need more detail to answer you.
What loop are you using? A custom widget or Automation?
If Custom widget when/how do you trigger it?

A tentative of answer: if your aggregation as input list is not stable, try to use a connector function to populate your list.

KR,
Kevin

Hi @kefl

Thank you for your reply, I am using the looper V2 custom widget,

It is being triggered by a Boolean variable, when the button is pressed the Boolean’s status is switched to “yes” and triggers the loopers.

I could try a connector yes, do not have much experience with them, by any chance would you happen to have a source that can support with this?

Thank you and regards,

Jean Claude Mercieca

Yes, sure. You can start your journey here : Connectors

If you are struggling later with filter, order,… there is some hidden docs at:
https:// YOUR TULIP INSTANCE.tulip.co /apiDocs (remove spaces and replace by your instance)