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
S SaiS Sai 

how to create approval history

HI 
how to create approval history manual 


thanks
SS 
 
ManojjenaManojjena
Hi SS,
What exactly you want  ?Can you explain bit more ,so that we can help you .
S SaiS Sai
HI Manoj,
For example we Have One Object Like Approval ok . In that Object field are avilable like name, Approval_Status
User-added image
When maner Approve the User in that time show Here history of the approval
thanks 
SS
S SaiS Sai
Hi Manoj 
when approve the manager create to approval history through code User-added image
like red mark 

thanks 
SS
ManojjenaManojjena
Hi SS,
Create an inline VF page for your object and add in teh detailpage just above the related list .You will see just like same approval history related list .
 
<apex:page StandardController="Your Object Name" showHeader="false">
    <apex:relatedList list="ProcessSteps"/>
</apex:page>

Thanks
Manoj
S SaiS Sai
HI manoj,
No need to create visualforce . i need to create through developer console with existing useid 
thanks 
SS
ManojjenaManojjena
Hi SS,

Just create a VF page with above code replcae Your Object Name with your Object Api name .Go to your page layout edit that .Pull a section to thend of teh detail page just above teh related list .Select as one colum radio button and rename teh level as approval History .
After that Select   Viual force page and pull the custom page created by you  and save .

Now you wil see the related list same as standard .

Let me know if it helps !!
Thanks
Manoj