Design Attribute Considerations for Flow Screen and Action Components
To expose an attribute in Flow Builder, define a corresponding design:attribute in the component bundle's design resource. Keep
these guidelines in mind when defining design attributes for flows.
In a design:attribute node, Flow
Builder supports only the name, label, description, and
default attributes. The other attributes, like
min and max, are
ignored.
For example, for this design attribute definition, Flow Builder ignores
required and placeholder.
Calculating Minimum and Maximum Values for an Attribute
To validate min and
max lengths for a component attribute, use a flow formula or the component's client-side
controller.
Modifying or Deleting design:attribute
Nodes
If a component’s attribute is referenced in a flow, you can’t change the
attribute’s type or remove it from the design resource. This limitation applies to all flow
versions, not just active ones. Remove references to the attribute in all flow versions, and
then edit or delete the attribute in the design resource.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.