alibaba82
18 years agoSuper Contributor
property expansion
Hello,
I have a variable recId which I obtain by doing
def recId = context.expand('${DataSource_RecIds#rec_name}')
The problem is that rec_name is itself a variable. I am trying to do something like but its not working.
def recId = context.expand('${DataSource_RecIds#${rec_name}}')
What am I doing wrong.
Thanks
Ali
I have a variable recId which I obtain by doing
def recId = context.expand('${DataSource_RecIds#rec_name}')
The problem is that rec_name is itself a variable. I am trying to do something like but its not working.
def recId = context.expand('${DataSource_RecIds#${rec_name}}')
What am I doing wrong.
Thanks
Ali