Skip to main content
Skip table of contents

SetVarListFromGridColumns: Create a list of variables from the unique values in grid columns

Tag: SetVarListFromGridColumns

The SetVarListFromGridColumns function creates lists of variables from the unique values in the grid column.

XML
<SetVarListFromGridColumns/>

Tag Attributes

AttributesValue Description
ListName

Name of list - Required

Variable namesAny unreserved name valid in XML. Reserved names are listed on: Variables.
Variable values

Valid grid column IDs. If a column is not found (invalid column ID), an error is raised, the action fails,

the list ends up empty and the loop will do nothing.

Explodetrue/false
Verbose

When set to TRUE, displays a console trace for each element added to the list

Defaults to TRUE

Example Script

XML
<ytriaAutomation>
	<SetVarListFromGridColumns ListName="FromGrid" varUserName="displayName" Unique='Any variable name' />
	<loop list="FromGrid">
		<ExecuteListAction/>
		<echo value="===>>> user {%varUserName%};"/>
	</loop>
</ytriaAutomation>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.