Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
1 REPLY 1

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