Power Automate “Fix the Trigger” Issue (and how to fix)

UPDATE: Microsoft has rolled out a fix and once again you should be able to apply row filters to your Dataverse flow triggers. I will leave this post here for posterity.

The other day I deployed an update to a Power Automate flow from my development system to my production on a small project. This particular flow ran perfectly fine for many weeks, but suddenly stopped working. On further inspection, I was getting the following issue;

There’s a problem with the flow’s trigger. Fix the trigger.

As I mentioned, the flow had been working fine. I clicked on the Fix the trigger link and found some more interesting information.

Exception parsing avngr_sendcommunications eq 730280001 submitted for attribute filterexpression of callback registration. Target entity: avngr_nicktest. Exception: Microsoft.Crm.CrmInvalidOperationException: Unsupported AttributeType for AttributeTypeCode:FileType

The key interesting aspect was the “Unsupported AttributeType” for a FileType field. No where in my flow did I use the filetype field as a condition or filter.

The table itself does have a FileType field (I really like using FileType fields instead of note attachments or links to Azure Blob storage, another post on that for a later day.) However, it had nothing to do with my flow. The flow is triggered using a choice field;

The Workaround

Thankfully, there is a workaround and it was the suggestion of my wife (who also works with the Power Platform) to use the “old” style of row filters to trigger my flow. I remove the Row filter from the main screen and then choose the ellipses and settings;

And then on the Settings screen add the trigger condition using the syntax we used back in the days before row filters were added to main page of Dataverse (Common Data Service) triggers (old days being a year ago?);

This seems to resolve the trigger issue and once again, you will have a working flow.

Why?

Note this is being tracked as a bug and this blog post may soon be out of date if there is a fix being rolled out. From discussions from some folks at Microsoft, the issue is that during the flow trigger registration process, there is some buggy code that doesn’t recognize FileType fields. This is why actions like importing an update make cause the flow to fail while existing flows continue to run fine.

This is normal software development and I hope this blog may end up saving someone some time and hassle.

Cover photo by CHUTTERSNAP on Unsplash

Nick Doelman is a Microsoft MVP and uses Power Automate on a daily basis. Learn more about Power Automate at 365.Training. Follow Nick on twitter at @ReadyXRM

5 thoughts on “Power Automate “Fix the Trigger” Issue (and how to fix)

  1. Hey Nick – thanks for the timely blog. I am running into the same issue, and was able to get a Trigger Condition in the Settings area to work. However, I need multiple Trigger Conditions and it looks like when I add multiple rows of Trigger Conditions or try an and() statement in a single row the Flow just never triggers. It doesn’t get an error at least, but never runs.

    Any insight into that issue or tips on mitigating it?

    Thanks!

    Liked by 1 person

Leave a comment