Scripting in Flow Designer

vidhya_mouli
Giga Sage
This code works in Vancouver but not in Utha (Scripting in Flow Designer)
// Get the email body
var emailBody = fd_data.trigger.inbound_email.body_text;
return emailBody;

Is there is an alternate for fd_data.trigger.inbound_email.body_text?
3 REPLIES 3

VivekSattanatha
Mega Sage
Mega Sage

try print the object 'fd_date.trigger.inbound_email ' and see if you can use some other key.

gs.info(JSON.stringify(fd_data.trigger.inbound_email,null,4))

Ankur Bawiskar
Tera Patron
Tera Patron

@vidhya_mouli 

what came in emailBody when you checked in logs?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Flow-Designer-Operations-View-Unregistered-User-V1-Execution.png