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 / change status based on...
Power Apps
Answered

change status based on status reason

(0) ShareShare
ReportReport
Posted on by 217

Usually, we change the status of a record from Active to Inactive and then set the status reason for the change. I need to do the reverse: set the status reason which will automatically set the status

 

I have a custom Activity, Assessment where I'm using status reason to hold the result of the assessment. The status/status reason groups are as follows:

 

Status: Open

Reasons:

  • Under review
  • Edit Requested

Status: Complete

Reasons:

  • Refused
  • Approved
  • Shelved

Status: Cancelled

Reasons:

  • Cancelled

Status: Scheduled

Reasons:

  • Scheduled

When an assessor opens the assessment, they should be able to choose from any of the status reasons in Open or Complete. Right now, they have to set status = Complete before they can see the options they need. It's very counter-intuitive for the user.

 

Is it possible to use a custom activity the way I've described? If so, how? If not, what is a better approach?

I have the same question (0)
  • Verified answer
    Ram Prakash Duraisamy Profile Picture
    5,877 Super User 2026 Season 1 on at

    Hello @halifaxious,

     

    As per OOB Behaviour, Status and Status Reason is interrelated, based on Status only Status Reason will get load, we cannot reverse it.

     

    Instead as per your requirement we can use Custom field to achieve this, then Based on Custom Field modify we can trigger a Synchronous Workflow to set the status accordingly.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard