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.

Backend values are populating in the email body for choice type field

GBS
Tera Contributor

I have created an email action in the flow and used catalog variables data pill in the email body but it is showing the backend value in the email.

 

GBSaiKiran_1-1711551595782.jpeg

 

 

7 REPLIES 7

Ravi Peddineni
Kilo Sage

Could you provide screenshots of the flow actions?

@Ravi Peddineni 

GBSaiKiran_0-1711554463769.png

 

GBSaiKiran_1-1711554491240.png

 

GBSaiKiran_2-1711554605305.png

 

 

@GBS 

 

Could you try to use the inline script and use .getDisplayValue() to get the choice label instead of the backend values.

 

So your script might look something like this: 

 

fd_data.<dot walk to the action>.getDisplayValue();

 

use this for three data pills in subject attribute.

@Ravi Peddineni It is only happening for one data pill variable.

 

Can you please paste any sample script so that I'll modify according to my requirement