cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jean9681blr
Level: Powered On

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 Team
Community Support Team

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 Team
Community Support Team

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
Level: Powered On

Re: Updating Managed Metadata Column value.

Thank you 
It worked as expected. 🙂

 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,487)