+ Start a Discussion
Mary Ardelyn NabongMary Ardelyn Nabong 

Programmatically how to determin if workflow is on or off

Hi,

Is there a way to determine either by metadata, table or fields if workflow is on or off meaning activated or not?

Thanks,
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Use metadata api to query WorkflowRule object.
Anupama SamantroyAnupama Samantroy
The workflow rule object does not have a property to tell if the workflow is active.