Salesforce Fact #648 | ApexTypeImplementor object

With the Spring'23 release, now we can get the list of all classes which implement a particular interface with the help of ApexTypeImplementor  object.

For example, if we need to find out the apex classes which implement the Database.Batchable interface we can use the below SOQL:

SELECT Id, ApexClass.Name FROM ApexTypeImplementor WHERE InterfaceName = 'Batchable'

For more details check out: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_apextypeimplementor.htm

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow