Create Datatable $table
Add Datatable Columns "Name", "Phone", "Email"
Add DatatableRowDatatable Row "John Doe", "646-234-0909" , "jdoe@contoso.com"
Add DatatableRowDatatable Row "Jane Doe", "416-234-0909" , "jdoe@contoso.com"
Foreach ($row in $table)
{
//You can access data in a datatable by row index
Show Message Box "User is $row[0]"
Show Message Box "Their email is $row[2]"
Show Message Box "Their phone number is " + $row[1]
//You can also access data by column name for the current row
//Add pause below to see auto generated variables you can use, then remove the pause
Pause
Show Message Box "User has name $_Name"
}
//Stores results to what we call a 'Result Package'
Add Result $table
//Send results from Result Package to location
//in this case sends results to Aura Desktop user
Send Results to Desktop
//You could also save all results added to a folder on Aura Worker
//Send Results to "D:\data\"
Pause
|