You need to sign in to do that
Don't have an account?

'ActivityHistories' is not a valid child relationship name for entity Case
I am trying to pull up the Approval History related list for the Case object but I get the following error:
"'ActivityHistories' is not a valid child relationship name for entity Case"
Code:
public Case getCase() { thisCase = [select Id, Last_Name__c, First_Name__c, Middle_Initial__c, Cost_Center_Code__c, Employee_Position_Title__c,Employment_Category__c, Expected_Arrival_Date__c from Case where Id = :caseId];
return thisCase; }
I tried using {!Case} as well as {!Case.Id} for the subject attribute and none of those options work
Code:
<apex:relatedList list="ActivityHistories" subject="{!Case.Id}"/>
Message Edited by AnchalGoel on 11-25-2008 12:20 PM
Hi Aanchal,
The correct name of the related List is: "ProcessSteps"
Code: <apex:relatedList list="ProcessSteps" subject="{!Case.Id}"/>