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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help with Array elemen...
Power Automate
Unanswered

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
    12,966 Super User 2025 Season 2 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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard