Router filter options to run Action AFTER Iterator Completes

Status: Closed · Asked by Ian.im on · 0 views

Ian.im — Question ·

Hello,

After searching the forum and this tread: Run Action AFTER Iterator Completes , I still don't understand what filter options to use in the router step to let the step run once after the last iteration.

kind regards,

Ian

Arshita — Reply ·

Hey @Ian.im

To run an action once after the last iteration, you need to use the "Router" step with appropriate filter options. Please refer to the below video tutorial on how a router works and try it from your end:

youtube.com/watch?v=R4zxsQr70Dw

Ian.im — Reply ·

Hello @Arshita

I know I need to use the router step but I don't know what filter options to use. The video doesn't mention it and the links in the old thread don't exist anymore.

In this case I want to rout the first iterated line separate from the others. (not after last iteration but I guess that would be the same approach?)

I tried to get the count of the lines with the array function before the iterator and then use the counter after the iterator to increment with 1 from 0 and reset when the counted lines is reached, filtering the router options with greater or equal to 0.

I must be doing something wrong with the counter because I get weird results (see screenshot).

What Am I doing wrong and would there be a better approach to this?

Kind regards, Ian

Attachments

screenshot.png
Arshita — Reply ·

Kindly provide us the workflow name in which you are getting the issue so we can check on it and guide you further.

Anders Nielsen — Reply ·

Hi @Arshita
Could you provide a general example so everyone will understand this answer?

I would like to know the same as Ian.im.
I basically want to sent a Custom Webhook once after the Iterator has fully run through everything. I don't understand what router filter to use to do that either.

It is in this workflow:
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTY1MDYzNjA0MzI1MjZjNTUzNzUxM2Ii_pc

Arshita — Reply ·

Hey @apps

We have responded to your query in your main thread, please check that out.

Anders Nielsen — Reply ·

Hi @Arshita
I can't see a reply anywhere? Only this

Arshita — Reply ·

I apologize for the misunderstanding.

We are currently checking on it. Once done, we will reply to your query in your main thread. You can check there for updates.

Back to all forum threads · Log in to reply