Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Real time Marketing: I am getting errors using if sentences in Emails

(0) ShareShare
ReportReport
Posted on by 10

I want to implement a simple if condition in a code element:

pastedimage1682005243920v1.png

Email is a Personalization value. 

The check content sent me an error message:

pastedimage1682005489496v2.png

What I am doing wrong? 

I am following this Microsoft guide Add dynamic content to email messages (Dynamics 365 Marketing) | Microsoft Learn

  • Alex Aguilar Profile Picture
    Alex Aguilar 10 on at
    RE: Real time Marketing: I am getting errors using if sentences in Emails

    Yes, [tag:each] sentence is working as expected

  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: Real time Marketing: I am getting errors using if sentences in Emails

    Hi Alex Aguilar,

    Please try the #each statement first to see if it's available, I think it's an update issue.
    Next raise a support ticket with Microsoft:

    https://admin.powerplatform.microsoft.com/support

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 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans