Comments (25)
also you are responding to a closed issue which isn't the best ;-)
Thank you very much for this product
from n8n-nodes-iterator.
Hi there,
There is an option you can add to tell it when to stop. Which you can let check to see if there is a next page. Not at a pc at the moment, so cannot give you an example right now.
Please check the options and let me know if you were able to fix it.
from n8n-nodes-iterator.
Is There Another Page option - Made it active, started it up. No success
from n8n-nodes-iterator.
You need to create an expression to handle that.
from n8n-nodes-iterator.
How to do that to send in DONE route?
My workaround is a create iF node to check empty value, between modules, that helps me once
from n8n-nodes-iterator.
I checked the code for ya.
There is a bug. And it cannot be used properly.
You can do 2 things.
have a set node before the iterator setting the value to true with an expression.
and then have it check the next page in the loop to set it true or false.
another thing you can do is use the Expected item count option.
from n8n-nodes-iterator.
Thank you very much, i understand what to do
from n8n-nodes-iterator.
IF module between iterator and Http moule works as expected. domain is expected link / main (.com) address of the link
IF empty - ended
from n8n-nodes-iterator.
Does seem to work though, guess I saw something wrong in the code. Didn't have my coffee yet.
from n8n-nodes-iterator.
@lightcomc I've updated the package to version 1.2
Did some fixes and added some small features.
should now work easily for you, as it does not check the option "Is there another page" in the first iteration anymore. So you can easily set that to the next field to see if it exists.
from n8n-nodes-iterator.
https://xxx/api/v4/events?filter[created_at][from]=1666795339&filter[created_at][to]=1666795340&limit=100
Iterate branch reference start not sending any info to next module afer update (grey), strange. and not send if options "here is another page" of "combine" is checked.
Maybe i do something wrong. restart n8n not helps. latest n8n.
I have a feeling it's about to become awesome.
after all
created rollback via [email protected] in Community nodes section.
from n8n-nodes-iterator.
You have to be more clear about what you are doing.
from n8n-nodes-iterator.
the max iterations is causing an issue here. setting it to 9999999 would solve it.
from n8n-nodes-iterator.
Yes, I haven't set a maximum number of iterations, perhaps this will help.
I went back to the old method with IF and it works fine too, solves my problem.
There's a lot of amount there. N8N is super tool, much more flexible in some aspects of the "make" service, but harder to master.
from n8n-nodes-iterator.
Updated to v0.1.2
There is no such option - max iterations
from n8n-nodes-iterator.
Then you didnt update or didnt reboot the server. I am using it myself so I know it is there 😅
from n8n-nodes-iterator.
hard reboot heal all questions, wow it works!
from n8n-nodes-iterator.
I checked new version.
If there are a certain number of iterations, the script works perfectly - it works and makes combine elements and it is really easy to work with this information.
Perfect!
My situation is a bit strange.
A query for 10 iterations may yield 0 pages - this is sent straight to the end of the script. and up to 15 pages (some iterations yield up to 2 pages)
I have the "old IF" check for no page, but it outputs values from only the last iteration.
If the boolean value "Is There Another Page" is additionally active, this also works as described above
It would be ideal to check if there is a page (2 and... page) in incoming data from HTTPS module. If in "Reference Next" is no page - make combine and send all values to Done
from n8n-nodes-iterator.
I checked my case, found a solution to limit the number of iterations issued to one.
One second gives out 1 to 2 pages (2 iterations max). So if there is a second page it is sent to done, if there is only one page it goes via IF empty and works the same as done.
I would of course like to be able to output more data to the handler, but this is enough to be successful. But it will work autonomously.
from n8n-nodes-iterator.
Sorry it is a lot to take in, have no idea what you are talking about. :-)
from n8n-nodes-iterator.
problem in incoming data from HTTPS module.
"Reference Next" no check empty page value. iterate, when next page is empty.
There is no way to stop and combine when page value from HTTPS module is empty.
from n8n-nodes-iterator.
Does seem to work though, guess I saw something wrong in the code. Didn't have my coffee yet.
Oh i forgot about this one. Fantastic - it works!
My case - add expression in "Is There Another Page" - {{$node["HTTP Request"].json["_links"]["next"]["href"]!== null}}
Wonderful! many thanks for support bramkn 🤝
from n8n-nodes-iterator.
It works before 1x version, now first run with error
✅ Is There Another Page
{{$node["HTTP Request8"].json.body.next_page_token !== null}}
ERROR: no data, execute "HTTP Request8" node first
without this check - work as needed
from n8n-nodes-iterator.
That is probably because n8n doesn't accept invalid expressions anymore.
So you will have to fix that. ;-)
from n8n-nodes-iterator.
also you are responding to a closed issue which isn't the best ;-)
from n8n-nodes-iterator.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n8n-nodes-iterator.