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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Change status from "un...
Power Apps
Unanswered

Change status from "under review" to "Declined"

(0) ShareShare
ReportReport
Posted on by
Hi.
 
I have a app where the clients can put in requests, and the broker can chose each request and either accept or decline it. I need the status one the request to then change from "under review" to "Declined" or "accept" pending on which button the broker uses. The status column in dataverse (not using sharepoint) is a choice column, where "under rewiev" is set as a default when the request is sent in. I find it hard to make a code that works. I get an error with the message that the datatypes isnt a match.
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,560 Super User 2025 Season 2 on at
    Change status from "under review" to "Declined"
    hey
     
     
    can you try this in your button onselect:
     
    Patch(Requests, ThisItem, { Status: { Value: "Accepted" } })
    
    Patch(Requests, ThisItem, { Status: { Value: "Declined" } })
    
    if this helped please mark as verified,
     
     
    cheers

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard