From wiki.ginstr.com
Revision as of 11:54, 15 March 2017 by Dinko (talk | contribs)
Jump to: navigation, search

gn:act_forEach

Description
Used exclusively with Variables of rows, rowsColumn, pictures, email datatypes, to repeat the execution of commands, for each element in the list parameter
Action returns
void

Action signatures

Repeat the execution of commands based on value

[gn:act_forEach]|[source;ACTIONS]
Parameter Description
source source from where the while action is using value as expression parameter
ACTIONS list of actions which will be executed continuously until all rows are iterated

Example

variable/listId - list used for iteration
variable/listId(rowColumnName1) - retrieving value from rowColumnName1 column of iterated row

[gn:act_forEach]|[variable/listId;[gn:act_rawWriteValues]|[tableId;column1,column2;variable/listId(rowColumnName1),+id/listRow]]