Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Slider Screen Input Component

          Slider Screen Input Component

          Let users visually specify number values from a flow screen.

          Required Editions

          View supported editions.
          A Slider component at run time that lets the flow user choose a number between 0 and 10 to represent their satisfaction with the service.
          Note
          Note This screen component requires Lightning runtime.

          Configure the Slider Component

          You can select resources from the flow, such as variables or global constants, or you can manually enter a value.

          Attribute Description
          API Name

          The API name of the component.

          An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores.

          Label

          This label appears above the slider.

          This attribute accepts single-value resources. The value is treated as text.

          Disabled

          If set to true, the user can’t modify the value. The default value is false.

          This attribute accepts a resource with a Boolean value.

          Range Maximum

          The maximum value of the slider range. The default is 100.

          This parameter accepts single-value Number resources.

          Range Minimum

          The minimum value of the slider range. The default is 0.

          This parameter accepts Number resources.

          Slider Size

          Controls the size of the slider. The accepted values are x-small, small, medium, or large.

          This parameter accepts single-value resources of any type. That value is treated as text.

          Step Size

          Divides the slider into a set of steps. The default is 1.

          For example, for a range of 0–100, set the Step Size to 10 to let the user select every 10th value. Other example step sizes are 0.1 and 5.

          This parameter accepts single-value Number resources.

          Value

          The default value represented by the slider position. Setting this attribute from the Inputs tab pre-sets the value.

          This parameter accepts single-value Number resources.

          Store the Slider Component’s Values in the Flow

          The flow stores values automatically. If you store values manually, store the attribute’s output value in a variable.

          To store values manually, select Manually assign variables (advanced).

          All attributes are available to store in flow variables, but Value is the most likely attribute you must store.

          To store the value that the user selected, map the Value attribute to a Number flow variable.

          Tip
          Tip By default, screen components that run on Lightning runtime version 58 and prior have no memory. If a user enters a value, and then does one of the following, the value is lost.
          • Navigates to another screen and returns to the component’s screen.
          • Pauses the flow then resumes it.
          • Navigates to the next screen and triggers an input validation error.

          Setting the attribute enables a flow to remember the value. The flow stores the value automatically. If you store values manually, store the attribute’s output value in a variable.

          Set the Component Visibility

          Specify the logic that determines when the flow displays the component.

          Option Description
          When to Display Component

          Configure when the component is displayed by using conditional logic.

          You can set the components to:

          Always
          Always display the component.
          When all conditions are met (AND)
          Display the component when all of the conditions that you define are met. Define at least one condition.
          When any condition is met (OR)
          Display the component when at least one of the conditions that you define is met. Define at least one condition.
          When custom conditional logic is met
          Display the component when the condition logic that you define is met. Define at least one condition and specify condition logic.

          Validate Input

          Provide a formula that evaluates whether what the user entered is valid and the error message to display if invalid.

          Option Description
          Error Message Specify the error message that appears below the component if the user enters an invalid value.
          Formula

          Provide a formula expression that returns a Boolean value.

          If the formula expression evaluates to true, the input is valid. If the formula expression evaluates to false, the error message appears below the component.

          If the user leaves the field blank and the field isn’t required, the flow doesn’t perform the validation. If the user leaves the field blank and the field is required, the flow shows the default error message and not your custom error message.

          Specify the Behavior of Values on Revisited Screens

          Specify what this component does when a user enters a value, navigates to a previous screen, and then returns to the screen with this component.

          Option Description
          Use values from when the user last visited this screen The component retains the values that the user specified and doesn’t update the values to reflect changes made on previous screens.
          Refresh inputs to incorporate changes elsewhere in the flow

          The component updates the user-specified values to reflect changes made on previous screens.

          If you pause and then resume the flow, the flow retains user-specified values only in Checkbox, Checkbox Group, Currency, Long Text Area, Multi-Select Picklist, Number, Password, Picklist, Radio Buttons, and Text components.

           
          Loading
          Salesforce Help | Article