Skip to main content

Batch Data

Controlled node

Overview

If your job has Is Batch and Use Batch Input Data enabled, then this node will output the current batch of data. The data returned will be an array of database rows. Where the number of rows returned is equal to the batch size defined in the job settings, except for the last batch which may be smaller if there is insufficient data remaining. The starting index of the batch is determined by the current batch index, which is zero-indexed.

Inputs

InputTypeDescriptionDefault
RunEventGet the current batch of data-

Outputs

OutputTypeDescriptionDefault
DoneEventEmitted when the current batch of data is ready-
DataArray<Object>The current batch of data rows from the selected database table-