Forum Discussion
psathyanarayan
7 years agoEmployee
I think @tlikarish suggestion is a good one. Another option would be is to use the map method that is available within an array object. If you want to conditionally update elements in the array you can use the if condition within the update expression of the map method.
- bill_sturdivant7 years agoNew Contributor III
I have tried mapping already with the following.
jsonPath($, “$studySiteChecklist.checklist[*].lastUpdateDate”).map(x => x.substr(0,10)).toString()
But I got the follwing which is not correct.
Thank you for the suggestion
Bill