Dataverse Triggers in Power Automate: Select Columns or the Flow Wakes Up for Nothing
In this series: Power Automate gotchas
A Dataverse "when a row is added, modified, or deleted" trigger with no column filter is a timer that fires on every autosave. The flow runs, the condition at the top says the status did not change, and you still paid for the run. On a busy account or case table that is hundreds of runs a day that exist only to exit.
Select columns is the fix, and it is narrower than people think. It does not mean "only send me these fields in the body." It means "only start the flow when one of these columns changes." If you list statuscode and someone edits the description, the flow does not run. That is what you wanted. It is also how you silently drop the update you meant to catch, if the column that matters is a lookup you forgot to name.
Select columns is a start filter
The confusion is the name. In a Get a row by ID action, a column list shrinks the payload. On the trigger, the same words do a different job. The flow either starts or it does not. The body of a started run still contains the row the trigger is allowed to return. You did not make the JSON smaller. You made the wake-up rarer.
A column you listed will not start a run if nobody changed it. A column you did not list can still appear on a run that started for another listed column. Do not treat the box as a projection. Treat it as a predicate on which update is interesting.
Filter rows sits next to it and is a second predicate, evaluated on the row after the change. A filter that says statuscode eq 1 still wakes the flow on a description edit if Select columns is empty, evaluates the filter, and stops. You saved the actions after the trigger. You did not save the trigger. Use both when the business rule is "only when status becomes Active on an open row." A trigger condition is a third, quieter gate. Get Select columns right first.
What to put in the two boxes
| Setting | Put this | Leave it empty when |
|---|---|---|
| Select columns | Logical names, comma-separated, no spaces that you did not mean | You truly must react to any column, including system fields |
| Filter rows | An OData filter on the row after the change, such as statecode eq 0 | You need the flow for every status, and you will branch inside |
Logical names, not display names. statuscode, not "Status Reason." A lookup column is the logical name of the relationship field (customerid), not the name of the target table. If the trigger never fires in a test where you changed exactly that field, the name is wrong. Check it on the column in the maker portal, or with a Web API metadata call, before you blame the environment.
Lookups in Filter rows have their own spelling. The GUID lives on _customerid_value, not in a display name. Same OData rule as Filter rows on List rows.
The modifiedon trap
modifiedon changes whenever anything on the row changes. Put it in Select columns and you have rebuilt the unfiltered trigger. The flow wakes on a description edit, an autosave, a plugin that touches the row. The history looks busy again.
The same trap applies to modifiedby and to any column a plugin or dual-write map writes on every save. If you cannot name a human action that changes only that column, it does not belong in the list.
Turn this on for the noisiest flow first, the one whose history is mostly "condition was false." Count runs for a day before and after. If the count does not drop, the list is empty or includes a field that changes on every save. Take modifiedon off the list.
Four saves that prove the filter
Do this in a sandbox, with the flow on, before you ship the list.
- Change a column that is not in Select columns. Confirm there is no new run.
- Change a column that is listed. Confirm one run, and that the body contains the new value.
- Change two listed columns in one save. Confirm one run, not two.
- If you also set Filter rows, make a change that updates a selected column but fails the filter. Confirm the run is skipped, not failed.
That last distinction matters for alerting. A skipped trigger is success. A failed condition inside the flow is a red mark and, if you page on failure, a false alarm. Keep the "do I care" decision in Select columns and Filter rows. Keep real failures — a downstream HTTP 500, a missing lookup — in the actions, with a scope that reports them.
Step 3 is the one people skip. Dataverse does not enqueue one notification per changed column. One save is one event. If you need "status changed" and "owner changed" as separate processes, two flows with two lists is clearer than one flow that splits a combined save.
What this setting cannot see
It will not see a change Dataverse did not record as a column update. A rollup that recalculates in the background, a workflow that writes the same value again, and some calculated columns do not produce the trigger you expect. If the requirement is "when the rollup total crosses 10,000," poll or use a different signal. Do not widen Select columns to every column and hope.
A save that writes statuscode to the value it already has is also a miss. There is no change to notice. A flow that must "re-notify on every save" needs a column you increment on purpose.
Creates and deletes are not "changed columns." If Change type includes Added, a new row starts the flow even when you listed only statuscode. For "only updates to status," set Change type to Modified and keep Select columns on statuscode.
It also will not shrink a later Get a row. Select columns on the trigger limits when you start. The Get row action should set its own column list if you only need three fields.
Leave the boxes empty when
Leave Select columns empty when the flow must react to any write: an audit trail, a whole-row sync. You will pay for autosaves. That is the tradeoff.
Leave Filter rows empty when every matching change is in scope and you will branch inside. If the predicate needs a related row, start the run and fetch it.
Do not use Select columns as a substitute for Change type. If the flow only handles creates, set Change type to Added.
If the run count did not drop
- Confirm you are reading the published flow, not the draft.
- Copy the Select columns string. Check for
modifiedon,modifiedby, or a plugin "last updated" column. - Change one unlisted column. If a run appears, the list is not in effect. Publish again.
- Change one listed column. If nothing appears, the logical name is wrong, Change type excludes Modified, or Filter rows rejected the row.
- A Filter rows reject is a skip, not a failure. Do not page on it.
The filter is doing its job when the history is boring and the four-step test is green. Not a smaller payload. A flow that sleeps through the autosaves.
Keep reading
Perform a Changeset Request: Two Add a New Row Actions Are Two Transactions
Only Add, Update, and Delete belong in a Dataverse changeset. List rows is not in that transaction, and the next Add a new row is its own commit.
Add a New Row: The Lookup Is accounts(guid), Not the GUID
Add a new row binds lookups as entityset(guid). A raw GUID or name is not a bind.
Filter Rows: The Lookup GUID Is _parentcustomerid_value
Filter rows is Dataverse OData. Lookups filter on _logicalname_value, not the name. Filter array runs after the download, and @equals does not belong in that box.
Get a Row by ID: Missing Fails the Run, Empty List Rows Does Not
Get a row by ID fails the run when the GUID is missing. List rows with zero matches succeeds. Look up the business key and branch on empty.
When an HTTP Request Is Received: The Callback URL Is a Secret
The HTTP trigger URL carries a SAS signature. Anyone with it can start the flow. Restrict who can call, always Respond, and never treat that URL as public.
Power Automate Do Until: The Loop That Succeeds After Giving Up
A Do until that hits count or timeout still succeeds. Put Get inside the loop, add a Delay, and test the condition after the loop exits.
Newsletter
New posts, straight to your inbox
One email when a new post goes up. Double opt-in, unsubscribe anytime. Not a daily digest.
Comments
- No comments yet. Be the first.