Email to incident cannot populate description with Email body in inbound action

Lowestoft
Tera Contributor

Hi,

 

cannot get email body by either of the two 

current.desription = email.body_html;
current.desription = email.body_text;
 
thanks
2 REPLIES 2

Not applicable

Hi @Lowestoft ,

 

"email.body_text" should work. Have you debugged or logged what’s coming out of email.body_text?

 

i would log like-> gs.info("Email Body"+" "+email.body_text); and i may use the Reprocess option on the already received email to test this quickly to check what's happening.

 

Hope this helps!

 

storing email.body_text in local variable and then converting to to string and then setting the description worked. Thanks for your response Hemanth.