Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
KNIME Essentials

You're reading from  KNIME Essentials

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781849699211
Pages 148 pages
Edition 1st Edition
Languages
Author (1):
Gábor Bakos Gábor Bakos
Profile icon Gábor Bakos

Loops


Doing the same thing multiple times might look like a bad idea, but we usually are doing slightly different things in each iteration, and with loops, we can factor out the repetition, and our workflows are easily reused.

A few notes about the loops:

  • The flow variables that they generate are read-only; when you replace them, you do not modify them (as those are handled internally), just hide them from further processing

  • The loops can be nested, so it is possible to have things done quite a lot of times

The simple Counting Loop Start node just feeds the same input table (as many times as specified) to the loop, each time increasing the currentIteration flow variable.

When you would like to iterate without the [0, maxIteration-1] interval or the preferred increment is not one, you should consider using the Interval Loop Start node instead of the counting.

Iterating through a table and splitting the input table to smaller chunks can be useful when it is too large to handle it with the workflow...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}