Forum Discussion

MichaelBabich's avatar
MichaelBabich
New Contributor
7 years ago

Passing array from groovy to request in Ready!API 2.3.0

Hi, I am passing multiple dates to my request,

From groovy I returning this: [2018-06-11, 2018-06-13, 2018-06-11, 2018-06-14, 2018-06-11, 2018-06-14]

Before version 2.3.0 I was using the script below to access each element (this one gives 2018-06-11):

${Groovy-CheckIn-CheckOut#result#$[0]}

However in latest version it returns empty, also GetData no longer recognizes this array.

Is there other way to access, is it related to JSON version update (I am not using one)?

No RepliesBe the first to reply