How to copy values from list collector variable to string field using flow designer

Divya57
Tera Expert

Hi Guys,
Am facing an issue with copying values from list collector variable to string field in a custom table.
I have a list collector variable referring to user table in one of the catalog item. end user can select more than one user in it. After submitting the catalog item based on approvals these multiple users from list collector variable will need to added to string field of a custom table.
In the flow designer i used getvariables and then used inputs in update record. When it is only one record its getting copied but then its multiple records, its not getting copied in the string field.
Please suggest

1 ACCEPTED SOLUTION

Okay, here you go, a simple example on how you can set the data within the Flow.

First an overview on how it's done, then I've provided some details on the steps in the flow for explanation.

 

flow-set-data-from-list-collector-overview.png

 

flow-set-data-from-list-collector-overview-step2-expanded.png

 

flow-set-data-from-list-collector-overview-step5-expanded.png

 

flow-set-data-from-list-collector-overview-step7-expanded.png

 

View solution in original post

12 REPLIES 12

RajeevnathB
Tera Contributor

@SP22 
Already tried this. not much useful.

Hi @SP22 - Already tried this. Not useful

Rohit99
Mega Sage

Hi @Divya57,

Please have a look on the following thread.
https://www.servicenow.com/community/developer-forum/user-role-assignment-automation/m-p/2963095/pag...


Please mark my response as correct and helpful if it helped solved your question.

 

Thanks,

Rohit Suryawanshi