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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps and Approva...
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:
I have the same question (0)
  • Sanshubh Profile Picture
    512 on at

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

  • VG-30071056-0 Profile Picture
    13 on at

    From Power Apps?

  • Sanshubh Profile Picture
    512 on at

    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

    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.

  • Sanshubh Profile Picture
    512 on at

    It works in my flow.

     

  • VG-30071056-0 Profile Picture
    13 on at

    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.

  • plutoyuto Profile Picture
    12 on at
    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?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard