Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
8 subscribers
Views
2622 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have developed a process model to receive emails. I need to render the msg bod
jayanthik
over 9 years ago
I have developed a process model to receive emails. I need to render the msg body in a word document but I am seeing that the message properties "msgBody" is not preserving the spaces from the actual email message. The entire email message body is rendered as a continuous text when saved in process variable.
Do we have any appain rules/functions to format /render the message property "msgBody" which is of type text according to the message content type?
OriginalPostID-199780
OriginalPostID-199780
Discussion posts and replies are publicly visible
Parents
0
Jaggu
over 9 years ago
Hi Jayanti,
Try this approach
save msg!body into a variable, and do split and join you'll get the email body as it is.
local!eBody:trim(split(pv!emailBody,";<")[1]),
local!properEBody:joinArray(local!eBody,char(10) // or try joinArray(local!eBody,"<br/><br/>"),
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jaggu
over 9 years ago
Hi Jayanti,
Try this approach
save msg!body into a variable, and do split and join you'll get the email body as it is.
local!eBody:trim(split(pv!emailBody,";<")[1]),
local!properEBody:joinArray(local!eBody,char(10) // or try joinArray(local!eBody,"<br/><br/>"),
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data