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

i want to filter related records
i have Postion and candidate object in my application candidate having status picklistfiled values are
selected,Rejacted. i want to filter the selected records and rejected records for the position for that
record pagelayout how ito achieve this help me
selected,Rejacted. i want to filter the selected records and rejected records for the position for that
record pagelayout how ito achieve this help me
If you want to achieve this with triggers let me know.
Thanks for reply. but i want the solution for position object when even i selected position record in position object in related list i want fiter the selected and rejected records
Kindly refer to this link :
http://sfdcsrini.blogspot.com/2014/05/how-to-create-visualforce-related-list.html
In the query of each controller, specify the WHERE CLAUSE of the query, so in the first controller it will be "Where status__c = 'Selected'", and in the second controller "Where status__c = 'Rejected'".
If you find that this answer solves your problem, please mark it as Best Answer.
Thank you
You need to follow the following steps if you want to have such related lists.
1. Create two lookup fields on your job application object linked to the position object, and name them as Accepted job application and Rejected job application. There is no need to show them on the page layout.
2. You'll probably have the status picklist field on your job application object which have the values hired and rejected.
3. Now you need to go to the process builder and create a process which will do the rest of the magic.
I'm attaching the screen shots so that you can visualize what's going on, I hope this will make sense to you.
1.
2.
3.
4.
Now to test the related list functionality just update the status picklist of each position and you can see that job applications will be updated into the relvant related lists on the position object.