• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Iterator not picking up values from before Iterator

Status
Not open for further replies.

aoris

Member
Hello team,
I am working with a workflow that receives a data set that I am formatting into various rows. I use Iterator to get through a json array (page visits). The iteration process goes fine with the different values (2 records, 2 sets of values, 2 rows in MySQL).

The issue I have is with data not going through the iteration, common to each row: it only gets written in the first record of the iteration, not the next ones. If I relate to the help video of the Iterator (11:18), it's as if I get all the data in the first record. And then the subsequent records only get the iterated values (Name, Id, Quantity, Amount), not the order number. I just don't understand where the error can come from. Any idea? -> the workflow.

Edit: same issue with Google Docs (used as test).

Thanks in advance,
Mickael
 
P

Pabblymember11

Guest
Hey @aoris

Kindly make the data directly from the Iterator action step instead of the JSON extractor action step, since the JSON extractor doesn't require any more.
 

aoris

Member
Thanks @Supreme .

That is strange: I have 1 workflow that works using data from before the Iterator, and 1 workflow that does not work using data from before the workflow.

Also, I do not understand the workflow would stop accessing data variables from before the Iterator. Kind of defeats the point of workflow, doesn't it?
 
P

Pabblymember11

Guest
Hey @aoris

We couldn't find the workflow in which you have faced such an error. So, can you please share the workflow once?
 

aoris

Member
Hey @Supreme !

The workflow is the one mentioned above (the workflow) but I had to remove steps and use a second workflow to move on with the work (basically I resent the data to a second workflow to continue with the process).

I have just added a pair of tasks to run the Iterator and then write out a mix of data points from both before and within the Iterator. Those are page visits. The G doc is: https://docs.google.com/document/d/16wiR_XhQHZqsPScabwscwM1cA7IWGZK6tBGibfowhjg/edit?usp=sharing (view only, no confidential/personal data).
 
P

Pabblymember11

Guest
Hey @aoris

As we can see from your workflows tasks history Id, it appears that the action step is not getting the data label that should come from the Iterator action step.

So, please check your task history ID once whether you are getting the mapped data from the Iterator action step or not.

1677046779203.png
 

aoris

Member
Well, the new workflow is working fine, so I guess that we can close the conversation. I must have introduced a glitch in the data selection or something at the time. Thanks for looking into the matter!
 
Status
Not open for further replies.
Top