how to populate List collector value in flow designer

KaMmILa__
Tera Expert

Hello 

 

I have a flow that needs to set the list collector values to a list field in another table , When I use the dotwalk directly I cannot see the field populated in the flow, If I use the script it is throwing an error below.

 

both the variable and field points to same table

Variable : find_real_file.png

 

Field:

find_real_file.png

 

Flow : The variable is not selectable 

find_real_file.png

 

I used the below script : 

return fd_data.trigger.current.fsv_new_netbadge_iam_roles; below is the erro
find_real_file.png
1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

You can directly fetch that updated record and then use the create record flow action . 

 

eg:

 

1. Triger action

2. getVariables

3. Create record : here you will set the field value eg:

var ds= fd_data.trigger.current.variables.<variable Name>;
return ds;

View solution in original post

7 REPLIES 7

Community Alums
Not applicable

Please use Catalog client script to populate variables. Flow is not ideal for this situation

you may have to use AJAX call to get data using client script...depending on the requirement you have

Michael Fry1
Kilo Patron

You need to use a For each in FLOW on a list collector. For each value, do this.

Thanks For that , I added the for each item and from there added the update the newly created record , can you please help me with the logic what I need there to update the record ?

 

find_real_file.png

In the field IAM Roles, where it says Select a choice, use the data pill and choose your for each record.