Learning objectives:
Control node settings with flow variables
Repeat the same task with a loop
Execute different branches of a workflow according to a condition
Process Data&Time data using Date&Time nodes
Process data within a database with database nodes
Workflow description: A data set with customer transaction information is used in these examples.
In the first example, the store with the highest sales is automatically identified using a flow variable. This process is repeated for each city in the data set using a loop, and the resulting table is written to a separate file for each city.
In the second example, the total sale amount is aggregated for individual customers according to the store types (online vs. onsite store), and the results are visualized by various visualization nodes. The visualization nodes are combined with configuration and widget nodes, allowing users to customize visualization during configuration and interactively within the composite view. A switch node is used to support conditional execution of workflow branches.
In the third example, processing of Date&Time data is showcased, including duration-based filtering and extraction of Date&Time field.
In the fourth example, in-database processing is outlined. The data set, stored in a database, is aggregated, sorted, and filtered to select a subset of rows from high-sale stores. This process is implemented within a database by a series of database nodes.