Flow Action: Get Picklist Values

In my spare time I’m experimentally rebuilding Approval Processes on top of Flow and I recently had a need for a way in Flow to retrieve a set of picklist values that I could then work with. So I built a simple Flow Action to enable all flow designers to do this without code.

It’s a little like the Picklist Choice Set resource in that you hand it the name of an Object and a Field, but it returns a collection of strings that you can then work with directly.

You can iterate through the values but one of the most useful things to do with this is to pass them into the new multiselect dual listbox screen component to let the user pick from among them.

Note: If you’re simply trying to extract the value of a particular picklist field on a record, try https://unofficialsf.com/extract-text-from-email-fields-picklist-fields-and-more-with-the-extracttextfromnontextfield-action/


Provide this action with the api names of your target Object and Field. Field must be a picklist.


V1.5 12/13/22 Production Sandbox misc improvements

Version 1.4 6/21 Add bulkification

View Source

Source Code

Old Versions

Version 1.4 6/21 Add bulkification

1.3 Install (Unmanaged Package)