All Ideas

Idea Details

Post an Idea
170  Points
Under Point Threshold
Idea hasn't met the 2,500-point review threshold. Give it an upvote or downvote.

Allow non-string attribute types like Map and Object for Flow Local Actions

Process Builders & Workflow

Local actions in Flow are pretty darn cool, but they're also somewhat limited to what you can pass into a string attribute.

For example, let's say I want to take users to a create record screen, passing in default field values. I can do this with a lightning component via e.force:createRecord and then setting the field & values as a param. 

If I wanted to make this a general component and not create a createrecord component for every sobject with hard-coded fields, I need to pass in a Map, something that'll let me set defaultFieldValues with multiple keys and values. lightning:availableForFlowActions doesn't allow this at this time. 

It's only acceptingn strings, which leaves passing json and parsing it in the controller which is not recommended. 

If I could pass a map value in and then in Flow set the value of the attribute in the local action like: {ParentId : 'a0Bc0000005vzzhEAA', Name : 'Record name' } I could create an extremly flexible component with more than a single use.

Merge Idea · Flag

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

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.