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
BGrimesBGrimes 

Are workflow rules queryable via API?

I can't find anything that says yes or no, but then again I can't find anything that lets me pull as well.  I have some requirements where using standard workflow rules as the Business Rules Engine would make life 100 times easier and the code insanely flexible....but all of this hinges on being able to pull workflow rules and then figure out a way to make sense of them.  Am I out of luck?

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
dkadordkador

Workflow is exposed via the metadata API, not the data API.

All Answers

dkadordkador

Workflow is exposed via the metadata API, not the data API.

This was selected as the best answer
BGrimesBGrimes

Thanks, I totally forgot about the Metadata API.