You need to sign in to do that
Don't have an account?
Pankaj P
Can we fetch Initial Submitters for an Approval process in Apex code?
I am struggling to find a way to check if my current logged in user is present in Intial Submitters list in an approval process for object xyz so that on my custom visual force page (which allows to submit the records for approval) I can hide the Submit for approval button and show a friendly message to user that they cannot submit.
Salesforce shows quite ugly message :
I got to know that ProcessDefinition (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_processdefinition.htm?search_text=approval) id the object that holds information about individual approval process but does not contain initial submitters or more information.
Is that possible to fetch in Apex code? any other way?
Much appreciate your time and any of your inputs on this :)
Salesforce shows quite ugly message :
I got to know that ProcessDefinition (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_processdefinition.htm?search_text=approval) id the object that holds information about individual approval process but does not contain initial submitters or more information.
Is that possible to fetch in Apex code? any other way?
Much appreciate your time and any of your inputs on this :)