Email body in html field

Vikram3
Giga Guru

Hi all,

 

I have a flow designer where the trigger is inbound email. I'm creating a request after the trigger where I need to populate the email body in the description field and the subject in the short description. I used the data pill but it didn't work. I even tried the below script which didn't work either.

 

var ritmDesc = fd_data.trigger.email.body;
return ritmDesc;
 
Can anyone help here.
1 ACCEPTED SOLUTION

@Vikram3 

you are using it in wrong way

why are you using script for description?

you can simply set it like this as I shared yesterday

AnkurBawiskar_0-1741067944662.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

21 REPLIES 21

@Vikram3 

please share input to earlier question

what came in flow context in run time for that email body?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Vikram3 

you are using it in wrong way

why are you using script for description?

you can simply set it like this as I shared yesterday

AnkurBawiskar_0-1741067944662.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar I tried using data pill too. When I do that the flow is getting executed without error. But the description is empty.

@Vikram3 

when flow runs, what value you see in the flow execution for the email body?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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