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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

D365FO - Filter rows in dataverse trigger (Power Automate)

(2) ShareShare
ReportReport
Posted on by 6,226 Super User 2026 Season 1
Dear all,
 
I started using the dataverse connector instead the Fin&Ops connector.
 
I wanted to know if I messed up something here or if it just works like this.
 
I tested this flow and works on generally fine. However, the delete action works differently then the modified and add action.
So, when I add a new line in D365FO or modify an existing one, it works according to the Filter rows condition.
 
 
However, when I delete a row, it should NOT run the flow if the mserp_resourceid is not empty, but it does. 
 
 
Did you encounter a similar behaviour where the delete action, does not behave according to the Filter rows?
 
Thanks in advance, Adis
 
 
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    5,006 Most Valuable Professional on at
    Don't recall us having any issues, so I wonder if it's related to F&O. Need to have a play...
     
    I like to use trigger conditions as it gives me more control of when a flow get's triggered, and it should also reduce flow runs. Give it a try and see if it's more consistent. 

    https://learn.microsoft.com/en-us/power-automate/triggers-introduction?tabs=new-designer#use-trigger-conditions-to-reduce-flow-runs
    https://citizendevelopmentacademy.com/blog/power-automate-trigger-conditions/
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    5,006 Most Valuable Professional on at
    Yep, looks to be a limitation in the filter row parameter on virtual entities. I managed to reproduce it in my playground using a standard entity.
     
    If I instead specify a trigger condition, it's not triggering on deletes.
  • Adis Profile Picture
    6,226 Super User 2026 Season 1 on at
    Thanks Jonas 💪
     
    I do use the trigger conditions to reduce the flow runs, however, I noticed that using the filters rows, the flow isnt triggered at all if the conidition isnt met. 
    So I thought, lets give it a try as it is more visible if there are any trigger conditions.
     
    I ll get back to the triggers 😊
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    302,629 Super User 2026 Season 1 on at
    Hi Adis,
     
    The first field on the action is called Change type. You can change this to Added or Modified. It will then skip the delete actions. Your current setting includes the deletes.
  • Adis Profile Picture
    6,226 Super User 2026 Season 1 on at
    Hi André,
     
    By reading my question I understand that its a bit confusing. Yes, I noticed the change type field.
     
    I want to trigger the flow also on delete actions, however, adding and modifying works according the filter rows, where delete action did not respect the conditions in filter rows field.
    It ignored the condition in filter row mserp_resourceid eq '' and contains(mserp_categoryid ,'INORM') - so even the mserp_resourceID was NOT empty it was triggered on delete action.
     
    But with the answer of Jonas, I switched to trigger conditions and it worked.
     
    my trigger condition:
     
    @OR
    (contains(triggerBody()?['mserp_categoryid'],'OH'),
    AND
    (equals(triggerBody()?['mserp_resourceid'],''),
    contains(triggerBody()?['mserp_categoryid'],'INORM')))
     
     
    side Note:
     
    I was copying the trigger condition from another flow with a business event connector from FinOps and had some issues at it didnt work with the dataverse connector, because the there is a difference in the syntax of the trigger condition
     
    with FinOps connector the trigger condition would be:
     
    @equals(triggerBody()?['body/mserp_resourceid'],'')
     
    with dataverse connector the trigger condition would be:
     
    @equals(triggerBody()?['mserp_resourceid'],'')
     
     
     
    So the part "body/" needs to be deleted. Maybe its obv for developers, but for me it wasnt.
     
     
     
    Kind regards, Adis
     
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
BillurSamdancioglu Profile Picture

BillurSamdancioglu 95 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans