Nested expression
Posted: Wed Sep 23, 2020 6:18 pm
Hi,
I have a rowset called Response.
I am running a for-each loop and the currentItemVariable is "responseRow"
Inside this, I have a for loop whose currentIndexVariable is denoted by "indexVar"
Under the for loop I am trying to execute
${responseRow[${indexVar}]}
but it fails with error [8050 - Set Variable] Invalid expression for attribute 'value' in element 'setVariable'. Unrecognizable character '$' found at position '12'.
If instead, I write ${responseRow[1]}, it works.
So question is, is it possible to have nested expression.
I have a rowset called Response.
I am running a for-each loop and the currentItemVariable is "responseRow"
Inside this, I have a for loop whose currentIndexVariable is denoted by "indexVar"
Under the for loop I am trying to execute
${responseRow[${indexVar}]}
but it fails with error [8050 - Set Variable] Invalid expression for attribute 'value' in element 'setVariable'. Unrecognizable character '$' found at position '12'.
If instead, I write ${responseRow[1]}, it works.
So question is, is it possible to have nested expression.