We’re seeing what appears to be a problem in the way the Flow editor handles input for objects within arrays. In the example below, there is an “Items” array, which contains a “Text” field, as well as a “Name” field with “First”, “Last”, “Middle” etc. properties.
When we reload the Flow, it looks like this:
It appears the data is sent in the format as it appears in the image, which does not work on the backend. The data should be formatted as:
Items: {
Text: [Text],
Name: {
First: [First Name],
Last: [Last Name]
}
}
If I "fix" the format of the data in the Flow editor, it then works when tested. But the Flow editor can't make sense of it when its reloaded, and it reverts to the initial view, but without any field values for the name field.
Are objects within arrays not supported, or is it possible we're doing something in our connector that's causing this?
The schema for the input (the relevant portion at least) looks like this:
{
"type": "object",
"properties": {
"Items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"type": "object",
"description": "Name",
"x-ms-summary": "Name",
"properties": {
"First": {
"type": "string",
"description": "First",
"x-ms-summary": "First"
},
"FirstAndLast": {
"type": "string",
"description": "First And Last",
"x-ms-summary": "First And Last",
"readOnly": true
},
"Last": {
"type": "string",
"description": "Last",
"x-ms-summary": "Last"
},
"Middle": {
"type": "string",
"description": "Middle",
"x-ms-summary": "Middle"
},
"MiddleInitial": {
"type": "string",
"description": "Middle Initial",
"x-ms-summary": "Middle Initial"
},
"Prefix": {
"type": "string",
"description": "Prefix",
"x-ms-summary": "Prefix"
},
"Suffix": {
"type": "string",
"description": "Suffix",
"x-ms-summary": "Suffix"
}
}
},
"Textbox": {
"type": "string",
"description": "Textbox",
"x-ms-summary": "Textbox"
}
"Id": {
"type": "string",
"description": "Id",
"x-ms-summary": "Id"
},
"ItemNumber": {
"type": "integer",
"description": "Item Number",
"x-ms-summary": "Item Number",
"readOnly": true
}
}
}
}
}
}


Report
All responses (
Answers (