I've been trying to add to add a branch to a flow and cannot get the addition to work. I would like to update the file property for "Month" with the data already be extracted from the excel file.
I'm getting a generic failed action error. Below is my flow and the error screen. Any help is appreciated.
The issue ended up being that the flow still had the excel connection in use when I was trying to update the properties. I found more details about the error in the outputs of the last failed action and it said the file was locked by me.
I ended up initializing a variable for the itemID after the " Get metadata. I then passed that information on to the child flow, where I added a Delay action and then an update file properties.
@v-jefferni I'm sorry, I forgot to add my filter in the get files. I have tried many different ways to get this to work. This is what I currently have FileLeafRef eq '@{outputs('Get_file_metadata')?['body/Name']}'. It does find the file but I get the action failed error. I will try the internal ID again.
Hi @ML147243 ,
Actually I cannot understand the logic from your flow steps, you will update each file property based on all the excel file month column values? I suppose you would like to update file properties based on the ItemInternalId value from in the Excel and file ID in the library, then you will need to filter the files in the step Get files (property only) 2 action with filter query ID eq ItemInternalId, then for each filtered file update the properties based on the month value.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
@v-jefferni Is this better?
@
Hi @ML147243 ,
The screenshot of the flow is too fuzzy, could you please edit the post and replace it with a clearer one? Besides, what is the result table of the Parse JSON operation?
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1