I have a flow that is induced by clicking a button. The record a user is on when they click the button has a date field titled "Lock Date" . I want to make it so if it is 7 days after the Lock Date has passed, the user gets a message in the flow that says "Sorry , xxxxxxx" . But if they click on the button anytime before then, the flow goes through all the steps I currently have outlined.
Claudia - you could setup a boolean formula in your flow comparing today's date with the Lock Date. This formula would return True if the Lock Date is more than 7 days in the past:
TODAY() - 7 > Lock_Date__c
Then you could use a decision element with an outcome for each scenario. One decision for if the formula evaluates to True (greater than 7 days ago) and one decision for if the formula evaluates to False (less than 7 days ago). You could then have a Screen element off of the True decision letting your users know it has been greater than 7 days since the Lock Date.