+ Start a Discussion
tanmayeetanmayee 

how to get the count of workflow rules in an organization

does anyone know how to get the count of workflow rules in an organization.

 

thanks in advance.

sfdcfoxsfdcfox
There is no easy way to get a total count of workflow rules in the organization. You can create a list view for all workflow rules, then page through the list until you reach the end. The total count would then be # of pages * page size + final page size.
Vinay K 39Vinay K 39
There is no way that you get the org directly, but you can pull the count using workbench.
 using REST explorer with Get(),
 /services/data/v45.0/tooling/query/?q=Select+Id+From+WorkflowRule