Hi @bojanvelevski Thanks for reply.
I am not looking for concatenating the fields as string. The requirement is go through each object in the array appending the “text” field value inside the “content” object.
Below is the sample jsonata expression for this
![]()
the sample array is like this
“chathist”: [{
“created_by”: “Test”,
“text”: “Account”,
“content”: “”,
“content_type”: “Question”
}, {
“created_by”: “Test”,
“text”: “Clicca sulla ttger alla wrtr rtwt l’rewrre er deve ererg la :
- <a role="button" tabindex="0" class="mccs-input">ffdgc!”,
“content”: “”,
“content_type”: “text”
}, {
“created_by”: “Test”,
“text”: "Management ",
“content”: “”,
“content_type”: “Question”
}, {
“created_by”: “Test”,
“text”: "Quale resettare?
- <a role="button" ",
“content”: “”,
“content_type”: “text”
}, {
“created_by”: “Test”,
“text”: “Reset Xchanging”,
“content”: “”,
“content_type”: “Question”
}, {
“created_by”: “Test”,
“content_type”: “Mps”,
“content”: {
“intent”: “changing”,
“video_URL”: null,
“solution_URL”: “”,
“title”: “Reset changing”,
“text”: “Scriva una e-mail a xch-helpdesk@xchanging.it<span style="color: black;">oppure si sul desktop l’icona ”
}
}]
thanks
arun