If someone sets their TargetDate to less than 24 hours it grays out the button. This works great for weekdays.
However, if someone submits on Friday at 4PM for a Monday 8 AM target date, you really only get 3 hours to get through the approval process (7am-6pm HOP) but the system sees it's past Saturday at 4PM and does not gray the button. This is causing confusion with our end users who don't stop to think about the fact they really are only allowing a few hours. And then have a fit when they miss getting their approvals in time.
All of the HOP functions in Heat error out saying you can't use them for "disabled expressions" as I attempted to just say :
How about adding a target release date field (AC_Datetest below) which is set by your quick action using the HOPCalcTargetDate formula then test $(AC_Datetest > CurrentDateTime()) for your QA disable button.