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

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,019)