0

enter image description here

in my flow, I use an action to send notification, I have an action to send notification with bell icon, I receive the notification but in HTML form as the image shows, how can I do it? to resolve ?

My Action :

enter image description here

The notification Body is a ressource (Text Formula)

3
  • 1
    Do I understand correctly that you want the notification to be displayed with rendered HTML, but what you see as a notification is the HTML source? Or what is the problem? Apr 22, 2022 at 16:36
  • Maybe only text is supported. There is no mention of that apart from Point 4 in this help.salesforce.com/s/…
    – manjit5190
    Apr 22, 2022 at 19:12
  • @Felix van Hove , Yes that the problem , And I don't know how to fixe it Apr 22, 2022 at 22:56

1 Answer 1

1

The Send Custom Notification action's body only accepts plain text, and will display any markup as actual text like you see in your results.

I suspect your {!Body} resource in the Flow is a text template, correct? If so, you can open that text template resources for editing, and toggle the drop down that says "Rich Text" and change it to plain text. This way, no markup or special characters will get added to the text you place in the text template content (other than merging in the values of any resource you place there at runtime)

Hot tip:

Before you toggle it, while it's still Rich Text, I recommend highlighting the content you have, use Ctrl+X to cut it (or Ctrl+C, then delete), and THEN toggle the empty content to plain text and then use Ctrl+P to paste your content back in. There's some funkiness otherwise (you'll get all that markup suddenly displaying as plain text like you see in your notification)

Once your text template is switched to plain text, you should be good-to-go!

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .