web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

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
    Re: Problem with updating a column in a document library (UniqueID).

    @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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard