Icon

04 Flow Variables - Solution

Solution to an exercise for creating and using flow variables.

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

CHECK YOUR ANSWERS:
The northmost country in the data is Iceland (latitude 64.963).

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? JoinedCountryData.tableMaximum latitudeFilter to the northmost countryor territory Table Reader GroupBy Rule-basedRow Filter Table Rowto Variable 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? JoinedCountryData.tableMaximum latitudeFilter to the northmost countryor territoryTable Reader GroupBy Rule-basedRow Filter Table Rowto Variable

Nodes

Extensions

Links