- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 11:42 AM
I am building a flow and need to send an email. The only part where I'm stuck is that the email that is created looks significantly different than the email I built.
Email in Flow Designer Action:
Email as previewed:
Here's a snippet of the source code:
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><img style="font-family: sans-serif; font-size: 14px; background-color: #f6f6f6;" title="" src="Economical_RB-NoRBall.pngx" alt="" width="203" height="48" align="baseline" border="" hspace="" vspace="" data-original-title="" /></span></p>
<p style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Your request has been closed because an approval was rejected or not actioned by the due date.</span></p>
<p style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Votre demande a été fermée car une approbation a été rejetée ou n'a pas été traitée à la date d'échéance. </span></p>
<p style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Note: <span class="data_parent_pill" style="display: inline;" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data_pill accepts_transform_functions" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data-pill-content-container"><span class="pills"><span class="pill-text" data-for="ah_tooltipTop" data-tip="action > Approval Status"><span class="pill-start">action</span><span class="pill-arrow"><span class="data-pill-label-caret"><span class="data-pill-label-arrow">➛</span></span></span><span class="pill-end">Approval Status</span></span></span><button id="transform_function_facade_74f75faf-31b0-4429-83df-73d58dd76dc1" class="transform_function_facade no_transform_applied"><span class="inline-script-icon"><span style="display: none;"></span></span></button></span></span></span></span></p>
I can't figure out a way to clean up for the formatting in the actual email. IMO, what's being sent looks terrible. I'd like to have reliable control over the formatting of the email.
Can anyone point me to a way to clean this up?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 11:50 AM
if you don't want those extra spaces between the lines
To go next line don't use "ENTER" key but "SHIFT+ENTER"
It will remove those extra spaces.
Please try and let me know.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 04:37 PM
Hi Sue,
Can change the <p> tags to <div> to decreasing line spacing.
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><img style="font-family: sans-serif; font-size: 14px; background-color: #f6f6f6;" title="" src="Economical_RB-NoRBall.pngx" alt="" width="203" height="48" align="bottom" border="" hspace="" vspace="" data-original-title="" /></span></p>
<div style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Your request has been closed because an approval was rejected or not actioned by the due date.</span></div>
<div style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Votre demande a été fermée car une approbation a été rejetée ou n'a pas été traitée à la date d'échéance. </span></div>
<p style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Note: <span class="data_parent_pill" style="display: inline;" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data_pill accepts_transform_functions" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data-pill-content-container"><span class="pills"><span class="pill-text" data-for="ah_tooltipTop" data-tip="action > Approval Status"><span class="pill-start">action</span><span class="pill-arrow"><span class="data-pill-label-caret"><span class="data-pill-label-arrow">➛</span></span></span><span class="pill-end">Approval Status</span></span></span><button id="transform_function_facade_74f75faf-31b0-4429-83df-73d58dd76dc1" class="transform_function_facade no_transform_applied"><span class="inline-script-icon"><span style="display: none;"></span></span></button></span></span></span></span></p>
Preview

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 04:40 PM
If required to increase line spacing, add "line-height:24px;" (increase or decrease 24) to style.
e.g.
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><img style="font-family: sans-serif; font-size: 14px; background-color: #f6f6f6;" title="" src="Economical_RB-NoRBall.pngx" alt="" width="203" height="48" align="bottom" border="" hspace="" vspace="" data-original-title="" /></span></p>
<div style="line-height: 24px; font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Your request has been closed because an approval was rejected or not actioned by the due date.</span></div>
<div style="line-height: 24px; font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Votre demande a été fermée car une approbation a été rejetée ou n'a pas été traitée à la date d'échéance. </span></div>
<p style="font-family: sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Note: <span class="data_parent_pill" style="display: inline;" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data_pill accepts_transform_functions" contenteditable="false" data-pillvalue="{{fd_transform:74f75faf-31b0-4429-83df-73d58dd76dc1}}"><span class="data-pill-content-container"><span class="pills"><span class="pill-text" data-for="ah_tooltipTop" data-tip="action > Approval Status"><span class="pill-start">action</span><span class="pill-arrow"><span class="data-pill-label-caret"><span class="data-pill-label-arrow">➛</span></span></span><span class="pill-end">Approval Status</span></span></span><button id="transform_function_facade_74f75faf-31b0-4429-83df-73d58dd76dc1" class="transform_function_facade no_transform_applied"><span class="inline-script-icon"><span style="display: none;"></span></span></button></span></span></span></span></p>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 12:49 PM
FYI this is fixed in San Diego Patch 4 planned for release in June

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 09:56 PM
Awesome!
Aman Kumar