Flow Action and Screen Component BasePacks

These BasePacks are libraries of useful actions and screen components that are commonly used by developers as building blocks when they build their own actions and screen components.

The BasePacks are separated into two packages, one for Actions and one for Screen Components (the reasons they can’t be combined right now are somewhat arcane).

If you already have some of the components in the base packs installed in your org, you don’t have to worry about collisions because the versions in these base packs have different names. You don’t have to modify any of your existing actions or screen components that use the older versions of these components simply because you’re installing these base packs.

Install

FlowActionsBasePack

https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W0000034L7VQAU

Version 2.33 Managed 10/11/21 (Production or Dev) – update to 53.0
Version 2.33 Managed 10/11/21 (Sandbox)

Troubleshoot Installation Issues

View Source

FlowScreenComponentsBasePack

FlowScreenComponents BasePack requires the presence of FlowActions BasePack (see above), because some of the screen components inside of it rely on Apex classes that are included in FlowActions BasePack. So you’ll need to install FlowActions BasePack first.

Version 2.5.8 Unmanaged 9/2/21 (Production or Dev)
Version 2.5.8 Unmanaged 9/2/21 (Sandbox)

View Source


Reference

When an org has the BasePacks installed, it has access to the following screen components and their support Actions:

Display Error

This component allows the developer to highlight an input in their CPE with an error condition.

Reference

Dual ListBox

This component surfaces the dual listbox in flow screens. It allows for multiple selection and returns the selected values either as a comma-separated list or (more usefully) as a collection of strings that can be looped over.

Reference

Expression Builder

A full expression builder. Generates formula strings for output, and these can be evaluated at runtime by the Evaluate Formula action, which is part of this package.

Reference

This image has an empty alt attribute; its file name is image-29-1030x331.png

FlexCard

Flexcard is a great way to display collections of records:

Reference

Flow Banner

This is useful for any custom property editor. It provides a section banner with optional section help text.

Reference

This image has an empty alt attribute; its file name is image-1-715x1030.png

Flow Button Bar

Flow Button Bar brings a more user-friendly interface, new features like icons and vertical buttons, and now offers two distinct “modes” of Flow functionality: Navigation Mode and Selection Mode. It has its own CPE giving much greater flexibility and control over configuring the component.

Reference

image.png

Flow Checkbox

This is useful for any custom property editor. It provides checkbox component for CPEs that will support a default value of True and will correctly retain the checkbox status when exiting the CPE.

Reference

Flow Combobox

This is essential for any custom property editor. It provides a picklist showing upstream merge fields.

Reference

Formula Builder

A full formula builder. Generates formula strings for output, and these can be evaluated at runtime by the Evaluate Formula action, which is part of this package.

Reference

Get Field Information

Get Field Information is a simple action that takes the name of an object (e.g. ‘Contact’) and returns information about all of its fields in a collection, including name, label, type, required. The data is returned in a collection of a custom datatype called a FieldDescriptor that can be manipulated declaratively in Flow.

Reference

Icon Picker

This component can add a visual icon picker to your Flow Screen and developers can include it in a Custom Property Editor or other Lightning Web Components. 

Reference

Object and Field Picker

Provides a drop in component for selecting Objects or Object/Field combinations.

Reference

Quick Choice

Add picklists, radio button groups and visual cards that can use dynamic defaults, record-type-filtered picklist fields, and string collections.

Reference

Show Toast

A simple local action that pops a toast up. Works with Screen flows only.

Reference

Transfer Metadata

A screen component that can retrieve or deploy any salesforce metadata.

Reference

Developer Notes

When creating a project that relies on Screen Components Base Pack, you need to specify both the Actions Base Pack and the ScreenComponents Base Pack as dependencies, as shown below. This is because the Screen Components Base Pack makes use of the Actions Base Pack. Furthermore, the order you list the dependencies is critical. The ActionsBasePack has to come first.

{
    "packageDirectories": [
        {
            "path": "force-app",
            "dependencies": [
                {
                    "package": "FlowActionsBasePack@2.1.0-0"
                },
                {
                    "package": "FlowScreenComponentsBasePack@2.1.0-0"
                }
            ],
            "default": true,
            "package": "testproj",
            "versionName": "ver 0.1",
            "versionNumber": "0.1.0.NEXT"
        }
    ],
    "namespace": "",
    "sfdcLoginUrl": "https://login.salesforce.com",
    "sourceApiVersion": "50.0",
    "packageAliases": {
        "FlowScreenComponentsBasePack@2.1.0-0": "04t5G000004PuTgQAK",
        "testproj": "0Ho5G000000XZNfSAO",
        "FlowActionsBasePack@2.1.0-0": "04t4W000002vXUCQA2"
    }
}

Version History – FlowActionsBasePack

sion 2.32 Managed 8/13/21 (Production or Dev) – getFieldInformation updated to API 52.0
Version 2.32 Managed 8/13/21 (Sandbox)

Version 2.32 Managed 8/13/21 (Production or Dev) – getFieldInformation updated to API 52.0
Version 2.32 Managed 8/13/21 (Sandbox)

Version 2.29 Managed 7/22/21 (Production or Dev) – Fix for bug that prevents metadata deployment to production orgs
Version 2.29 Managed (Sandbox)

Version 2.28 Managed 7/21/21 (Production or Dev) – Fixes some problems in Formula Evaluator
Version 2.28 Managed 7/15/21 (Sandbox)

Version 2.27 Managed 7/15/21 (Production or Dev) – Turns off ‘noTestRun’
Version 2.27 Managed 7/15/21 (Sandbox)

Version 2.26 Managed 7/3/21 (Production or Dev) – Supports the addition of FlexCard to Screen Components Base Pack
Version 2.26 Managed 7/3/21 (Sandbox)

Version 2.25 Managed 7/3/21 (Production or Dev) – Supports the addition of FlexCard to Screen Components Base Pack
Version 2.25 Managed 7/3/21 (Sandbox)

Version 2.24 Managed 6/19/21 (Production or Dev) – Deploy Metadata is now Workflow-aware (special variant metadata naming)
Version 2.24 Managed 6/19/21 (Sandbox)

Version 2.22 Managed 6/11/21 (Production or Dev)

Version 2.20 Managed 6/2/21 (Production or Dev)
Version 2.20 Managed 6/2/21 (Sandbox)

Managed 2.19 5/23/21 (Production or Dev)

Managed 2.17 4/15/21 (Production or Dev)
Managed 2.17 4/15/21 (Sandbox)

Production or Dev: Install Version 2.16 Managed – 4/2
Sandbox: Install Version 2.16 Managed – 4/2

Install Version 2.15 Managed 4/2

Install Version 2.14 Managed 3/23 SetupViaFlow changes

Install Version 2.12 Managed (Production or Developer)
Install Version 2.12 Managed (Sandbox)

12/31/20 – Eric Smith – Fixed bug causing “Apex CPU time limit exceeded” in the Datatable CPE

12/30/20 – enhancements to support Collection Process Actions

Install Version 2.11 Managed (Production or Developer)
Install Version 2.11 Managed (Sandbox)

Install Version 2.7 Managed 12-20 enhancements to enable Datatable 3

Install Version 2.6 Managed 11-28 bug fix to dual list box

note: due to a packaging mistake, you can’t upgrade directly from version 2.2 to 2.6 (you have to uninstall 2.2). You can upgrade from version 2.1 to 2.6. In the future we’ll avoid creating dead-end versions.

Install Version 2.2 Managed 11-9. Bug Fix

Install Version 2.1 Managed 10-11

Version History – FlowScreenComponentsBasePack

Version 2.5.7 Unmanaged 9/2/21 (Production or Dev)
Version 2.5.7 Unmanaged 9/2/21 (Sandbox)

Version 2.5.6 Unmanaged 8/28/21 (Production or Dev)
Version 2.5.6 Unmanaged 8/28/21 (Sandbox)

Version 2.5.5 Unmanaged 8/13/21 (Production or Dev)
Version 2.5.5 Unmanaged 8/13/21 (Sandbox)

Version 2.5.4 Unmanaged 8/13/21 (Production or Dev)
Version 2.5.4 Unmanaged 8/13/21 (Sandbox)

Changes since 7/21/21 (Version 2.5.1)

  • fsc_flowCombobox fix for error introduced in API 52.0 for selecting a field from an object variable in a CPE (v2.5.5)
  • Added support for Quote and QuoteLineItem to Quick Choice and Dual List Box
  • New Static List attribute type for Quick Choice
  • fsc_lwcModal utility for CPE developers
  • Quick Choice CPE will now show the current version #
  • Fixed default value issue in Quick Choice

Version 2.5.4 Unmanaged 8/13/21 (Production or Dev)
Version 2.5.4 Unmanaged 8/13/21 (Sandbox)

Version 2.5.3 Unmanaged 8/10/21 (Production or Dev) – fixes: Quick Choice CPE gets static list builder, lwcModal utility for CPE added to package NOTE will not install currently

Version 2.5.3 Unmanaged 8/10/21 (Sandbox)

Version 2.5.2 Unmanaged 8/9/21 (Production or Dev) – fixes: Quick Choice label bug, Dual List Box bug, added support to Quick Choice and Dual List Box for Quote and QuoteLineItem standard objects

Version 2.5.2 Unmanaged 8/9/21 (Sandbox)

Version 2.5.1 Unmanaged 7/21/21 (Production or Dev) – fixes to Automatic Output Handling in Flow Combobox, and update several screen components to take advatages of Automatic Output Handling in Flow Combobox
Version 2.5.1 Unmanaged 7/21/21 (Sandbox)

Version 2.5.0 Unmanaged 7/6/21 (Production or Dev) – QuickChoice: Required Visual Card input shows * before label
Version 2.5.0 Unmanaged 7/6/21 (Sandbox)

Version 2.4.0 Unmanaged 7/3/21 (Production or Dev) – Added Flexcard
Version 2.4.0 Unmanaged 7/3/21 (Sandbox)

Version 2.3.10 Unmanaged 6/22/21 (Production or Dev) – Added support for automaticOutputVariables for CPEs, Flow ComboBox bug fixes
Version 2.3.10 Unmanaged 6/22/21 (Sandbox)

Version 2.3.7 Unmanaged 6/12/21 (Production or Dev) – Flow ComboBox now supports Automatic Output Variables

Version 2.3.5 Unmanaged 6/9/21 (Production or Dev)
Version 2.3.5 Unmanaged 6/9/21 (Sandbox)

Version 2.3.4 Unmanaged 6/2/21 (Production or Dev)
Version 2.3.4 Unmanaged 6/2/21 (Sandbox)

Version 2.3.3 Unmanaged 5/31/21 Added FlowButtonBar, fixes for PB Convert

Unmanaged 2.2.1 4/15/21 (Production or Dev)
Unmanaged 2.2.1 4/15/21 (Sandbox)

Production or Dev: Install Version 2.2.0 Unlocked – added error handler component
Sandbox: Install Version 2.2.0 Unlocked – added error handler component

3/26/21 – Eric Smith – Added fsc_displayError component for CPEs

3/16/21 – Eric Smith – Added fsc_screenFlow component (used by Datatable & FlexCard)

Install Version 2.1.9 Unlocked – small change to Object and Field Picker

Install Version 2.1.8 Unlocked – changed organization name

Install Version 2.1.7 Unlocked (Production or Developer)
Install Version 2.1.7 Unlocked (Sandbox)

Install Version 2.1.6 Unlocked (Production or Developer)
Install Version 2.1.6 Unlocked (Sandbox)
2/13/21 – Eric Smith – Added fsc_flowCheckbox component to be used in CPEs

Install Version 2.1.5 Unlocked (this installs into Production and Developer orgs. to install into sandboxes replace ‘login’ with ‘test’ in the url.

Quick Choice
Version 2.32 – 1/28/21 – clifford-fra
Added support for responsive sizing for single column Visual Cards

Install Version 2.1.3 Unlocked (Production or Developer)
Install Version 2.1.3 Unlocked (Sandbox)

12/31/20 – Eric Smith – Added Icon Picker for Flow Screens, Lightning Components and Custom Property Editors

Install Version 2.1.1 Unlocked 12/20/20 – (minor enhancements)

Install Version 2.1.0 Unlocked 11-26 (fixes to FlowComboBox; added FlowBanner)

Install Version 2.0.6 Unlocked 11-2 (removed lwcLogger)

Install Version 2.0.5 Unlocked 11-2

Install Version 2.0.4 Unlocked 10-24