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

Community site session details

Session Id : rrQna1vZS3PYT1HMombOQ8
Power Automate - General Discussion
Unanswered

Trigger odata filter regarding object type from email

Like (0) ShareShare
ReportReport
Posted on 9 Apr 2021 03:56:44 by 53

I'm trying to filter my trigger so it's only triggering on emails where the regarding object type is a case. I have the odata filter currently set to _regardingobjectid_type eq 'incidents' but this is throwing an error of Exception parsing _regardingobjectid_type eq 'incidents' submitted for attribute filterexpression of callback registration. What does the odata filter need to be so the flow only triggers when the regarding object type is a case? 

  • BjornI Profile Picture
    7 on 08 Dec 2021 at 14:57:10
    Re: Trigger odata filter regarding object type from email

    That worked! 

    My flow actually have filter rows with one condition, as well as regarding filter in settings/Trigger conditions. 

    Thanks!

  • cholst Profile Picture
    53 on 08 Dec 2021 at 14:32:52
    Re: Trigger odata filter regarding object type from email

    I found a solution but not what i was trying originally. I've moved to the trigger conditions in settings. From there you can set multiple trigger conditions and the flow will only trigger if those conditions are true. For this i used the following condition. Hope this helps you as well. 

    @equals(triggerBody()?['_regardingobjectid_type'],'incidents')

  • BjornI Profile Picture
    7 on 08 Dec 2021 at 13:12:23
    Re: Trigger odata filter regarding object type from email

    cholst, did you find a solution to this? I am able to stop the flow with a condition AFTER the trigger, checking the regarding type, but I have not been able to use it in the trigger like you mentioned. I have tried _regardingobjectid_value@Microsoft.Dynamics.CRM.lookuplogicalname eq 'incident', regardingobjecttypecode eq 112,

    _regardingobjectid_type eq 'incidents'
  • cholst Profile Picture
    53 on 09 Apr 2021 at 13:07:51
    Re: Trigger odata filter regarding object type from email

    i understand that as a solution but since this is triggering on create on an email i'm trying to limit the number of triggers. Is what i'm trying to accomplish possible?

  • leyburn19 Profile Picture
    2,157 on 09 Apr 2021 at 05:24:36
    Re: Trigger odata filter regarding object type from email

    Put a simple condition after the trigger.  Your trigger will action not matter what so capture the next step as the action you want

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete