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 Apps - Building Power Apps
Answered

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.
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,445 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard