Flow - Pre-populate choices with dynamic values (variables) - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
5,170  Points
Idea has been posted. Give it an upvote or downvote.

Flow - Pre-populate choices with dynamic values (variables)

Accounts & Contacts

For example if you are using a visual flow to do some data maintenance task - e.g. updating contact details.

You want to ask the salesforce user to update fields like the Department, but you want to default the choice to the existing value from the contact record.

At the moment you can only default it to a static choice.  I would like to be able to default it to the value of a lookup variable, so that the user can see the department is currently 'Sales' or whatever.

(The workaround I have found so far is to have n versions of the screen - with each one having the department defaulting to one of the n possible values - i.e. one for 'Sales', one for 'Finance', etc.  and a decision step to decide which screen to show. This is 'ok' for a small number of choices, but un-manageable for picklists with more than a few options)

Merge Idea · Flag

Latest Comment from Salesforce

  • Alex Edelstein - 6 months ago

    The Flow team hopes to address this officially in the next 12 months as part of improvements to how choices are managed in Flow. In the meantime, you can solve this problem by installing the QuickChoice flow screen component.
  • Upvotes
  • Downvotes



from AppExchange

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.