Overview
This article offers an M-Files workflow postcondition solution for checking that a selected date is not in the future.
Solution
I've included a simple workflow below to illustrate the postcondition. The idea is to prevent moving away from the 'Set review date' state if the 'Review date' property is not in the future.
A simple postcondition can be used to check the date when the object is leaving the state.
So, basically, the count of days to the date specified in the property has to be over 1 or more. If this condition is not met, an error will be thrown when moving away from this state:
