In the power automate flow I am returning the below complex array object
[
{
"moduleName": "test module",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
],
"trainingVehicleInfo": []
},
{
"moduleName": "test module1",
"instructorinfo": [
{
"instructorName": "test test",
"instructorId": "1931dec0-c1ba-ee11-9078-6045bdd0ed08"
}
],
"trainingVehicleInfo": [
{
"LicensePlate": "LIC02234",
"Model": "Demo"
}
]
}
]
basically course has 1 to n relationship with module entity . so what I m doing , going through from each module , finding instructors and training vehicle of each module and preparing the object and concatenate with array variable. and this process will apply to each module and at last will return the above output . But what I am facing is that by appending it to array variable it slow down the process. is there any alternate way possible.

Report
All responses (
Answers (