Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
nameactionflow
nopaneltrue

For links to all pages in this topic, see Understanding Actionflows.


Excerpt
namePagepage

Overview

Use a 

Insert excerpt
_action_foreach
_action_foreach
nopaneltrue
 when it is necessary to iterate over a set of records, or a list of values, and generate an output record for each one.  

Insert excerpt
_property_tabs
_property_tabs
namebasic-h
nopaneltrue

FieldDescriptionExample Value
NameThe name given to the node and displayed on the canvas.MyForEach
Input Expression

The Input Expression iterates over the data provided in the Input Parameters and the records are passed to the Output Attributes in the form _result.value.

Input Parameters are referenced using their name, prefixed with the name of the connector. For example, in.MyAttribute . If an empty record set or empty list is provided then no output will be generated.

This field is mandatory

(PhixFlow version 11

.

1 +).

// Receives a list of Invoice IDs, these are iterated over using

in.InvoiceID    

Learn More

Inputs Parameters

Can accept a single

Insert excerpt
_driving_input_connection_point
_driving_input_connection_point
nopaneltrue
.

The grid contains a list of all input connection points and their type.

  • To add an Input Parameter, in the section toolbar click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     and set its properties.
  • To edit an existing Input Parameter, double-click it in the list to open its properties.
  • To remove an Input Parameter, select one (or more) from the list and in the section toolbar click 
    Insert excerpt
    _delete
    _delete
    nopaneltrue
    .

Input Parameters can be mapped to by clocking on the incoming connector.

Output Attributes

The grid contains a list of all Output Attributes.

  • To add an Output Attribute, in the section toolbar click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     and set its properties.
  • To edit an existing Output Attribute, double-click it in the list to open its properties.
  • To remove an Output Attribute, select one (or more) from the list and in the section toolbar click 
    Insert excerpt
    _delete
    _delete
    nopaneltrue
    .

New Output Attribute

FieldDescriptionExample Value
NameThe name given to the attribute.Invoices
Type

Defines the type of data to be returned.

See Understanding Data Types

String   

Expression

This is a PhixScript expression. Values returned by the Input Expression are available in this expression as:

_result.value

To work in a larger popup window, click 

Insert excerpt
_editor_expand
_editor_expand
nopaneltrue
.

See also:

_result.value

Advanced

FieldDescription

Prioritise Throughput Over Ordering

Insert excerpt
Actionflow Properties
Actionflow Properties
namePrioritiseThroughputOverOrdering
nopaneltrue

Insert excerpt
_audit
_audit
nopaneltrue