+ Start a Discussion
fresher@salesfresher@sales 

standard picklist values

Hi i am new to VWF.

 

How can we display picklist values on screen input fields using dropdown list. I don't want to add them in flow instead i want to retrieve and display from object directly?

 

for ex:

 

i have 2 fields Account Name and Account Type.

 

when user reach this screen he should enter name and select a picklist value from type. and these values should come automatically from Standard Account Type.

 

Please help me.

Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
RajaramRajaram

native support for choices to be based on existing Picklist definitions is something we want to support and is on the roadmap. However, take a look at my github site (https://github.com/raja-sfdc/FlowPicklistSync) for a solution which makes flow use your existing picklist definitions within flow. There are other samples there for useful features/functions.

 

Hope this helps.

All Answers

markross__cmarkross__c

So if I understand correctly, I believe you can only do 1 of these fields.

(All following discussion assumes using the Cloud Flow Designer, not the Desktop Flow Designer.)

When creating a picklist, you have the option of setting up a Dynamic Choice. A Dynamic Choice can look at all of the records in a given object, with optional filters, and present one field of each record as options in that picklist. So you could define a Dynamic Choice looking at Account Name for all Accounts (or Accounts that match a specific criteria, if you prefer). Keep in mind that you have a limit of 200 for any Dynamic Choice.

See page 39 of this document for assistance on how to set up a Dynamic Choice: 

https://login.salesforce.com/help/doc/en/salesforce_vpm_implementation_guide.pdf

 

As for Account Type, I am guessing that you are using the core field 'Type' on the Account object, a picklist. To my knowledge, there is no way for Visual Workflow currently to pull a list of the current picklist options from a given picklist field and present those options dynamically. Dynamic Choice is only designed for looking at all the values of multiple recordsnot the picklist values in a single field. If anyone else knows of a method for this though, please correct me! I'd be happy to know of any alternatives.

RajaramRajaram

native support for choices to be based on existing Picklist definitions is something we want to support and is on the roadmap. However, take a look at my github site (https://github.com/raja-sfdc/FlowPicklistSync) for a solution which makes flow use your existing picklist definitions within flow. There are other samples there for useful features/functions.

 

Hope this helps.

This was selected as the best answer
RobbiePRobbieP
I get a 404 Error when trying to access your link.
markross__cmarkross__c
I had downloaded this and Rajaram's other plugins in the past, so I have put them up on my blog. You can download the Picklist code here:
http://salesforceyoda.wordpress.com/2013/10/22/flow-tools-the-best-plug-ins-to-date-by-rajaram/

________________________________
This message contains information that may be privileged, confidential or copyrighted and is the property of the author. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
LindaBDLindaBD
At Dreamforce 2014, I see that there is some picklist support now.  Can someone please comment on this functionality and how to make it available to us.