Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflow if email recipient contains...

Posted on by 230

Im trying to setup a seemingly simple condition for a workflow on the email entity, but i cant get it work. Its either always matching or never. The condition im looking for is if the "To" contains email1@domain1.com and email2@domain2.com. It should match if the two email addresses are in the "To", i dont care if other emails are there as well. It should not match if the only one of those are found. In my case, the recipient in the "To" is a Dynamics User, not a contact. Unfortunately, the workflow condition, doesn't offer a "contain", only "Contains Data". The other two options are Equals or Not Equals. So if i say "If Equals email1@domain1.com;email2@domain2.com", then its always matching, even the To only contains email1@domain1.com and not email2@domain2.com. If i say "If Equals email1@domain1.com, and another condition which would be True (the Owner, which would be different", then it never matches. 

My condition currently looks like this (replaced the values with the fictional one). This is always matching, meaning, even if the To in the recipient is only email1@domain1.com or only email2@domain2.com.

Dynamics-Condition.png

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans