Get Current Approver using Salesforce Apex

ProcessInstance object/entity contains the current pending Approval Step. TargetObjectId can be used to get the Approval Step for the record. Using the ProcessInstance, we can query the ProcessInstanceWorkitem object/entity to get the current or next approver on which the record is waiting to complete the Approval Process in Salesforce. Sample Apex Code: Apex trigger will … Continue reading Get Current Approver using Salesforce Apex