Change string to HTML in flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2023 11:08 PM
Hi All,
I am using Flow designer to create the Request through email.
I have created two variables:
Short description- Single text line
Description- HTML.
For Short description I have added Subject Line and for Description Body Text. But the value is coming as string. How to change that to HTML because users will send images as well in the body. I am not finding script option also in the flow designer
There is a syntax in inbound action "email.body_html". But how to use this in Flow Designer. Or can we change the String to HTML using Business Rule on update.
Please help in this.
Thanks,
Samiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2023 11:40 PM
You can use the script to build your email body.
In the script ,just return the html based Description .
The button for writing script is on the right side of the eamil body input area.
※For unknow reason, i can't post a pic ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2023 12:24 AM
Hi @newhand
How to write the script. Script button is not visible for the variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2023 02:19 AM
@Samiksha2
refer this : Here
It is called "inline script"
If you only want to set the Description field to the email body without any other texts,
just write like this: return fd_data.[the path to description].description;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2023 02:42 AM