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

Sample SOQL:

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

Cheers!!!

No comments:

Post a Comment