Question
N/A
N/A
US
N/A
Posted: Nov 13, 2025
Last activity: Nov 29, 2025
Last activity: 29 Nov 2025 19:12 EST
VAlidation Assistance
I have been trying to complete Data and Integration essentials final mission exercise for over a week now. US-2001 has you check is the expiration date entered is in the future. No matter what I try I always get the error "When is not configured properly". I have read over the material given for validations and can't figure out what I'm doing wrong. Please help.
@NickJ17571287
You don’t need a special or complex When rule for this mission; instead, create a Validate rule on the class where the expiration date property lives. In that Validate rule, add one row, set the field to your expiration date property, set the condition to “is less than or equal to,” and set the value to today’s date using the function (for example @DateTime.today()). Add a simple error message like “Expiration date must be in the future” on that row. Then open the view where you enter the expiration date, go to the field’s Validation settings, and select “Use validate” and point it to your new Validate rule. Make sure the expiration date property is actually of type Date/DateTime and not Text. Remove any empty or half-configured When rows in the validation, because those cause the “When is not configured properly” error. Save everything, run the case again, and you should now see the error only when you enter a past date and no error when you enter a future date, which completes US-2001.