You need to sign in to do that
Don't have an account?
Saravanan @Creation
Checking object has approval process
Hi All,
I have object called MyCustom__c object. In my controller I want to check whether this object has any approval proceess?
If its possible please help me to achieve this.
Thanks,
Saravanan.
I have object called MyCustom__c object. In my controller I want to check whether this object has any approval proceess?
If its possible please help me to achieve this.
Thanks,
Saravanan.
All Answers
If your MyCustom__c object Id is availabel in TargetObjectId it means there is a approvale process related to your custom object.
Please see detail document here.
Process Instance (https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_processinstance.htm)
I want to check only is there any approval process specified for the object not that record.
Thanks,