HI All,
I have written the following code
I just want to iterate over the list which I have created using enum function, but it's keep on saying that listOfIntegers is unused variable though I want to use in forEach loop..
Can anyone please correct me here..
Thanks
Discussion posts and replies are publicly visible
You need to unlearn the syntax of the language you are used to. You create a variable and assign a value in Appian just using "=" ":" not ":=".
And, Appian uses a functional language paradigm where variables are immutable. So your foreach will also not work.
and one more thing stefan can you please guide me here
I want my result to be in a single list {a,b,c,d,e,f} but I am getting result as {{a,b}, {c,d}, {e,f}}
You can try using a!flatten.