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 Automate
Unanswered

Condition Error

(0) ShareShare
ReportReport
Posted on by

I built a flow to generate an approval e-mail when an item is added to a list. The e-mail generates successfully, but when a decision is given by the approver, the workflow then fails at the condition stage. The following error displays:

 

Unable to process template language expressions for action 'Condition' at line '1' and column '2603': 'The template language expression 'equals(body('Start_an_approval')?['response'], 'Approve')' cannot be evaluated because property 'response' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

 

Has anyone seen this? If so, what should I be looking for?

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    Please post a screen shot of your Flow - that will make it much easier to assist.  The screen shot should show the Flow in design mode - not the results of a run.

     

  • Community Power Platform Member Profile Picture
    on at

    4-11-2019 10-51-03 AM.png4-11-2019 10-47-51 AM.png

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    Your issue stems from the fact that you have an approval action inside of a loop.  First, the Flow will pause on each approval until a response is received.  I believe the error occurs because Flow doesn't know whcih approval you are referring to.

     

    Will you have more than 1 approver?

     

  • Community Power Platform Member Profile Picture
    on at

    @ScottShearer 

     

    Hey Scott,

     

    I apologize for the delay as I was out of the office. I am pretty new to this functionality so I may need a bit more direction on this. When you say the approval action is inside of a loop, what is the way you would mitigate that?

     

    And yes, there will be times when there are multiple approvers.

     

    Thanks

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard