web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Insights - Journeys forum

CUSTOMER JOURNEY ISSUES - Sending Wrong EMAIL

(0) ShareShare
ReportReport
Posted on by 104

I am facing an issue while sending emails through Customer Journey. I have a marketing email where the designer html is dynamically changed and attached to a sample customer journey. Using this journey I clone a new journey whenever the marketing email content is changed and associate it. The problem is whenever I create a new customer journey and it sends the different email (Meaning the same old marketing email), but I have checked in marketing email the new content is updated dynamically everytime.

Can someone help on this.!

I have the same question (0)
  • megcda Profile Picture
    2,192 on at

    Hi Ash,

    Can you please provide some more details on how you are dynamically changing the email content?  If you could share the HTML, that would be helpful as there are limits as to what is supported dynamically at this time.

    Thanks,

    Megan

  • Ash06 Profile Picture
    104 on at

    Hi Megan,

    Our designer html field (msdyncrm_designerhtml) would be something like this "<center><span id="abcd" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><strong>$340,092</strong> </span></center>". I cannot share the full html.

    So using the id we update the dollar value. We use the below regex to update values,

    string pattern = Id + @"([^>]*)>(.*?)<";

    RegexOptions regexOptions = RegexOptions.Multiline;

    Regex regex = new Regex(pattern, regexOptions);

    string output = regex.Replace(SourceText, Id + "${1}>" + ReplaceWith + "<");

    return output;

    The value Is updated as expected in the html content, that we can clearly see in the marketing emails.

    The problem is definitely not with the html values. Because I tried to create a customer journey and hard coded the newly created marketing email's id in the workflow definition field, but it still sends the old email. WEIRD.

  • Suggested answer
    megcda Profile Picture
    2,192 on at

    Hi Ash,

    I have encountered a couple of odd issues with custom HTMl from a couple of our customers.  Unfortunately without having full context, it is impossible to diagnose this issue from what you've added.  If you are still having issues, I suggest you open a support request.  They can then get the relevant information from you in a secure way to help diagnose the issue.

    Wish I could be of more assistance.

    Thanks,

    Megan

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Insights - Journeys

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans