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.

List values in Flow Designer are showing as sys_ids instead of Values

Russ Heard3
Mega Expert

Hi,

First time creating a Flow in Flow Designer, want to send an email to interested parties about Failed Changes.

One of the Change columns I want to show on the email is the 'Region Affected' which is a Choice List of one to six regions.

The Regions are being returned as a list of sys_ids, rather than a list of text values.
Does this mean Choice Lists cannot be shown, or am I doing some thing wrong (as I suspect)?

Choice List 

find_real_file.png

Change record

find_real_file.png

Email Body generated 

find_real_file.png

 

Thanks!
Russ                       

1 ACCEPTED SOLUTION

In this case a simple way to go would be to first do a look up of all region records that is on the trigger record, then loop through all records, and store their display names in a Flow variable.
Once done, use the data in the Flow variable as input in your email action.

I've made a simple example for you to examine and alter it so that it fits your needs.

find_real_file.png

View solution in original post

15 REPLIES 15

If you never got an answer to this, I figured out it works if you put the space after the variable (see image).

screenshot1.png