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.
- Install the package per this link
![Deploy to Salesforce](https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/deploy.png)
-
For your users needing access, provide access to the FlowRecordTypeUtils Apex class via profile or perm set.
-
Drag an Action step on your flow and search for "Get Record Type Name (apex-FlowRecordTypeUtils)"
-
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
- That's it! You can now use that output variable for decision logic within the flow.