In my flow, I need to make a http call and it returns an array of JSON objects as response.
And I need to loop thru the response and count how many entries which the same name.
For example,
{
"Team": [
{
"name": "Tom",
"task": 1345
},
{
"name": "Robert",
"task": 1346
},
{
"name": "Robert",
"task": 1246
},
{
"name": "Mary",
"task": 1366
}
]
}
And in my flow, i need to count, Mary , Tom has 1 task, and Robert has 2 tasks.
And the name in the json reponse is unknown before hand.
I am thinking to create a dictionary and loop thru each element in the json response.
But i don't see a way for me to create a dictionary in ms flow.
Does anyone has any other idea?
Thank you.