web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with updating ...
Power Automate
Unanswered

Problem with updating a column in a document library (UniqueID).

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

I'm having a problem with updating a column in a document library (UniqueID).

 

Each document in the library has a document tag (managed metadata required field and it is set to Display the entire path to the term in the field).


ERROR: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/DocType']' is of type 'Null'. The result must be a valid array.

 

It was working previously (i was able to leave the Document Value blank -this is no longer possible). I don't know what has changed or how I can remedy this.

 

Any help is very much appreciated.

 

Thanks

Fitz

Categories:
I have the same question (0)
  • edguerre Profile Picture
    Microsoft Employee on at

    @Anonymous 

     

    Can you post a picture of the flow here please?

    Also, on the Apply to each, what value do you use for the items? Is it '@triggerOutputs()?['body/DocType']'?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard