Skip to main content

Generate Rows

Description

Generate Rows is a step in the Input Plugin for Process Studio Workflows. Generate rows step is a data generating step that generates a single row or a specified number of rows. By default, the rows are empty; however, you may define a number of static fields. Generate Rows is used primarily for testing purposes.

You may generate only one row that is an initiating point for your workflow. For example, you might generate one row that contains two or three field values that you might use to parameterize your workflow and then generate the real rows.

Or you may use Generate Rows to generate a specified number of rows. It may be useful for generating a fixed number of rows, for example, you want exactly 12 rows for 12 months of a year.

Configurations

No.Field NameDescription
1Step NameSpecify the name of the step. This name has to be unique in a single workflow.
2LimitLimit sets the maximum number of rows to generate.
3Never stop generating rowsEnable this checkbox for real-time use cases where you never want to stop the running workflow.

The output of this step is then used to drive recurring tasks like polling from a file, queue, and database.

4Interval in msSpecify the interval between generated rows in milliseconds.
5Current row time field nameSpecify the *optional *field name for the Date field containing the time when the current row was generated
6Previous row time field nameSpecify the *optional *field name for the Date field containing the time when the previous row was generated.
7FieldsThis table is where you configure the structure and values of the rows you are generating (optional). Value for a field can be an environment variable too, e.g. ${paramater1}.