Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Approval flow failing

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I'm trying to set up an approval workflow where:

 

1. Our Project Coordinator can upload a PDF to a list and enter the approvers needed.

2. It sends an approval e-mail out with Approve or Reject options.

3. Once approved or rejected, it sends an e-mail back to the Project Coordinator.

 

I'm having 2 issues:

1. No matter who uploads the PDF (creates), it shows up as Sent in my Approvals - we want the creator to be able to see it as Sent instead so that they can track it. I assume this is because I created the Flow. How do we set this up so that specific Project Coordinator who created the file has it in their Flow? Will I need them to create their own lists and Flows on those for them to track the Sent tasks?

 

2. Steps 1 and 2 are working, but the Flow ('Start approval when a new item is added') is failing and an e-mail is not going back to anyone saying that its been approved or rejected. Here is the error detail: 

 

Unable to process template language expressions for action 'Condition' at line '1' and column '2700': '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.'.

 

 

  • v-yamao-msft Profile Picture
    on at
    Re: Approval flow failing

    Hi @SWagner503 ,

     

    Do you start the flow the template Start approval a new item is added?

     

    Could you share more details on your flow configuration?

     

    I have just started the flow from the template, which is working successfully.

    2.PNG1.PNG

     

     

    Best regards,

    Mabel  

     

  • Pstork1 Profile Picture
    66,015 Most Valuable Professional on at
    Re: Approval flow failing

    1) They will need a copy of the Flow running with their credentials for the Connector OAUth. You can change the credentials on the existing connection, but that's only going to be good for one person.  It would be better to Export the existing Flow and have each user import it.  When they import it they can create their own connections. Since the Trigger of the Flow is specific to the list, not the person running it you would need a seperate Document library for each Flow.  Otherwise you'll end up wiht multiple Approvals for each PDF file.

     

    2) Start approval when a new item is added' is an older template that uses an Old version of the Approvals action.  Its good for a pattern, but I would recommend that you rebuild it from scratch and use the newer Start and Wait for an Approval V2 action. The older actions have been deprecated and may not work perfectly anymore.  The templates just haven't all been updated yet.

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,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow