Run Action AFTER Iterator Completes
Status: Open · Asked by Dominic Tay on · 0 views
Hi, I've searched the forums and read the thread: https://forum.pabbly.com/threads/how-to-break-the-iterator-how-many-steps-are-iterated-looped-after-the-iterator-action.11816/
However, this question is still unanswered: How do I run an action ONCE and AFTER the iterator is completed?
In my circumstances, I wish to add multiple actions that will only run only ONCE, after the iterator completes adding a contact into my mailing list.
Thank you for your help in advance.
Hey @Dom T
However, this question is still unanswered: How do I run an action ONCE and AFTER the iterator is completed?
Regarding your particular concern, you can try creating 2 routes using the Router action step.
You can use the Iteration of the action step inside 1st route and in the 2nd route, you can use the action steps which you want to perform only once.

Thank you.
Hey @Dom TRegarding your particular concern, you can try creating 2 routes using the Router action step.
You can use the Iteration of the action step inside 1st route and in the 2nd route, you can use the action steps which you want to perform only once.
Sorry for involving myself in this thread but I have the same issue - and have 2 questions about @Supreme's solution. If you do this:
1. Will the Route "Action steps to run only once!" only run AFTER the "For Iteration" route?
2. Will the complete combined output of the route "For iteration be passed to the Route "Action steps to run only once!"?
I need to do the same however I need to use the full output of the route "For Iteration" in the "Action steps to run only once!" route - is this possible?
Hey @apps
Could you please elaborate more on your concern with the screenshot so that I can check the possibility and help you?
Thank you for sharing the video. Please allow me some time. I will get back to you soon.
@Arshita Ok, looking forward to hear back
1. Will the Route "Action steps to run only once!" only run AFTER the "For Iteration" route?
Yes, the "Run Only Once" After route will run after completing the Iteration from the 1st route.
2. Will the complete combined output of the route "For iteration be passed to the Route "Action steps to run only once!"?
Even if it passed after completing the Iteration I have set up the Counter step with the help of the Filter step which will only allow to process further only once.
Yes, the Only Run After route will run after completing the Iteration from the 1st route.
Where do you see the "Only Run After route" option? I don't see it
Where do you see the "Only Run After route" option? I don't see it
Correction, please check the route "Action steps to run only Once!".

@Supreme Sorry, I don't see that option anywhere. Which router and where in the flow?
Can you please create a new thread regarding your concern, so that we can continue your specific requirement over there?
@Pabblymember11 - can you explain what was done to make this work? There's no usable resolution posted in this other the OP's related post.
@Pabblymember11 - can you explain what was done to make this work? There's no usable resolution posted in this other the OP's related post.
Please create a new thread and elaborate a bit more on the exact use case you are trying to achieve.