I have search online and could not find any resource that talks about how to get metadata for Approval Process
I know that the approval process stores in the ProcessDefinition object but what I'm trying to find is the
Entry Criteria that user have selected for the Approval Process how do I get this information in metadata api (workbench)
Here is the screen shot for ref:
I'm trying to execute the following rest explorer in Workbench and getting this error, what I'm doing wrong here?
INVALID_TYPE message: sObject type 'ProcessDefinition' is not supported. errorCode: INVALID_TYPE