Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Power Apps and Approval flow

(1) ShareShare
ReportReport
Posted on by 13

Hello everybody
I'm creating a power apps that inserts a record in a sharepoint list and starts an approval flow passing the id of the item to be approved as input. The flow works, but fails to set the approved content status (error 502 badgateway). All the examples I've seen, the approval flow is triggered via "when new item is created" this way works for me, but I would like the flow to be triggered via power apps. it's possible?

Regards

Categories:
  • plutoyuto Profile Picture
    12 on at
    Power Apps and Approval flow
    If you post the actual flow, we may be able to help you out.
    Does your flow have a condition action, for when it is approved?
  • VG-30071056-0 Profile Picture
    13 on at
    Re: Power Apps and Approval flow

    Work's in my flow too, but only when i'm the approver, when someone else approves "set content approval" stop working with badgateway error.

  • SanshubhLubal Profile Picture
    509 on at
    Re: Power Apps and Approval flow

    It works in my flow.

     

  • VG-30071056-0 Profile Picture
    13 on at
    Re: Power Apps and Approval flow

    SanshubhLubal thank you for your interest.

    That's actually what I'm doing. But I have a problem in the flow, let me explain better: once the flow is started and then approval, after I receive an approval response, I can't set the content status to Approve, this in the flow: I receive a 502 BadGateway error.

  • SanshubhLubal Profile Picture
    509 on at
    Re: Power Apps and Approval flow

    Yes, you can also create a flow that can trigger from Powerapps.

    SanshubhLubal_0-1673962279843.png

    In this picture you can see PowerAutomate Icon in Left naviagtion bar and you can create or edit flow from here.

    You can also edit those flow from Power Automate.

    SanshubhLubal_1-1673962408043.png

     

    SanshubhLubal_2-1673962530958.png

    and this is picture what chat GPT said

    SanshubhLubal_3-1673962655219.png

     

  • VG-30071056-0 Profile Picture
    13 on at
    Re: Power Apps and Approval flow

    From Power Apps?

  • SanshubhLubal Profile Picture
    509 on at
    Re: Power Apps and Approval flow

    Yes you can use Approval action in any flow(Schedule, Mannual trigger, ...)

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard