Hi All,
I have a power automate and I have declared an array variable, in this array variable I am appending two attribute from the list result of opportunity entity.
[
"OppUrl":"URL",
"OppID":"Opportunityid"
]
but result is showing like:
[
"\n[\n\"OppUrl\":\"URL\",\n\"OppID\":\"ID\"\n]\n",
"\n[\n\"OppUrl\":\"URL\",\n\"OppID\":\"ID\"\n]\n",
"\n[\n\"OppUrl\":\"URL\",\n\"OppID\":\"ID\"\n]\n",
"\n[\n\"OppUrl\":\"URL\",\n\"OppID\":\"ID\"\n]\n",
]
I need the result like :
[
{
"OppUrl": "url",
"OppID": "123"
},
{
"OppUrl": "url",
"OppID": "345"
},
{
"OppUrl": "url",
"OppID": "678"
}
]
How can I achieve the result like above JSON?