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

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,593 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard