Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
5 years, 11 months ago
I need a workflow rule that will check a checkbox field called "Store Warranty" when the purchased date is less 7 days when compared to today's date. Example: If the customer bought a product 5 days ago, the checkbox will be checked, but the checkbox should be unchecked if the purchased date is bigger than 8 days when compared to today's date.
Jun 13, 2017 at 15:05
Try This one:
Create a New formula field with data type checkbox.
IF(purchased_date__c < Today()-7,False,True)
Jun 13, 2017 at 16:09
log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only