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.

How to get display value of list collector in flow designer

vahini
Giga Guru

Lets say you have a list collector variable on the catalog item and you want to get display value of the values selected in that field.

 

Here is how i did it

created a flow variable , for example 'Resolution Details' and click on script option and use below code in the script area

 

var t = 'table name where you are storing your list collector value';
var l = fd_data._21__get_catalog_variables.resolution_details.toString();
var dv = new getLCDisplayValues().getValues(t,l);
return dv;

 

vahini_0-1743013091811.png

set flow variables as shown below

 

vahini_1-1743013123379.png

 

 

0 REPLIES 0