Loop


The Loop node is used to mark the start of a loop in the routing rule and is to be used together with the Loop End node. The number of cycles the nodes in between the Loop and Loop End nodes are executed will be according to the number defined in the Loop node.

Node Type

Logic.

Input and Output Ability

This node has 1 entry point and 1 exit point. The input and output msgs will follow the format of the preceeding node’s output msg.

Node Properties

../../../_images/loop.png


Name

The name for this node.


Cycles

The number of cycles to execute the nodes between the Loop and Loop End nodes. You can input an integer or use expressions such as ${msg.property} or ${metadata.property} (the value must be an integer).


Description

The description for this node.

Limitations

  • Minimum number of cycles: 1

Samples

Input Sample

The input of a loop node is the output from its preceding node.

Output Sample

The loop node does not modify the input, but forwards the input to be processed by the nodes in the loop.