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 / Update Item action bei...
Power Automate
Answered

Update Item action being pushed into Apply to each

(0) ShareShare
ReportReport
Posted on by 9

I have a power automate flow which gets triggered when an Item is created in "Purchase Orders" list, I then update a single line of text in the item using an "Update Item" action, but when I add the "ID" from dynamic content of "When an Item is Created", the update item action gets pushed in a "Apply to Each" loop, I'm not sure what is going wrong here as previously this didn't happen, shouldn't the "When an Item is Created" action "ID" return only one value and not an array of values, which is why i presume the "Apply to Each" loop is being added.

"Apply to each", value from previous step is: triggerOutputs()?['body/value']
While in place of the Id in update item action it is coming: item('Apply_to_each')?['ID']. shouldn't this value be triggerBody()?['ID'], I tried manually adding triggerBody()?['ID'] but it gave following error:
WorkflowOperationParametersRuntimeMissingValue. The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'id'

Categories:
  • Verified answer
    DeuA Profile Picture
    9 on at

    Found the solution, go to the trigger condition, select settings in the new UI and select as below:
    Split On: Turn "On"
    Array: Open the dropdown and select @triggerOutputs()?['body/value']

    This solved the issue

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard