I currently pass a list of strings from my apex class to a flow. The list of strings {!cancellationReasonsList} I pass to a choice recource. The choice recource I pass to a picklist. Instead of ending up with a picklist I get 1 value with the whole list of strings. What am I mising?

I found this answer but dont see what is different: https://developer.salesforce.com/forums/?id=906F0000000AaLOIA0

Flow Choice resource enter image description here

Picklist enter image description here

Value screen picklist enter image description here

3 Answers 3


As of now, there isn't a way to pass a list of string values and display as dynamic choices in the flow's picklist component.

You can check for some alternatives in a similar question asked. (Screen Flow Picklist from Lightning Component).


You can solve this today using the Quick Choice extension

Choice resources can be confusing. Each one represents literally a single choice.In the page that you link to, a single value is being assigned to a single choice resource. In theory you could define 20 choice resources and assign a different choice to each one, but just use Quick Choice instead until we add this properly to the built-in picklist support.


You can create a subflow or implement this logic in the current flow

  1. Create variable of type PicklistValuelnfo enter image description here

  2. create list variable with type PicklistValuelnfo

and assign values to variable and add into list enter image description here

  1. And the last but not least, create Collection Choice Set enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .