Skip to main content
Skip table of contents

Use multi-valued variables in Sequence

Multi-valued variables are considered as JavaScript Arrays.

For example, a multi-valued Sequence variable named myMultiVar can be accessed in a SequenceJS Step as follow:

for(var i = 0; i < myMultiVar.length; i++){
	// code snippet

It is possible to use a jIterator Step whose Expression is myMultiVar. You have access to the current object value with the JS item variable and index gives you the current index in the Array.

JavaScript errors detected

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

If this problem persists, please contact our support.