web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dataverse Trigger with...
Power Automate
Answered

Dataverse Trigger with Object Type Filter

(0) ShareShare
ReportReport
Posted on by 79

Hi,

I want to have a flow triggered when adding a new row to a table in the dataverse. The flow should also only trigger when a lookup (regardingobjectid) is of a defined type, in this case "bookableresourcebooking".

HerrMueller_0-1648553813616.png

 

I tried some things, but the trigger always shows errors..

 

_objectid_type eq 'bookableresourcebooking' results in Microsoft.OData.ODataException: Could not find a property named '_objectid_type' on type 'CallbackRegistration.annotation'

 

_objectid_value@Microsoft.Dynamics.CRM.lookuplogicalname eq 'bookableresourcebooking' results in Microsoft.OData.ODataException: Syntax error at position 56

 

Any idea how to achieve this?

 

And yes, I know I can filter the object type in a condition afterwards, but I don't want the flow to be triggered at all.

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @HerrMueller,


    I believe there should also be a field called objecttypecode. Can you try and use that in your filter?

    objecttypecode eq 'bookableresourcebooking'
  • Riyaz_riz11 Profile Picture
    4,048 Super User 2026 Season 1 on at

    Hi @HerrMueller 

     

    You can try this.

    objecttypecode eq 'bookableresourcebooking'

     

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • HerrMueller Profile Picture
    79 on at

    Oh yeah, ok in this scenario this helps out. Thanks for that!

     

    But do you have any idea what I can do if I want to filter the lookup object type for filter, if this field is not in place? E.g. for activity entities and regarding field?

  • Riyaz_riz11 Profile Picture
    4,048 Super User 2026 Season 1 on at

    @HerrMueller You can use filter array as well to filter the data.

     

    Once if works please mark as a solution so others will get help for same query.

    So better you can post next question for separate requirement.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @HerrMueller,

     

    I have seen multiple threads where the trigger action did not like the regardingobjectid type column in the OData filter. That one is a bit more challenging.

     

    You could try using a trigger condition as a workaround instead of a OData filter rows field. Add something like below in the settings of your trigger action:

    @equals(triggerOutputs()?['body/_regardingobjectid_value@Microsoft.Dynamics.CRM.lookuplogicalname'], 'bookableresourcebooking')

     

    triggercondition_objecttype.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard