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 with...
Power Automate
Unanswered

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,189 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
    3,844 Super User 2025 Season 2 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
    3,844 Super User 2025 Season 2 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,189 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

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