Prepopulating multiselect picklists in a flow

I have a multiselect picklist on a record.
I want to display its current values in a multiselect picklist in a visual flow.
But when I tried setting the value of the picklist to a variable and setting that as the default value in the multiselect picklist, I got “one; two”, as opposed to “one” and “two” on separate lines.
Has anyone come up with a way of doing this?

Answer

Based on the documentation, it seems to be normal to get this string containing a series of attributes delimited by semicolons.

Multi-select picklist fields contain a list of one or more items from
which a user can choose multiple items. One of the items can be
configured as the default item. Selections are maintained as a string
containing a series of attributes delimited by semicolons. For
example, a query might return the values of a multivalue picklist as
“first value; second value; third value”.

http://www.salesforce.com/us/developer/docs/api/Content/field_types.htm#i1435691

Attribution
Source : Link , Question Author : Eamon , Answer Author : SF_user

Leave a Comment