Flow designer - list collector - how to display multiple values

Kifrez
Kilo Guru

Hi all,

Could someone please help me with list collector variable and flow designer?

I have a catalog item with list collector variable. I am trying to use flow designer to display the values.

Flow designer will list if there is only one value . however, if more than one, it comes up as blank.

How do I incorporate the script in below link so I can display the value in description?

I think it's a bug from the system.

Flow Designer: how can you retrieve values in an action of a glide_list object? - Support and Troubl...

 

Thanks in advanced for your assistance.

1 ACCEPTED SOLUTION

I mean here's my test flow:

find_real_file.png

If the network drives List Collector points to a table, you should be able to do the same just by plugging in your variable into step 2.

Could you post a screen shot of the definition of the list collector?

View solution in original post

22 REPLIES 22

Sohail Khilji
Kilo Patron
Kilo Patron

Hi Freddy,

 

You can create a action that parses the object into an array and can be used in your description to feed array  values...

 

Example:

var list = inputs.param1.toString();

var array = list.split(',');

for (var i=0; i < array.length; i++) {

// use logic here to print the values in description 
      gs.log("Your values are: " + array[i]);

}

 

 

I hope the answer helps, Kindly Mark  Correct or ???? Helpful if applicable., So that others get benefited in future for similar issues...

MF Sohail Khilji.

LinkedIn > https://www.linkedin.com/in/mf-sohail-khilji/

 

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

-O-
Kilo Patron
Kilo Patron

Have you tried with Flow variables and a For Each loop to add one by one all the needed value to the variable?

Else do you know how to create a custom Action in Flow Designer?

-O-
Kilo Patron
Kilo Patron

Something like:

find_real_file.png

Here a List collector Catalog Item Variable allows selecting users and the flow prints the list of selected users' names.

Hi János, thanks for the screenshot. that's helpful.

However, I don't understand how flow variable works. nothing shows up

find_real_file.png