โ02-18-2026 07:51 AM
I have a list with the following schema:
I would like to have the dataType be a list of values to pick from when adding items to the list. How can I achieve this?
Solved! Go to Solution.
โ02-18-2026 09:58 AM - edited โ02-18-2026 09:59 AM
First, change the control_type to "select" or "multiselect"
Then, add a "pick_list" key. For the value, make an array of nested primitive arrays with two items. In each nested array, the first item is the label, the second item is the value that passes for each option.
Like this:
[
{
"control_type": "select", ## or multiselect
"label": "Dropdown",
"name": "dropdown",
"type": "string",
"optional": false,
"pick_list": [
["one",1],
["two",2],
["three","hello"]
]
}
]More info here:
And here:
https://docs.workato.com/en/developing-connectors/sdk/sdk-reference/picklists.html
โ02-18-2026 09:58 AM - edited โ02-18-2026 09:59 AM
First, change the control_type to "select" or "multiselect"
Then, add a "pick_list" key. For the value, make an array of nested primitive arrays with two items. In each nested array, the first item is the label, the second item is the value that passes for each option.
Like this:
[
{
"control_type": "select", ## or multiselect
"label": "Dropdown",
"name": "dropdown",
"type": "string",
"optional": false,
"pick_list": [
["one",1],
["two",2],
["three","hello"]
]
}
]More info here:
And here:
https://docs.workato.com/en/developing-connectors/sdk/sdk-reference/picklists.html
โ02-19-2026 04:57 AM
Thanks. I must have just had the syntax wrong