How to display the choice text instead of its value in subject of request through Flow Designer.

Ria
Tera Contributor

How to display the choice text instead of its value in the subject of request through Flow Designer. Currently, value of choice field is displayed in the subject of the request.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Ria 

if you are fetching the choice value using data pill, it will fetch the choice value and not label.

Solution

1) create a flow variable of type String

AnkurBawiskar_0-1753693576320.png

 

2) then use "Set Flow Variable" flow logic and use the script to fetch display value/choice label and set

AnkurBawiskar_1-1753693665601.png

 

3) then use this flow variable in "Send Email" subject

AnkurBawiskar_2-1753693766553.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

6 REPLIES 6

SumanthDosapati
Mega Sage
Mega Sage

@Ria 

What do you mean by subject of request? and how are you setting value in flow designer to show the value. Please share screenshot if possible.

 

Regards,
Sumanth

GlideFather
Tera Patron

Hi @Ria 
How do you populate the subject - by data pill or script? Can you share it please? 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Ria
Tera Contributor

Hi @GlideFather 

 

We are populating the subject by data pill.

Can you please share a screenshot? And Is IT something that stopped working or its a new thing?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */