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 Name | Description |
---|---|---|
1 | Step Name | Specify the name of the step. This name has to be unique in a single workflow. |
2 | Limit | Limit sets the maximum number of rows to generate. |
3 | Never stop generating rows | Enable 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. |
4 | Interval in ms | Specify the interval between generated rows in milliseconds. |
5 | Current row time field name | Specify the *optional *field name for the Date field containing the time when the current row was generated |
6 | Previous row time field name | Specify the *optional *field name for the Date field containing the time when the previous row was generated. |
7 | Fields | This 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}. |