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 Automate / Dataverse trigger flow...
Power Automate
Unanswered

Dataverse trigger flows when a row changes - column filter bug

(3) ShareShare
ReportReport
Posted on by 137

Trigger flows when a row is added, modified, or deleted - Power Automate | Microsoft Docs states "Use the Column filter box to define a set of comma-separated, unique names for the table, as shown in the following image. The flow runs only when these columns change on the specific rows." 

  1. I find this statement a little confusing, does this phase "unique names for the table" try to tell us to use the "unique name of each column"?
  2. This doesn't work for all column/field types.  So filtering columns isn't accurate.  It should either filter by ANY column/field type or be changed to say "A distinct set of columns/field types that can be filtered but you will have to guess which ones... hehehe" so that its more accurate!
  3. If it does allow adding lookup columns to the column filter area, what name do I need to use?  BECAUSE THE UNIQUE NAME FOR THE LOOKUP DOESN'T TRIGGER THE FLOW!

Trying to be a citizen developer is so frustrating when MS doesn't support their own column/field types and returned data in triggers and actions!

 

  1. Please ADD your hidden fields you/MS use on forms and other areas to the Dynamic Data.  You use this information why can't we?
  2. Allow Triggers to use any data from a row.  Null and empty are values for optional columns/fields!
  3. Allow Saving flows with errors, we may need to run out and have to get back to the flow later and to lose everything because one issue cropped up while building the flow throws an error shouldn't require us to fix it before we save it!
  • Example a lookup field appears to use 4 fields/values (and the column name/schema name doesn't appear to even be used):
    • Microsoft.Dynamics.CRM.lookuplogicalname
    • Microsoft.Dynamics.CRM.associatednavigationproperty
    • Microsoft.Dynamics.CRM.lookuplogicalname
    • _columnname_value
Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    Hi @rw_ga 

     

    Yes the documentation is a bit confusing, for the lookup Issue you are facing I made a test and it is  working on my side.

     

    Can you share some details and we may figure it out, also make sure there is not spaces in between the columns.

     

  • rw_ga Profile Picture
    137 on at

    Hi Mira_Ghaly,

     

    The trigger "Change type" is set to "Modified" and the "Column filter" only has the unique name of the lookup column (example: new_lookupcolumnname).  The flow doesn't trigger.

     

    If I don't specify anything in the "Column filter" the flow will trigger when the lookup column changes.  I suspect it's triggering because the row's modified on and modified by are also getting updated when the lookup is changed and saved, then those fields trigger the flow!

     

    So.... How do you use the column filter option to specify the lookup column? (I'm wanting only a select few columns to trigger this flow and one of them is a lookup).

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @rw_ga 

    Can you please share a screen shot of your column filter because i tried and it is working on my side so screenshot can help either reproduce your issue or identify what might be the issue?

  • Big Kahuna Profile Picture
    42 on at

    I've been trying this too.

     

    From my research it seems to work for simple columns (you need the fully qualified column name with your solution prefix if you app is coming out of a solution), however it does not trigger if you try and add a lookup column to the list of column filters.

     

    Nor do any of the other previously working columns.

     

    Unless someone knows some magic here for referencing the lookup column in the column filter I'd say its a bug or omission by design (please update the docs).

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Iddy 

    So you mean when you add a lookup column among other types of columns?

    Can you tell me please what other column types so I can try to reproduce?

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Iddy @rw_ga 

    This is what I am trying at my side and it is working for any of the 3 fields

    Mira_Ghaly_0-1628203104352.png

    I will try on custom entities and custom fields as well but it would be great if you guys share with me some more details so I am able to reproduce it

  • Big Kahuna Profile Picture
    42 on at

    Here's what I tested. Add the name field (my solution is prefixed stk_ so I added stk_name). Tested the workflow (manual test in the browser). This works fine - updates to the record do not trigger the flow unless the name field is changed.

    I have a second field on my entity, exam (named stk_exam). Its a lookup field to a second custom entity (Certification Exam). If I add it as a filter (as the only filter) the workflow does not trigger, I've tried various combinations (exam, stk_exam, stk_exam_value). Also, if I add it to the end of the list of columns (i.e with my name filter as well) the workflow no longer triggers on the update to the name field. I am wondering if the field needs to be refenced differently?

  • Big Kahuna Profile Picture
    42 on at

    Are any of those lookup fields? My flows trigger for simple columns.

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Iddy

    Yes parentcustomerid is a lookup.

     

  • rw_ga Profile Picture
    137 on at

    Hi Mira_Ghaly/Iddy,

     

    Thank you both for providing your experiences. I'm getting mixed results and don't know why other than its some type of BUG or I need to do something different with custom tables/lookups!

     

    Recap: 

    I'm using Dynamics 365 for Sales Ent. (Online).

    I created a "unmanaged solution" to hold all my custom STUFF.

    I created multiple custom tables (they are the standard ones not Activity Type)

    I created cloud flows to trigger when rows in these custom tables get modified (specific columns using column filter).

     

    In testing:

    Using OOB Account, Parent Account Lookup (parentaccountid) with the column filter triggers the flow.

    Records:

    rw_ga_1-1628255434231.png

    Column Name:

    rw_ga_4-1628255532613.png

     

    Flow:

    rw_ga_2-1628255453333.png

     

    Select Test 1 in Lookup field:

    rw_ga_3-1628255503889.png

    Flow Run History:

    rw_ga_5-1628255588971.png

    rw_ga_6-1628255675403.png

     

    Using custom tables/lookup columns with the column filter doesn't trigger the flow.

    I use the same process with custom tables and lookups and it won't trigger!  What the heck!!!!  Why doesn't it work the same for custom tables and their lookups?

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard