thedges / FlowRecordTypeUtils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlowRecordTypeUtils

THIS SOFTWARE IS COVERED BY THIS DISCLAIMER.

Simple Apex class to provide a Flow action to retrieve the RecordType developer name for a given record id.

Installation

  1. Install the package per this link
Deploy to Salesforce
  1. For your users needing access, provide access to the FlowRecordTypeUtils Apex class via profile or perm set.

  2. Drag an Action step on your flow and search for "Get Record Type Name (apex-FlowRecordTypeUtils)"

  3. Configure the "Get Record Type Name" Action step to pass in a record id for input and setup an output variable (Text) for the response. Here is example screenshot which uses the {!$Record.Id} input variable for a Record-Triggered Flow

Configuration

  1. That's it! You can now use that output variable for decision logic within the flow.

About


Languages

Language:Apex 100.0%