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 / trigger when a user de...
Power Apps
Answered

trigger when a user deactivates a record

(0) ShareShare
ReportReport
Posted on by 108

I want a PowerAutomate flow to kick in when a user selects a record from a PowerApps Model Driven app and deactivates it.   Surprisingly, that action is not captured by https://docs.microsoft.com/en-us/power-automate/dataverse/create-update-delete-trigger

 

Why is "deactivating a record" not regarded as update?

 

 

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

    Hello @bs-dev001

     

    Try creating a flow with SELECT COLUMN as statecode

     

    rampprakash_0-1642151978079.png

     

     

    If we input statecode in SELECT COLUMNS the flow will only trigger if any status chagned

     

    Please mark as Answer if it is helpful and provide Kudos


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

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @bs-dev001 ,

    To extend on @rampprakash answer, you can also use the Filter rows to have:

    statecode eq 1 

    Which will trigger specifically when the record is inactivated...  (https://docs.microsoft.com/en-us/powerapps/developer/data-platform/entity-metadata#table-states)

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @bs-dev001,

    To add to the previous posts, yes a deactivate and activate is regarded as an update. But to do you want to trigger a flow when a user selects a record? If so you'll need to use the legacy Dataverse connector not the current environment and use the trigger "when a row is selected": https://docs.microsoft.com/connectors/commondataservice/#when-a-row-is-selected 

    Hope this helps!

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
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard