Can flow designer reference the values of a list collector?

Rob53
Tera Contributor

I am trying to have the flow designer send an email with the details from the variables in the ticket. The flow designer is unable to reference the names of the list items from the table that the list collector is using. How can I use the name of the selected list item from the submitted request in an email created by flow designer?

2 REPLIES 2

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

The List Collector contains just that, a list of objects.

You can iterate through that list with a For Each, and then within that do something with a field in the record.

find_real_file.png

 

If helpful or correct, please indicate so!

OlaN
Giga Sage
Giga Sage

Hi,

There are a couple of pieces that you will need to do for this to work.

First, like mentioned, a list collector is just a comma-separated string with SysIDs, so first you will need to do a look up records, and input the value of the list collector.

Then, with the results, in a for each loop, you can extract the needed data (like name) from the records.
You will need to create a Flow variable, and store the data from your loop within the variable.

Lastly use the data stored in the Flow variable as input in your email action in the Flow.