How to set a value of a variable in data source using groovy script

jngojngojngojngo Posts: 46

context.setValue( "x", "1000") ---> this is applicable when you inserted the value directly. Is there a way if you use the variable instead of the actual value. I tried using the sa
Example:
myVar = generate a random value.
context.setValue( "x", myVar.toString()) --> I tried this but does not work.

Comments

Sign In or Register to comment.