Power Automate Trigger Conditions: The Run That Never Appears
In this series: Power Automate gotchas
A Condition action inside a flow is too late. The trigger has already fired, the run exists, and the check counts toward Power Platform request limits. A trigger condition is earlier. Microsoft's documentation is direct: if the condition is not met, the flow is not triggered, and no run history is logged. That is what you want for "only when status becomes Approved." It is also why the flow looks dead when the expression is wrong.
The expression is not a Condition card
Open the trigger, then Settings, then Trigger conditions. Each condition starts with @. If you add several, all of them must be true. Optional logic is one expression that uses or.
@equals(triggerOutputs()?['body/statuscode'], 1)
@or(equals(triggerBody()?['Status'], 'Approved'), equals(triggerBody()?['Status'], 'Rejected'))
The first form is the Dataverse-shaped one: a choice column often arrives as a number in the trigger body, not as the label on the form. The second is the shape you get from other connectors, where the field is a string. Neither is something to guess. Take the condition off, let one run succeed, and read the trigger output. Put the condition back using the property names and the types you just saw.
The ? matters. A path that does not exist then evaluates as empty, and equals against it is false, so the check is skipped. Without it, a missing property fails the expression. You still do not get a normal run to inspect. You get a trigger that is not doing what you think.
Do not paste a Condition-card expression that references body('Compose'). There is no Compose yet. Only triggerOutputs(), triggerBody(), and the trigger's own outputs exist.
Where the skipped events go
Run history stays empty on purpose. In the flow's run history page, open ... / Check trigger (wording varies slightly by portal). A skipped check means the event arrived and the expression rejected it. That is not evidence that the connector is down.
If you expected a run and the trigger checks are empty too, the connector never saw the event: wrong table, column filter too tight, or the user who owns the connection cannot read the row.
Two other filters sit next to this and are easy to mix up:
- A Dataverse trigger's column filter / select columns, covered in select columns, decides whether an update wakes the trigger at all. If the changed column is not in the filter, there is no trigger check to look at.
- The trigger condition decides whether a wake-up becomes a run.
- A Condition action after that, including the scope pattern in try, catch, and run-after, only sees runs that already started.
Use the trigger condition for the high-volume reject. Use the Condition action when both branches need to do something, or when you need the failed check written down inside the run.
A condition you can test
Write the expression in a Compose action on a flow that still has no trigger condition, and compare the Compose output to true or false against a payload you recognize. Then move that expression to the trigger. A condition that references the display name of a choice, or a column the trigger does not return, will look identical in the designer and will skip every event. The designer does not evaluate it. The next real row does.
For dates, combine this with the blank-date pattern in null and blank dates. A trigger condition of @not(empty(coalesce(triggerOutputs()?['body/scheduledend'], ''))) is how you avoid a run per empty due date.
When not to use a trigger condition
- You need an audit trail of "we saw the row and decided no." That is a Condition action (or a logging child flow).
- The predicate needs data that is not in the trigger body (a related record, a config list). Fetch that after the run starts.
- Several flows share one trigger and need different predicates. Prefer one flow and a switch, or you will debug three silent skip lists.
Trigger conditions are for cheap, local facts already on the payload. Everything else belongs in the run.
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.