function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rebecca Hendricks 3Rebecca Hendricks 3 

apex class getting case record type

I know this is probably way more simple then I am making it.  I am creating a Lightning Component.  The Lightning Component will be launched from a case, and will display values in a picklist that will vary based on the Record Type of the case that launched the component.

Here's my question: How do I get the record type for the case that launched the component?

All my research shows people using a Map object in connection with a SOQL statement to get a list of all record types or cases with a specific record type.  I don't need to do that.  I just need to get the record type of one specific case object. the one the user was on when the component launched.  This should be easy as the code is going to be placed inside my controller as a getRecordType method.