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

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard