function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
harikaharika 

Retrieve all the opportunities submitted for Approval process

Hi, is there a way to retrieve all the opportunities which are submitted for Approval process either way through Apex Code or UI , wanted a report of it.
SimbaSimba
Have figured out a way to do report on the Approval Process for Opportunity ?
harikaharika

Hi , i did it by the following approach

 

created a field on the opportunity record.

 

updated the field in the wokflow

 

pulled the report using this field.

 

             

SimbaSimba

Thanks Harika, for the tip.

 

We will be taking similar approach as well, just in our case we may have to create a related object on opportunity, so that we can track the whole process flow. May be update that using in the trigger.

 

 

Thanks again