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
Tómas GuðmundssonTómas Guðmundsson 

Using Basic Logic in Checkbox Formulas Broken

I have tried so many variations, both before and after I saw this thread: Using Basic Logic in Checkbox Formulas (https://developer.salesforce.com/forums/?id=906F0000000MIOYIA4)

After testing it out myself I can:
  • Create an opportunity without a close date and stage is not closed
  • Create an opportunity with a close date and stage is not closed
    • Whenever
  • Create an opportunity with a close date and stage is closed
    • Only in the future
This is the formula I have settled on:
AND(NOT(IsClosed), CloseDate < TODAY())
Please, someone tell me I am doing this wrong, and then how I should do it correctly, or that someone can fix this Hands-On Challenge: https://trailhead.salesforce.com/en/content/learn/modules/advanced_formulas/checkbox_logic_formulas
Best Answer chosen by Tómas Guðmundsson
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.

Trailhead Help (https://trailhead.salesforce.com/en/help?support=home)

can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.Hope above information helps. 

Please mark as Best Answer so that it can help others in future.

Thanks
 

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.

Trailhead Help (https://trailhead.salesforce.com/en/help?support=home)

can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.Hope above information helps. 

Please mark as Best Answer so that it can help others in future.

Thanks
 
This was selected as the best answer
Tómas GuðmundssonTómas Guðmundsson
Thank you.