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

Need help to find Workflow Rules and Workflow Action on a particular Object

Hii everybody ,


I am having a requirement to bring the list of Workflow rules and its actions defined on a particular Object into controller .But i was not found any object which saves the workflow rules.Can you share your ideas ,how to achieve my requirement.


Thanx in advance ..


Workflow rules and actions are part of the metadata API which isn't supported by Apex.


There is a library from financial force that allows you to consume this API via Apex at:


but bear in mind this is not supported by Salesforce so if you hit problems you will be on your own and there's no guarantee that future changes won't break things.