cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jean9681blr
Frequent Visitor

Updating Managed Metadata Column value.

 

I have a flow configured to get data from SharePoint list item and update a word document.

All the column values are getting updated as expected however I have Managed Metadata Column for Location. And the Value for this is not getting updated.

So I tried to create a new column with Single line of text and used Updated File Properties to get the values from Metadata Column.

And I was able to get the expected output. But along with the value, I also see the GUID 

I came across this page. And tried the suggestion provided 
https://powerusers.microsoft.com/t5/General-Flow-Discussion/Condition-is-failing-for-managed-metadat...         

And ended up getting this error

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['entity']?['value']' is of type 'Null'. The result must be a valid array.

 

Any suggestions. 

 

Below is the screenshot of my flowFlow1.1.JPGWorking flow gets GUID of Metadata columnFlow output.JPGResult with the GUIDFlow 1.JPGMade changes to the flowFlow2.JPGflow failed with error

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Updating Managed Metadata Column value.

Hi @jean9681blr,

 

It seems that you are using action Get item but not Get items, so there is no need to add Apply to each action in your flow.

I have made the following test which is working properly.

1.PNG2.PNG3.PNG

Please try again with it on your side. 

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Updating Managed Metadata Column value.

Hi @jean9681blr,

 

It seems that you are using action Get item but not Get items, so there is no need to add Apply to each action in your flow.

I have made the following test which is working properly.

1.PNG2.PNG3.PNG

Please try again with it on your side. 

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

jean9681blr
Frequent Visitor

Re: Updating Managed Metadata Column value.

Thank you 
It worked as expected. 🙂

 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,059)