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

Hemanth M1
Giga Sage
Giga Sage

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!

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

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