When rule using Future test fails when invalid date
All, I have a When rule executing a test of a date field for a null condition and whether the date entered is a future date using the "Date is in the future" condition. If an invalid date (like a String) is passed into the When rule the function fails rather non-elegantly. Should there be an enhancement to the function used in the "Date is in the future" condition (I believe it uses CompareDates under the covers) to test for an invalid date? Would this be considered a product defect and should I be raising an SR to address? Is this function working as designed and this is not an oversight but rather a design case with reusability in mind? Is the best practice to test first for the condition using IsValidDate first? What are some best practice patterns around this date evaluation and where else in the OOTB solution have you used them?
***Edited by Moderator Marissa to update categories***