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
AdiiAdii 

Create a junction object named ‘Job Application’ between two objects named ‘Position’ and ‘Candidate’.The position and candidate has many to many relationships which will be established due to the junction object. Create a status field of type picklist on

 on both position and candidate. If the status on a candidate record is updated to ‘Approved’, the status field on position should be updated to ‘Approved’ only if status on all related candidates have been updated to ‘Approved’.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Atul,

I think one possibility is to use a trigger so as to check and then update the values according to your conditions.

Does the above way help let me know!

Regards,
Anutej
AdiiAdii
Thank you for the update... if u can write code for this trigger then it will be more benifical for me so plzz help me out this problem....