Hey,
I have a Sharepoint list, I am the Owner of the Site where this list is. In said list I have a column called "Team", it is a choice Column allowing multiple selection. In my flow I have an "Update Item" block. I want to change a select few values but since some others are required I simply want to give them their old Value(s).
In the "Input entire Array" I put the expression: items(
'Apply_to_each')?[
'Team'] there is nothing else, no other brackets just this field.
earlier in the flow I get some items from the list, therefore the Apply to each.
The Raw input is:
"item/Team": [
{
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 3,
"Value": "A choice" <- this is obviously not the real input, but it is what should get put in
}
]
But when I try to run the flow I get the Error: The 'inputs.parameters' of workflow operation 'Update_Item' of type 'OpenApiConnection' is not valid. Error details: The API operation does not allow writing a value for parameter 'item/Team[0]/Id'. This parameter is read only.
Nowhere have I set anything to read only, I don't even know how I would do that.
The copilot thingy has recommended I use:
@{items('Apply_to_each')?['Team']}
but I can not even add that when I try.