Introduction: In this blog, we will understand how to trigger a flow when the email is related to an incident
Use Case: Let’s say you have a requirement where you want your flow should only trigger when the email is related to an incident. (i.e. regarding of email is an incident)
Adding condition in Filter rows:
If we add condition in Filter rows like below and save the flow we will get the “Exception parsing _regardingobjectid_type eq ‘incidents’ submitted for attribute filter expression of callback registration. Target entity: email..” error.

After adding a condition in filter rows you can see we get the below error “There’ a problem with the flow’s trigger”


Let’s resolve this issue.
Steps to resolve this issue.
- Remove the condition from filter rows.

2. Go to your trigger.
Click on Ellipsis (…) –> Click on Settings

3. Go to Trigger Conditions and Click on “+Add”

4. Add the below condition.
@equals(triggerBody()?['_regardingobjectid_type'],'incidents')

5. After adding the condition save your flow. Now you can see the error is gone.

Testing your flow:
Now your flow will only trigger when the email is related to the incident.

Hope this helps!!