Hands on 5 - displaying two columns Flows

If Lightning runtime for Flows is enabled in your Salesforce organization, you can control whether a Flow displays in one column or two columns. Before using this feature, it is important to understand how the Flow layout currently works.

  • Currently, it is not possible to control the layout at the screen or field level because the layout setting is applied at the Flow level. If you choose a Flow to use two columns, then every screen in that Flow is displayed in two columns.

  • Currently, it is not possible to control which fields go in which columns. If the Flow is set to display two columns, the fields alternate in each column. For example, the odd order fields (first, third, fifth, and so on) are placed in the left-hand side column. The even order fields (second, fourth, sixth, and so on) are placed in the right-hand side column.

  • Currently, it is not possible to configure the Tab key behavior. This means that if a user navigates screens with the Tab key, they will tab through all the fields in the left-hand side column and then all the fields in the right-hand side column.

  • Currently, two-column Flow layout is not responsive, so don't enable two columns layout for Flow if users will run it from a phone or small tablet.

Perform the following steps to configure two column Flows:

  1. Open the Lightning Record Page Campaign with Flows for the campaign object that you have just created.

  2. Click on the Flow (Beta) component that you have added to the lower-left region. Configure the component, as mentioned here:

    • Flow: Select the Create Leads Flow. Only active Flows of type Flow are available.

    • Layout: Select the Two Columns layout. By default, Flows is displayed in one column.

    • Input Variables: You may see other properties based on your Flow setup. If a variable is set as an input variable, then you can see those variables here.

    • Pass record ID into this variable: This option is available only for Text input variables in Record pages. As per the requirement, we have to pass the Campaign ID to the Flow variable {!VarTCampaignID}. To do that, select the Pass record ID into this variable for {!VarTCampaignID} variable, as shown in the following screenshot:

  1. Once you are done, click on the Save button.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.20.221.109