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?
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!
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)
Hello @bs-dev001
Try creating a flow with SELECT COLUMN as statecode
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