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 / Approve Reject Status
Power Apps
Suggested Answer

Approve Reject Status

(1) ShareShare
ReportReport
Posted on by 80
I want to make the status to distinctively 'Approve' or 'Reject' by a button click. However, I only know how to use Set(variable) which only results to all the fields to be 'Approve' or 'Reject'. Anyone able to help?
1-10qns.png
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    There are a couple of way to do this.
    First way: Add two buttons in your Gallery, one for "Approve" and one for "Reject". Like this - 
    OnSelect property of your Approve button:
    Patch(
        DataSource,
        ThisItem,
        {status: "Approve"}
    )
    OnSelect property of your Reject button:
    Patch(
        DataSource,
        ThisItem,
        {status: "Reject"}
    )
    If you put the buttons outside the gallery. This will be the OnSelect formula:
    Patch(
        DataSource,
        GalleryName.Selected,
        {Status: "Approve"}
    )
     
    Hope this helps. 
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • Nandit Profile Picture
    1,568 Moderator on at
    Hi,

    Following up to check if you were able to solve this issue using my suggestion?

    Kind regards,
    Nandit
  • Philbert9879 Profile Picture
    80 on at
    Hi,
     
    Yes, thank you so much. I am using your solution in my application. Appreciate your help so much.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 842

#2
Valantis Profile Picture

Valantis 563

#3
Haque Profile Picture

Haque 402

Last 30 days Overall leaderboard