Array Variable Format

Post variable and regex related tips, questions.

Array Variable Format

Postby Tech Support » Thu Dec 20, 2012 9:09 am

user support request:

The Filename to Array task looks perfect. The only problem I’m having is on the email, when I call the array it’s returning “null”. I’m using the variable as $%ARRAY--BigYFTP--Filenames%$ and when I check the variable data under menu Variables|Task Variables, all the data shows correct. Is there a different syntax for calling an array variable?
Tech Support
Site Admin
 
Posts: 1279
Joined: Thu May 25, 2006 11:12 am

Postby Tech Support » Thu Dec 20, 2012 9:10 am

This is the format to use:
$%ARRAY--BigYFTP--Filenames::ALLROWS%$

Documentation:
$%ARRAYNAME::FIRSTROW%$
$%ARRAYNAME::LASTROW%$
$%ARRAYNAME::ALLROWS%$
$%ARRAYNAME::FIRSTCELL%$
$%ARRAYNAME::LASTCELL%$
$%ARRAYNAME::ROW::rownumber%$
$%ARRAYNAME::CELL::rownumber::columnnumber%$

example: $%ARRAY--taskTitle--variable::FIRSTROW%$
Tech Support
Site Admin
 
Posts: 1279
Joined: Thu May 25, 2006 11:12 am


Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests

cron