How to query all Validation Rules with object names in Salesforce?

SELECT ValidationName, Active, EntityDefinition.DeveloperName FROM ValidationRule

For more fields, check the below link

https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_validationrule.htm

Leave a Comment

Your email address will not be published. Required fields are marked *

Select Language »