Finalize scenario if there is no image to iterate through Iterator module

Hello Makers, I have a scenario that works perfectly.

I’ve got 1 issue when there is no images available, scenario stops through the “Iterator” module. Actually, those images are not necessary, so I would like the scenario to continue running until the end.

Is there a simple way to bypass and finalize the scenario if there is no image available?

{{ifempty([...]; add(emptyarray; "pasdephoto"))}}

Empty array stops the scenario

I tried the solution from the following topic but I admit that it’s not clear for me and it didn’t work :

Anyone to help me please?

That said, before trying {{ifempty([…]; add(emptyarray; “pasdephoto”))}}, I tried :

{{ifempty([...];ignore)}}

It didn’t work anyway. I tried several things but I really don"t how to force to continue the scenario.

tried using error handlers ? like ignore and commit

Perhaps you can use a router and route the paths depending on if the array is empty or not.

Thank you @LinkYourTech . Is there nothing simpler?

If you use an aggregator right after the iterator the scenario will continue even though there are empty values. But I do not know how you need to map your modules after that iterator so not sure if this is something you can use.

Thank you @LinkYourTech , as you said, I tried but I don’t know how to map the aggregator.

By the way, I’m sorry to insist but I had the same issue this morning again and again :


Makers, @Bjorn.drivn , let me know y’all if you have any idea?

Issue is your sending emails after the iterator. If you send an empty value to the fields in the emails it will throw an error. Why do you want this scenario to continue?

I necessarily need the scenario to send me an email at the end to notify me depending on the first webhook input data.

By the way, I set up a filter right before the Iterator, if data pass through this filter, it means that I need to be notified !

Issue is your sending emails after the iterator.

It’s not really true because the Set variable module is already off before Email module

Then you can just add a router before that iterator and move the email module that notifies you to that router. That way you will get the email notification even if the scenario doesnt progress after the iterator.

I understand but the Iterator module is useful at the end for the Email content