I want to use record Type to limit trigger action.
Now I use querey to get it my code liks below
string Id = [SELECT id from RecordType where Name ='Someone'].Id;
I also found this page, we could use method to get the Record Type Id to avoid the query.
I still can't understand it.
Is there some simple and easy wayt to get the ID only by Record Type's Name?