List field to accept multiple values that entered using List Collector variable

Rahul Raja Sami
Tera Guru

Hi 
I was trying to create a field of List type that is mapped to List collector variable. but even though I gave multiple values from the Record Producer it is showing only one name on the List type field on the form. 
how to achieve this?

 

1 ACCEPTED SOLUTION

H Swathi, thanks for the reply but the list field is working and accepting multiple values.

View solution in original post

4 REPLIES 4

swathisarang98
Giga Sage
Giga Sage

Hi @Rahul Raja Sami ,

 

in the script you can add something like 

 

current.u_users =producer.u_users.toString();

 

current.<field_name> = producer.<record producer variable name>

swathisarang98_0-1709314426396.png

 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

H Swathi, thanks for the reply but the list field is working and accepting multiple values.

Anurag Tripathi
Mega Patron
Mega Patron

How are you populating it? Can you show some screenshot or scripts?

list collector will have comma separated sys_id and that can be a direct input to the list field, use the below in your record producer script

current.<list field name>=producer.<variable name>;

-Anurag

Hi Anurag, thanks for the reply but the list field is working and accepting multiple values. It is fine now.