Script Action: For-Each

Function

Evaluates each row of a table and executes a script action for each row whic is defined in another project. UMRA comes has several built-in tables to deal with a large variety of user management tasks. There are situations however, where these standard tables may not be sufficient:

In such cases, you can use the For-Each and Manage table data script actions to create your own tables.

Deployment

Typically, this script action would be used to evaluate the rows in a table and to execute a script for each row which is defined in another project form. In other words, the For_Each script action is separated from the script which needs to be executed on the result of this action.

Property Name

Description

Typical setting

Remarks

Table variable name

Variable name of the table on which the For-Each action has to operate

 

 

Script project

Name of the project which contains the script which needs to be executed on the table output variable

 

 

Column

Corresponds to the column number in the generic table which contains the data you want to operate on

 

 

Return variable

Specifies the name of the variable that must be returned when the script is returned.

 

 

Stop loop on error

Here you can specify if the script should continue upon encountering an error or not

 

 

See also:

UMRA tables - Introduction. This document is also available as a PDF document on the Tools4ever website in UMRA Tables - User Guide.

Script Action: Manage table data