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

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

@Ria 

Hope you are doing good.

Did my reply answer your question?

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