function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How to you pass selected multi select pick list values in a flow to a collection?


Ok, this should be simple but I just can't figure it out. 
  1. I have a multi-select picklist that lists out all active users. Easily accomplished via a dynamic choice that retrieves the user name and ID.
  2. I need to pass the selected user names to a variable collection so I can lookup their ID. 
    1. I realize that this ID already exists in my dynamic choice but I can't figure out how to get the picklist to return that value instead. If this can be done please let me know. 
  3. Lookup ID using Name. 
  4. I then use this ID for creation of multiple records on multiple objects. 
I cannot figure out how to get the selected "Screen Multi-Select Fields" values to pass into a collection. 

Can anyone help me with this? 
ShashankShashank (Salesforce Developers) 
Please see if this helps:
John LedyardJohn Ledyard
This is the one and only way to accomplish. I had the same issue and this article saved me. Note the comments at the bottom where I provided the formula for "OneRecord" that was ommitted in the original article.
Checkout this latest way to do this using a downloadable apex action component that Parses and converts Multi Select Picklist values in a Flow to a Collection Variable here by Accidental Coder SF :