Object Available Record Types


For a given target object, returns a list of IDs and an sObject collection of the record types available to the current user

Documentation: This simple action takes a single input parameter: the API name of the target object. The action returns a list of record IDs and a collection of record type records including the ID and Name fields.

Note: this action only works in a new Spring ’20 org

Here’s how to set it up

After installing it in your org, you can modify the test class to point to different objects so you will get the correct coverage:

Lines 13 and 48: Change to an object with record types in your org
Line 29: Change to an object without record types in your org