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
Vida YirenkyiVida Yirenkyi 

Validation rule challenge not completed though working in my org

Hi Trailhead, for https://trailhead.salesforce.com/modules/advanced_formulas/units/picklist_formulas, my validation rule is working for both when the Priority is set to High or Medium in my org and yet the challenge checker is marking it as Not yet completed when Priority set to Medium
Best Answer chosen by Vida Yirenkyi
Rahul.MishraRahul.Mishra
Hi Vida,

The correct validation rule should be:
AND(
IsEscalated = True,
NOT(ISPICKVAL(Priority, "High")),
IsClosed  = True)

But it does not work, if you remove condition "IsClosed  = True" from above formaula, then it works for trailhead challanges, certainly mistakes in quiz because they asked  addiationaly it sould be cloased as well.

All Answers

Rahul.MishraRahul.Mishra
Hi Vida,

The correct validation rule should be:
AND(
IsEscalated = True,
NOT(ISPICKVAL(Priority, "High")),
IsClosed  = True)

But it does not work, if you remove condition "IsClosed  = True" from above formaula, then it works for trailhead challanges, certainly mistakes in quiz because they asked  addiationaly it sould be cloased as well.
This was selected as the best answer
Vida YirenkyiVida Yirenkyi
Hi Rahul,
Thanks for your help. there is something wrong with the checking system because the rule is working though the checker can't get it. Frustrating.