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
Kayla Even 8Kayla Even 8 

First Year Term end date

When we write contracts and have that information in Salesforce, we are trying to figure out a way to automate based on the contract start date and contract end date, how to populate the First Year Term end date. So if a contract is from 7/30/2021 to 6/29/20204, we want to populate in teh First Year Term End Date 6/28/2022. 
PriyaPriya (Salesforce Developers) 

Hi Kayla,

You can use Process Builder  or Workflow to update the field 'First Year Term end date' based on certain condition. 

https://www.youtube.com/watch?v=7zWUMNTWsXk

Note:- You can define the logic based on your requirement

Regards,

Priya Ranjan

Kayla Even 8Kayla Even 8
Thanks, I am familiar with workflows, I just cant in this scenario figure out how the system would know what the last day of the first segment year is and I can't think of the correct logic that would calculate it. The date will always be different so not just a set +X amount of days.