Icon

04 Flow Variables

Exercise for creating and using flow variables.

Use a flow variable to customize the workflow based on the output of a previous node.

Exercise: Flow VariablesRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territoriesin 2020.1.1) Let's look for the northmost country or territory in the data. Calculate first the maximum latitudevalue in the data.1.2) Transform it into a flow variable1.3) Filter the data by this flow variable to the northmost country. Use the Rule-based Row Filter node.Which country is it? Max Weekly EarningsShow only the person with the highest weekly earningsNode 5 GroupBy Table Rowto Variable Rule-basedRow Filter CSV Reader Exercise: Flow VariablesRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territoriesin 2020.1.1) Let's look for the northmost country or territory in the data. Calculate first the maximum latitudevalue in the data.1.2) Transform it into a flow variable1.3) Filter the data by this flow variable to the northmost country. Use the Rule-based Row Filter node.Which country is it? Max Weekly EarningsShow only the person with the highest weekly earningsNode 5GroupBy Table Rowto Variable Rule-basedRow Filter CSV Reader

Nodes

Extensions

Links