my requirement is to query if there are any active processes (process builder) for a particular object , but i am unable to see a way to do this.
I have used sobjects like ProcessDefinition,ProcessInstance but doesnt seem to be giving right info.
ProcessDefinition is not retrieving all the processes existing in the system not sure why.
any help on this ?