I figured it out -- although it didn't seem to validate in
EvaluateJsonPath, this worked in UpdateAttribute:
${json:jsonPath('$..parked_vehicles[?(@.id =~ /${id}/i)]')}On Thu, Nov 24, 2016 at 11:10 PM, Ronnie Dove <[email protected]> wrote: > Do you guys know if its possible to reference an attribute, for example > ${id} inside of jsonPath? It seems to not be working this way, only if I > have real string in the quotes. > > ${json:jsonPath('$..parked_vehicles[?(@.id == "${id}")]')} > > -- > Ronnie Dove > -- Ronnie Dove
