Posts

Get Record Type Info by Object – Flow Action

This action can be used to generate a list of record types for a specific object. This can be useful when you would like to present a record type selector to the user. Can be used as inputs to the QuickChoice managed package by setting Input Mode to “Dual String Collections”. Pass in one output collection for Labels and one for the underlying values

Inputs

AttributeTypeDescription
Object NameStringAPI name of the target object example “Task” or “MyObject__c”
ignoreMasterRecordTypeBooleanIf “on” then “Master” will not be added to the list of record types
onlyReturnActiveRecordTypesBooleanIf “on” then only active record types will be added to the list
onlyReturnRecordTypesAvailableToCurrentUserBooleanIf “on” then only record types available to the current user will be returned

Outputs

AttributeTypeDescription
errorsStringcaptures details of any error that occurred
recordTypeIdsStringIds of the records types.
recordTypeNamesStringNames of the record types.

Installation

Install this action as part of the QuickChoice managed package or as a standalone package.

Source

How to create a Map collection in Flows by Narender Singh

Narender Singh form ForcePanda wrote a two blog series about using map collections in flows. The second blog makes good use of the new generic sObject support in flows coming in the Spring ’20 release

Part 1: https://forcepanda.wordpress.com/2019/12/17/how-to-create-a-map-collection-in-flows-part-1/

Part 2: https://forcepanda.wordpress.com/2019/12/18/how-to-create-a-map-collection-in-flows-part-2flow-map-methods-spring20delight/

Creating a unique collection in flow by GORAV SETH

GORAV SETH shared a quick tip on his blog about a way to create a unique collection in flow
https://goravseth.com/creating-a-unique-collection-in-flow

Navigate to a Record in View or Edit Mode at the end of a Flow

A common need in Flows is to be able to redirect the user to a new record that may have been created in the Flow. This new Lightning Flow Action can be used to redirect the user to the specified record in either View Mode or Edit Mode.

ersNavigateToRecord

Submitting multiple records to Flows by https://bigassforce.com

The admins at https://bigassforce.com wrote a blog on how you can create a list button that launches a flow and pass the selected record ids to be processed by the flow using an undocumented flow variable

How to validate custom Flow screen components in Flows by Narender Singh

Narender Singh form https://forcepanda.wordpress.com posted a series of blogs on how to add validation to custom flow screen components:

Part 1 https://forcepanda.wordpress.com/2019/07/09/how-to-validate-custom-flow-screen-components-in-flows-part-1/

Part 2 https://forcepanda.wordpress.com/2019/07/11/retain-input-values-while-validating-custom-flow-screen-lightning-components-part-2/

Part 3 https://forcepanda.wordpress.com/2019/07/12/adding-validation-errors-on-individual-inputs-in-custom-flow-screen-components-part-3/

Flow Screen Component: Dependent Picklists with RecordType and MultiSelect Picklist support by Narender Singh

Narender Singh created a flow screen component for a dependent picklist tha supports picklist value selection based on the record type.

https://forcepanda.wordpress.com/2019/06/11/flow-screen-component-dependent-picklists-with-recordtype-and-multiselect-picklist-support/

How to Declaratively Handle with Flow When Files are Shared to Records by DOUGLAS C. AYERS

Douglas Ayers and Michelle Hansen developed an Apex trigger that could know when a file was being shared to a record and then call an autolaunched flow where the business logic could be implemented declaratively.

How to do more with Custom Permissions in Salesforce Lightning Flows by Scott McClung

Apex Action to make Custom Permissions even more useful in flows.

  • Detailed write up available here
  • To install the package click here

Use Einstein Next Best Action with Flow by Marc Baizman

Ever wanted to inject Einstein Next Best Action into your Flows? Check out this post by Marc Baizman.