Data Record Loop

Block Information

Available in: Page Flow and Cloud Flow

Toolbox Category: Data

Block Type: Regular

Data Record Loop is a regular block that allows you to iterate over all the records retrieved, after a successful read operation, by the Data Read, Data Read Next Page and Data Read Previous Page blocks.

NOTE: This block will provide valid values only after the Data Read, Data Read Next Page and Data Read Previous Page blocks complete their execution. The Data Status block can be used to track the completion.

The block consists of the following (from top to bottom):

Usage Example

NOTE: Please refer to the prerequisite information shown here before seeing the example.

The image below shows an example of the Data Record Loop block. This example incorporates the Usage Example function, as outlined in the Database Reading Logic for examples section on the prerequisite information page mentioned above.

Here is a summary of the above example:

The result for the above example can be seen in the browser's web console, and a sample is shown below:

[LOG(info) 08/29/2023 10:39:29.413] John Smith
[LOG(info) 08/29/2023 10:39:29.415] Jane Smith
[LOG(info) 08/29/2023 10:39:29.415] Max Mustermann
[LOG(info) 08/29/2023 10:39:29.415] Joe Bloggs

Last updated