Skip to main content

Anyone encountered this issue?

Please suggest, If I am missing anything.
Appreciate any help! 🙏

Agenda:
I am trying to pass comma-separated values to a dropdown in a form.

Issue:
When I pass the hardcoded values , the dropdown works correctly and displays multiple options.
Example:

 Dropdown shows separate options.


 

But when I pass the same values using a variable, the dropdown interprets it as a single consolidated string.
Example:

 

 

Output

Dropdown shows only one option: 

 

 

Hi ​@Dipti 2765,

 

Change your variable type from String to List.


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.

 

But we can try the in-line conversion from List to String, right? There is a thread in the community where a user resolved this issue by following this approach.


In a form, what's the procedure for populating the dropdown's list of options? | Community


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.

 

But we can try the in-line conversion from List to String right? There is a thread in the community where a user resolved this issue by following this approach.


In a form, what's the procedure for populating the dropdown's list of options? | Community



@Padmakumar Thanks, but I already tried using a List as the variable type and explicitly converting the data to a string during variable mapping, but the issue still persists.


 


Mapping:
 


Output:
 The dropdown still interprets it as a single consolidated string.
 

Form View

 


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.

@Aaron.Gleason  Thanks for suggesting the workaround. While this could be one solution, it doesn’t fully meet the requirement 🙂. For now, I’m using a text box in the form to pass the input manually.


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.

 

But we can try the in-line conversion from List to String right? There is a thread in the community where a user resolved this issue by following this approach.


In a form, what's the procedure for populating the dropdown's list of options? | Community



@Padmakumar Thanks, but I already tried using a List as the variable type and explicitly converting the data to a string during variable mapping, but the issue still persists.


 


Mapping:
 


Output:
 The dropdown still interprets it as a single consolidated string.
 

Form View

 



@Padmakumar ​@Aaron.Gleason 
The List-to-String solution worked, but there’s a catch: while mapping the variable to the form, we need to add a semicolon.
 

After adding semi colon, solution worked.

 


Hi ​@Dipti 2765,

 

Change your variable type from String to List.

@Padmakumar That is the correct answer, but currently that field won’t accept a list.

@Dipti 2765 This is currently being looked at because I’ve been following up on exactly the same issue. For the time being, you can populate a table with checkboxes instead. It looks something like this:

Just send the form’s Table element a Data Table from a task bot/API task. If you have checkboxes selected, leave that column of the table empty. 

When receiving the table, loop through the first column to see which row is checked.

I know this isn’t a good workaround, so watch for a fix for the drop-downs pushed soon.

 

But we can try the in-line conversion from List to String right? There is a thread in the community where a user resolved this issue by following this approach.


In a form, what's the procedure for populating the dropdown's list of options? | Community



@Padmakumar Thanks, but I already tried using a List as the variable type and explicitly converting the data to a string during variable mapping, but the issue still persists.


 


Mapping:
 


Output:
 The dropdown still interprets it as a single consolidated string.
 

Form View

 



@Padmakumar ​@Aaron.Gleason 
The List-to-String solution worked, but there’s a catch: while mapping the variable to the form, we need to add a semicolon.
 

After adding semi colon, solution worked.

 

Sorry. I missed mentioning that part.


Reply