Solved
Forum Discussion
bojanvelevski
4 years agoValued Contributor
You can switch to more detailed and easier to control expression. Something like:
jsonPath($, "$regulatedActivities[*]").filter(x=>x.Activity == 'Credit Broking (W.E.F 01/04/2014)')
The result from this will be an array filtered by Activity. If you want only the first object ( [0] ) and you want to take the Status from it, than use the following expression:
jsonPath($, "$regulatedActivities[*]").filter(x=>x.Activity == 'Credit Broking (W.E.F 01/04/2014)')[0].Status
Let me know if this helps,
Bojan