Forum Discussion
JKambli
9 years agoStaff
Try this,
By default properties convert to String. so you need to reconvert them to array and retrieve values
def airlineCode = context.expand( '${AirlineCode#AirlineCode}' )
codes= airlineCode.replaceAll("\\[","").replaceAll("]","").split(",")
return codes[0].toString()
Related Content
- 3 years ago
- 5 years ago
- 5 years ago
Recent Discussions
- 18 hours ago
- 17 days ago