Icon

03_​Flow_​Variables

8 workflows in this folder and its subfolders

Icon
01_​Using_​Flow_​Variables_​for_​the_​Time_​Range

January 1970 · This workflows shows an example of filtering data with flow variables that indicate date and time values. The start and end date are defined as global flow variables and used to filter the output of the Create Date&Time Range node. Since KNIME currently does not have a global flow variable/configura…

Icon
02_​Using_​Flow_​Variables_​to_​control_​Execution_​Order

January 1970 · In this workflow, the data are first written into a temporary (in-memory) SQLite database and then read into KNIME. In order to control the execution order so that the DB Table Selector node is executed only after the DB Writer node, these two nodes are connected by a flow variable connection.

Icon
03_​Create_​and_​Consume_​Flow_​Vars

October 2017 · This workflow extracts data for a given country, aggregates it, and renames the aggregated column to the country name. The country name as a flow variable is created with the String Configuration node. To overwrite a configuration setting with a flow variable, you can use: the flow variable button o…

Icon
04_​Extract_​Data_​for_​Highest_​Sale_​Country

October 2017 · It is easy to find the country with the highest number of sold items with: a GroupBy node to calculate the number of sold items by country; then a Sorter node to sort the countries by decreasing number of sold items; and finally a Row Filter node to extract only the first row (country) from the sort…

Icon
05_​Modified Variables Propagation in GET Request Captured in Try Catch

June 2021 · The workflow sends a GET request inside of a Try & Catch construction. The flow variable totalItems containing the total number of books available on Google Books for all search terms is created inside the Try & Catch construction. For the case when the GET Request fails, a Custom message flow varia…

Icon
06_​Modified Variables Propagation in GET Request Loop

June 2021 · This workflow demostrates the use of the option "Propagate modified loop variables" available in Loop End nodes. The workflow repeats sending GET requests (where the maximum number of results is limited to 40) to get all the relevant book authors and titles for a provided search term untill the star…

Icon
07_​Modified Variables Propagation in GET Request Nested Loop

June 2021 · This workflow demostrates the use of the option "Propagate modified loop variables" available in Loop End nodes. Given a list of search terms, the workflow iterates over each search item to avoid overloading (outer loop) and then it sends GET request to the Google Books API for each search term to g…

Icon
Variable Filter Example

The Variable Row Filter is essential when working with many flow variables in a large workflow. It keeps the flow variables "traveling" through the workflow connection in a handy and human-readable size. Some possible use cases include: Keeping the scope of flow variables precise to where they are n…