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 / Leave Request - How ca...
Power Apps
Answered

Leave Request - How can I change status value?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

Is there any way to change the status values? Etc. "Pending" to "Waiting for approve".

 

Waiting for your response,

Ander

Categories:
I have the same question (0)
  • Abhilash_Swain Profile Picture
    901 on at

    Hi @Anonymous ,
    Yes this is possible by updating record.
    Please check Patch/Update/UpdateIF functions to complete this .

    Patch Function    Updat/Update IF 

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please tell me if you want to update all the records with Pending status or only one record?

    Is this Status column a Text or Choice column?

     

    If you just want to update a single one record, I think you could just add a save button and set the OnSelect property as below:

    Patch(Data,LookUp(Data,ID=xxx),{Status:"Waiting for approve"})

    You should define the ID of the record that needs updated, or you could add a Gallery and display all the records within by setting the Items property as your data source directly. Then select the record you want to update, and modify your Patch formula as below:

    Patch(Data,Gallery1.Selected,{Status:"Waiting for approve"})

     

    Or if you want to update all the  records with Pending status, you should use the UpdateIf as below:

    UpdateIf(Data, Status="Pending", {Status:"Waiting for approve"} )

    If the Status column is a Choice type:

    UpdateIf(Data, Status="Pending", {Status:{Value:"Waiting for approve"}} )​

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard