I want to print 2D array
a!localVariables( local!a:{{1,2}, {3,4},{6,7}}, a!forEach( items: local!a, expression: fv!item ))
This will give below result
123467
But I want to print the result in below form
1,23,46,7
Discussion posts and replies are publicly visible
In your example above the expression your a!foreach will run on each iteration, is just the value e.g., {1,2}, so that pair/array will be displayed however is appropriate for that type of value. If you have some specific expression rule or function that displays that type of value how you want, then you should use that instead of just the value. For example, instead of just expression:fv!item, use expression:joinArray(fv!item, ","). docs.appian.com/.../fnc_array_joinarray.html
Thanks Scott this helped me.