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
PrachiPrachi 

Query Validation Rules, Workflow in Apex

Hi,

 

Is there any way through which I can query/fetch validation rules and workflows related to an object in my apex class.

Thanks in Advance

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

Unfortunately not - this information is available through the metadata api, but you can't access that through apex.

All Answers

bob_buzzardbob_buzzard

Unfortunately not - this information is available through the metadata api, but you can't access that through apex.

This was selected as the best answer
PrachiPrachi

Thankyou..!!