How to use List collector in flow designer

Sanya121
Tera Contributor

Hi All,

 

I am facing an issue to work with List Collector in Flow Designer.

I am having a variable 'Asset' as List Collector.I want to use its reference values. How can I dot walk to them ? 

When I am selecting a reference value , it is showing an error that the reference variable is inactive.

 

Any help would be appreciated. Thanks in advance.

 

Screenshot 2023-08-07 224916.png

1 REPLY 1

Riya Verma
Kilo Sage
Kilo Sage

HI @Sanya121 ,

 

Hope you are doing great.

 

To work with a List Collector variable in Flow Designer, you can follow these steps to dot-walk to its reference values:

  1. First, make sure that the 'Asset' variable is properly configured as a List Collector in your Flow Designer flow.

  2. Ensure that the reference variable used in the 'Asset' variable is active. If the reference variable is inactive, you will encounter errors when attempting to select a reference value.

  3. To dot-walk to the reference values, you can use the dot notation to access the fields of the selected 'Asset' variable. For example, if the reference variable within the 'Asset' variable is named 'ReferenceField', and it has a field named 'Name', you can access it like this:

 

var assetName = current.Asset.ReferenceField.Name;

 

 

 
Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Regards,
Riya Verma