I have a custom object with an approval process, how can I get the approval related list on the page of that custom object.

  • You can ask these types of question in Salesforce official discussion forum. – Jitendra Zaa Sep 6 '12 at 10:55
  • 4
    @JitendraZaa This kind question is perfectly acceptable to be asked here, The Salesforce Stackexchange isn't only for Apex related queries – Jon Hazan Sep 6 '12 at 11:03
  • 3
    I agree.. this question is acceptable.. These type of questions were really the reason for us to start a stackexchange site as these would flagged off in SO. – Prady Sep 6 '12 at 11:43

If you will navigate to "Edit Pagelayout" in "Related List" there is option to import "Approval History".

For adding the "Approval History" related list in VF page, you can try this :

<apex:relatedList list="ProcessSteps" ></apex:relatedList>

Please go through this URL : http://boards.developerforce.com/t5/Visualforce-Development/How-to-Display-quot-Approval-History-quot-as-the-only-Related/td-p/103438

  • That is correct !! But what if i have a visualforce page, standard controller, custom controller – Roshan Sep 6 '12 at 13:38
  • <apex:RelatedList> tag is not working for me – Roshan Sep 6 '12 at 13:45
  • Roshan, Please find updated Answer – Jitendra Zaa Sep 6 '12 at 14:09
  • @JitendraZaa Will this remove the unwanted text (pending for first approval which makes sense for only parallel approver) from the approval history as well ? – Jarvis Jan 21 '16 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.