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
Lakshmi SLakshmi S 

Update Account status from Opportunity based on Contract Expiration Date?

Hi Team,
Requirement: Update Account status from Opportunity based on Contract Expiration Date.
1. Contract expiration date >Today - need to update Status=Active.
2. Suppose we have 10 opportunities to an Account, If any one of the opportunity contract expiration date > Today, need to update Account Status=Active else Expired.
Please advise how can we achieve this requirement?

Thanks,
Lakshmi S.
Khushmeet KaurKhushmeet Kaur
Hi Lakshmi S,
You can try to update the field via process builder if this doesn't work a trigger on the Contract will work.

Please let me know if you need any further help.
Thanks