Hi Folks,
I'm using "Send an http request to SharePoint" action to send a batch API request clubbing multiple GET queries. The number of get queries can vary each time. I used multiple select action to convert the response data into below format:
[
[
{
"Employee": {
"EMail": "useremail@gmail.com",
"Title": "username"
},
"Id": 6,
"Title": "Test Title",
"ID": 6
},
{
"Employee": {
"EMail": "useremail@gmail.com",
"Title": "username"
},
"Id": 111,
"Title": "Initiative",
"ID": 111
}
],
[
{
"Employee": {
"EMail": "useremail@gmail.com",
"Title": "username"
},
"Id": 103,
"Title": "Testpro321",
"ID": 103
},
{
"Employee": {
"EMail": "useremail@gmail.com",
"Title": "username"
},
"Id": 107,
"Title": "Test project",
"ID": 107
}
]
]
As you can see it's an array of arrays. I'm trying to combine all child arrays (In the above scenario 2 child arrays) in to a single array. How can I achieve this without using apply to each action. Please note that number of child arrays can vary.
Any suggestions?
Thanks you.