Validating that a date is greater than now in UI Rule
I would like to have a UI rule validate a custom date field. I want he condition to be if the Date is equal to or less than now then I want to fire the UI rule. I want to prevent someone putting a date in the past in this custom date field. However the UI rules only allow an actual day or a field. You can't select a function like current date.
Re: Validating that a date is greater than now in UI Rule
Thanks heaps. That worked.
I had to create 2 rules.
First rule set to fire before the WorkOrder is saved - and set a custom date field I called "Current Date for Validation".
Second (subsequent rule) used the Date value in the custom field to compare and provide an error.
It is a pity functions are not directly available for this. This was important because I have a business rule that (if a "Re-open" flag is set) schedules the work order to re-open using the date - so the date needs to be in the future! I now have a recurring work order process for regular (daily, weekly, monthly or quarterly) maintenance tasks.