Hello guys,
I have a problem with the generic javascript view
I have a input FlowVariable (Name: InputTest) of type String with value = aaa
If i run the generic javascript view i‘ll get an error:
If i change the value of the variable to 1234, everthing works fine.
What am i doing wrong ?
Greetings Tim
1 Like
The first line is the problem. You are trying basically to create an Array in Javascript:
var tt = [aaa]
That won’t work as aaa is an undefined variable. However this works with numbers because Javascript interprets it as number, not as variable name.
One way to solve it would be this
var tt =["$${SInputText}$$"];
6 Likes
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.