cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mick282
Helper III
Helper III

Trouble triggering Common Data Service (current environment) email message create and update trigger

Hi all,

 

Not sure if I'm doing something wrong but I'm using the Common Data Service (current environment) trigger. I'm using a "Create or Update" trigger condition for the Email Messages entity. I basically  want the Flow to trigger everytime a email is created or updated but specifically when the regarding field is updated. See below screenshot.

 

image.png

 

I've also added a trigger Condition to the trigger as per below:

 

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

 

image.png

 

So basically I want this flow to trigger whenever a email is created and it's regarding a case or if the regarding is updated on the email and is regarding a case.

 

The problem is that I know there's been lots of emails related to cases but none of them are triggering the flow.

 

I don't know what I'm doing wrong in the trigger condition.

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @Mick282 

 

You need to set the below trigger condition

 

@equals(triggerOutputs()?['body/_regardingobjectid_type'],'incidents')

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User
Super User

Hi @Mick282 

 

You need to set the below trigger condition

 

@equals(triggerOutputs()?['body/_regardingobjectid_type'],'incidents')

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,115)