General Parameters
Generate a Range of Numeric or Date ValuesThe Range Strategy generates a list of values between a Start inclusive value (it includes the first value) and an End exclusive value (it excludes the last value), based on a Step to increment values. You can define a range of:
Optionally, you can transform the output values by defining an Output
expression. This expression has a unique variable called
Note:
If the order of values in the output of the generator has no importance, you can clear
the Keep order check box for better performance (it gives a better
dispatching of data in multithreading).
Example 1: To generate a range of float values from
In the output, you get 6 float values: Example 2: To calculate and return the cosinus for each value of a
range, you can define For the parameters defined in Example 1, the output returns:
Example 3: To generate a range of dates with a step of 7 days, between March 26, 2024 and April 26, 2024, you can define:
In the output, you get the following date values: Example 4: To generate a range of LocalDateTimes with a step of 4 hours, between April 2, 2024 18:30:00 and April 3, 2024 07:15:00, you can define:
In the output, you get the following values: Enter a Set of Values with a List ExpressionThe Iterate over List Strategy strategy creates a flow using a list defined in the List expression. For example, the following List expression returns 3 fields
[{country:"France",team:"Development",teamCount:60},
{country:"United Kingdom",team:"Sales",teamCount:5},
{country:"Germany",team:"Development",teamCount:20},
{country:"USA",team:"Marketing",teamCount:20},
{country:"India",team:"Development",teamCount:80},
{country:"Japan",team:"Sales",teamCount:5},
{country:"China",team:"Sales",teamCount:6},
{country:"Australia",team:"Sales",teamCount:4}]
The following Table visualization shows the data generated out of the List expression defined above (after the GENERATOR has been linked to a RESULT SET operator with a View calling all the Fields). ![]() OutputA stream containing n values in output. | |||||||||||||||||||||