Skip to main content
Version: Current

For Each

Mode: Streaming Mode: Request-Response

Description

For Each node transforms the incoming event to N events, where N is number of elements in the list provided to it at runtime.

Parameters and configuration

NameDescription
ElementsList of elements. It can contain both fixed values and expressions evaluated during execution.
Output variable nameThe name of the variable which will contain value of the list element for which this particular event was generated.

Example

  • Elements is {"John", "Betty"}
  • Output Variable Name is outputVar,

then two events will be emitted, with #outputVar equal to "John" for the first event and "Betty" for the second.

Additional considerations

The #input variable is available downstream the for-each node.