Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

  • Community Power Platform Member Profile Picture
    on at
    Re: Condition Error

    @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

  • ScottShearer Profile Picture
    25,218 Most Valuable Professional on at
    Re: Condition Error

    @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
    Re: Condition Error

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

  • ScottShearer Profile Picture
    25,218 Most Valuable Professional on at
    Re: Condition Error

    @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.

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow