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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Approve Reject Status
Power Apps
Unanswered

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?
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard