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

Error adding a relatedList: ProcessInstances is not a valid child relationship name...
Hello. I am trying to add a related list (Approval Processes) to a VF page.
I can run the following SOQL:
Select o.Name, o.Id, (Select Id, Status From ProcessInstances) From Order_vod__c o
And I can add a different related list to the page via apex:relatedList.
But if I do apex:relatedList list="ProcessInstances", i get the standard "... is not a valid child relationship ..." error.
Any idea what I'm doing wrong?
thanks for your time.
chris
I can run the following SOQL:
Select o.Name, o.Id, (Select Id, Status From ProcessInstances) From Order_vod__c o
And I can add a different related list to the page via apex:relatedList.
But if I do apex:relatedList list="ProcessInstances", i get the standard "... is not a valid child relationship ..." error.
Any idea what I'm doing wrong?
thanks for your time.
chris
All Answers