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 / Help with Array elemen...
Power Automate
Suggested Answer

Help with Array elements can only be selected using an integer index.

(0) ShareShare
ReportReport
Posted on by
I made an amendment to a flow and now I am getting the error below on the Start and Wait for an approval step.  I haven't made any changes to the field ProspectNumber which it was previously referencing OK.
 
Unable to process template language expressions in action 'Start_and_wait_for_an_approval' inputs at line '0' and column '0': 'The template language expression 'outputs('Update_item')?['body/ProspectNumber']' cannot be evaluated because property 'body/ProspectNumber' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    13,923 Super User 2026 Season 1 on at
    It would be helpful to show your flow, otherwise we can only go by the error message. The error message is saying you need to use an expression such as outputs('Update_item')?['body'][2]?['ProspectNumber'] in the Start and Wait for an approval action (the expression shown would return the third item from the array and [2] is the integer index referenced in the error). You must be referencing this value in the description of the approval. If so, remove it from the description and run your flow to see if it resolves the error. If it does, then you know the issue and you can use an expression like I mentioned to return the correct value from the array.

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
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard